#524 - Added power utilization graphs to power feeds, devices, and racks

This commit is contained in:
John Anderson
2019-06-16 06:11:32 -04:00
parent 35fb3f599c
commit 4d14cd2401
7 changed files with 102 additions and 8 deletions

View File

@@ -207,6 +207,7 @@
<th>Feed</th>
<th>Status</th>
<th>Type</th>
<th>Utilization</th>
</tr>
{% for powerfeed in power_feeds %}
<tr>
@@ -222,6 +223,7 @@
<td>
<span class="label label-{{ powerfeed.get_type_class }}">{{ powerfeed.get_type_display }}</span>
</td>
<td>{% utilization_graph powerfeed.get_power_stats.0.allocated_utilization %}</td>
</tr>
{% endfor %}
</table>