3 <script type=
"text/javascript" src=
"{{STATIC_URL}}/js/jquery.tablesorter.min.js"></script>
4 <script type=
"text/javascript">
6 $("#nodes .ram, #nodes .disk").progressBar(PBAR_CONF
);
7 $("#nodes .sorted").tablesorter();
11 <table id=
"nodes" class=
"sorted">
14 <th class=
"status"></th>
15 <th>{% trans
"Name" %}
</th>
16 <th>{% trans
"Memory Allocated [GiB]" %}
</th>
17 <th>{% trans
"Disk Allocated [GiB]" %}
</th>
18 <th title=
"{% trans "CPUs (Allocated/Physical)
" %}">{% trans
"CPUs (A/P)" %}
</th>
19 <th title=
"{% trans "Instances (Primary/Secondary)
"%}">{% trans
"Instances (P/S)" %}
</th>
23 {% for node in nodes %}
26 {% if node.info.offline %}
27 <div class=
"icon_stopped" title=
"Offline"></div>
29 <div class=
"icon_running" title=
"Online"></div>
33 <a href=
"{% url node-detail cluster.slug node.hostname %}">
34 {{ node.hostname|abbreviate_fqdn }}
37 <td class=
"ram">{% node_memory node %}
</td>
38 <td class=
"disk">{% node_disk node %}
</td>
39 <td>{{ cpus|index:node.id }} / {{ node.cpus }}
</td>
40 <td>{{ node.info.pinst_cnt }} / {{ node.info.sinst_cnt }}
</td>