node-list.html 1.21 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-desktop"></i> {% trans "Compute nodes" %}</h3>
15
      </div>
16
      <div id="table_container">
17
        <div id="rendered_table" class="panel-body">
18
          {% render_table table %}
19
        </div>
20 21 22 23
      </div>
    </div>
  </div>
</div>
24

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

{% endblock %}