summaryrefslogtreecommitdiffstats
path: root/health-networkstats-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'health-networkstats-html.lsp')
-rw-r--r--health-networkstats-html.lsp14
1 files changed, 8 insertions, 6 deletions
diff --git a/health-networkstats-html.lsp b/health-networkstats-html.lsp
index e6a5d3a..d04163a 100644
--- a/health-networkstats-html.lsp
+++ b/health-networkstats-html.lsp
@@ -146,8 +146,9 @@
<p>Network traffic in bytes/second</p>
<div id="chart" style="width:680px; height:300px;"></div>
-<div class='item'><p class='left'>Display Options</p>
-<div class='right'>
+<% htmlviewfunctions.displayitemstart() %>
+Display Options
+<% htmlviewfunctions.displayitemmiddle() %>
<table class="tablesorter"><thead>
<tr><th>Interface</th><th>IP Address</th><th colspan="2">RX</th><th colspan="2">TX</th></tr>
</thead><tbody>
@@ -159,13 +160,14 @@
<td><div style="width:14px;height:10px;border:1px solid #ccc;padding:1px"><div style="width:14px;height:10px;background-color:<%= rgb[i][2] %>;overflow:hidden"></div></div></td></tr>
<% end %>
</tbody></table>
-</div></div><!-- end .item -->
+<% htmlviewfunctions.displayitemend() %>
-<div class='item'><p class='left'>Start / Stop</p>
-<div class='right'>
+<% htmlviewfunctions.displayitemstart() %>
+Start / Stop
+<% htmlviewfunctions.displayitemmiddle() %>
<input class="submit" type="button" id="Start" value="Start">
<input class="submit" type="button" id="Stop" value="Stop">
-</div></div><!-- end .item -->
+<% htmlviewfunctions.displayitemend() %>
<% --[[ -- display table of colors %>
<table style="width:auto;">