node-list.html 1.27 KB
Newer Older
1
{% extends "dashboard/base.html" %}
2
{% load staticfiles %}
3 4
{% load i18n %}
{% load render_table from django_tables2 %}
5 6 7

{% block title-page %}{% trans "Nodes" %}{% endblock %}

8 9 10 11 12 13
{% block content %}

<div class="row">
  <div class="col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading">
14
        <h3 class="no-margin"><i class="fa fa-sitemap"></i> {% trans "Compute nodes" %}</h3>
15
      </div>
16
      <div id="table_container">
17
        <div id="rendered_table" class="panel-body">
18 19 20
          <div class="table-responsive">
            {% render_table table %}
          </div>
21
        </div>
22 23 24 25
      </div>
    </div>
  </div>
</div>
26

Bach Dániel committed
27 28 29 30
<div class="row">
  <div class="col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading">
31 32
        <div class="pull-right graph-buttons">
          {% include "dashboard/_graph-time-buttons.html" %}
33
        </div>
Bach Dániel committed
34 35
        <h3 class="no-margin"><i class="fa fa-area-chart"></i> {% trans "Graphs" %}</h3>
      </div>
36
      <div class="text-center graph-images">
37 38
        <img src="{% url "dashboard.views.node-list-graph" "alloc" graph_time %}"/>
        <img src="{% url "dashboard.views.node-list-graph" "vm" graph_time %}"/>
39
      </div>
Bach Dániel committed
40
    </div>
41 42
  </div><!-- -col-md-12 -->
</div><!-- .row -->
43 44

{% endblock %}