]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - www/templates/modules/stasy-table.html
Big update of the fireinfo service.
[people/shoehn/ipfire.org.git] / www / templates / modules / stasy-table.html
index 267179a09ceacd41a3d0936a33ec5b9c94f965df..0c1353ed68d5727b08cd4b4bee12bfb8aa2eee71 100644 (file)
@@ -1,8 +1,10 @@
-<table>
+<table class="stats">
        {% for k, v in items %}
                <tr>
-                       <td>{{ k }}</td>
-                       <td>{{ "%.2f" % v }}%</td>
+                       <td class="key">{{ k }}</td>
+                       <td class="bar"><p style="{{ "width: %.2f%%" % v }}">&nbsp;</p></td>
+                       <td class="value">{{ "%.2f" % v }}%</td>
                </tr>
        {% end %}
 </table>
+<br class="clear" />