summaryrefslogtreecommitdiffstats
path: root/openvpn-statusinfo-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn-statusinfo-html.lsp')
-rw-r--r--openvpn-statusinfo-html.lsp6
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) %>