blob: 76136378f53d9ac1ce7249b22b9bca2a84b89880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{% load i18n %}
{% load chart_helpers %}
<h4>
{% trans 'Top 5 Nodes' %} ({{ top_5.label }}):
</h4>
{% if top_5.data %}
<table width="100%">
{% for d in top_5.data %}
<tr>
<td>
<a href="{% url 'horizon:infrastructure:nodes:detail' d.node_uuid %}">
{{ d.node_uuid|truncatechars:6 }}
</a>
</td>
<td>
{{ d.value}} {{ top_5.unit }}
</td>
<td>
{%if d.direction %}
<i class="fa fa-arrow-{{d.direction}}"></i>
{% endif %}
</td>
</tr>
{% endfor %}
</table>
{% else %}
{% trans 'No data available.' %}
{% endif %}
|