|
|
@ -12,7 +12,6 @@
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<tr><td>{% trans 'Location' %}</td>
|
|
|
|
<tr><td>{% trans 'Location' %}</td>
|
|
|
|
<td>{% trans 'Hostname' %}</td>
|
|
|
|
<td>{% trans 'Hostname' %}</td>
|
|
|
|
<td>{% trans 'Servers' %}</td>
|
|
|
|
|
|
|
|
<td>{% trans 'Load' %}</td>
|
|
|
|
<td>{% trans 'Load' %}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
@ -22,11 +21,15 @@
|
|
|
|
<td class="left host_line">
|
|
|
|
<td class="left host_line">
|
|
|
|
<span class="host_name">{{ d.hostname }}</span>
|
|
|
|
<span class="host_name">{{ d.hostname }}</span>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="right">{{ d.servers|length }}</td>
|
|
|
|
|
|
|
|
<td class="right">
|
|
|
|
<td class="right">
|
|
|
|
{{ d.load_percent|floatformat:1 }}%
|
|
|
|
<span class="bandwidth">
|
|
|
|
|
|
|
|
<span class="inner {% if d.load_percent > 75 %}high{% endif %}" style="width: {{d.load_percent}}%"></span>
|
|
|
|
|
|
|
|
<span class="label">
|
|
|
|
|
|
|
|
{{ d.load_percent }}%
|
|
|
|
of
|
|
|
|
of
|
|
|
|
{{ d.bandwidth|bwformat }}
|
|
|
|
{{ d.bandwidth|bwformat }}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|