diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-03-08 23:49:47 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-03-08 23:49:47 +0000 |
commit | 4c0e9b17d5bbcfb7e7a704c6a57af2cfe327c308 (patch) | |
tree | e7cc751f7ec4e48c12d2d3aa2c7beb062f9b66cd /health-networkstats-html.lsp | |
parent | cecb1d586d237c74cd9ef6d05e305726a3072ad0 (diff) | |
download | acf-alpine-baselayout-4c0e9b17d5bbcfb7e7a704c6a57af2cfe327c308.tar.bz2 acf-alpine-baselayout-4c0e9b17d5bbcfb7e7a704c6a57af2cfe327c308.tar.xz |
Modified HTML views to use new htmlviewfunctions functions and replace links with forms created by displayitem
Use htmlviewfunctions.displayheader .incrementheader .displayitemstart/middle/end
Diffstat (limited to 'health-networkstats-html.lsp')
-rw-r--r-- | health-networkstats-html.lsp | 14 |
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;"> |