diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-12 04:14:24 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-12 04:14:24 +0000 |
commit | 740a6df21aaf7df06fc25ebabc9457baf800443c (patch) | |
tree | 2441918cfaa618b0443bf97293a2146c8f9048cc /openvpn-statusinfo-html.lsp | |
parent | 07f78a295b50630bdc0b6981e6a72c32e3f49185 (diff) | |
download | acf-openvpn-740a6df21aaf7df06fc25ebabc9457baf800443c.tar.bz2 acf-openvpn-740a6df21aaf7df06fc25ebabc9457baf800443c.tar.xz |
Changes to use new htmlviewfunctions functions
Diffstat (limited to 'openvpn-statusinfo-html.lsp')
-rw-r--r-- | openvpn-statusinfo-html.lsp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openvpn-statusinfo-html.lsp b/openvpn-statusinfo-html.lsp index ba9881e..68e7b1e 100644 --- a/openvpn-statusinfo-html.lsp +++ b/openvpn-statusinfo-html.lsp @@ -23,8 +23,8 @@ <% viewlibrary.dispatch_component("viewconfig") %> -<h1>Status</h1> -<h2>Connected clients</h2> +<% local header_level = htmlviewfunctions.displaysectionstart(cfe({label="Status"}), page_info) %> +<% local header_level2 = htmlviewfunctions.displaysectionstart(cfe({label="Connected clients"}), page_info, htmlviewfunctions.incrementheader(header_level)) %> <table id="list" class="tablesorter"><thead> <tr> <th>Common Name<br/>Connected at</th> @@ -48,3 +48,5 @@ <% end %> </tbody></table> +<% htmlviewfunctions.displaysectionend(header_level2) %> +<% htmlviewfunctions.displaysectionend(header_level) %> |