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