summaryrefslogtreecommitdiffstats
path: root/rrdtool-config-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'rrdtool-config-html.lsp')
-rw-r--r--rrdtool-config-html.lsp10
1 files changed, 6 insertions, 4 deletions
diff --git a/rrdtool-config-html.lsp b/rrdtool-config-html.lsp
index fa879a1..a1e0210 100644
--- a/rrdtool-config-html.lsp
+++ b/rrdtool-config-html.lsp
@@ -5,9 +5,11 @@ htmlviewfunctions = require("htmlviewfunctions")
<% htmlviewfunctions.displaycommandresults({"install","editgraphcfg"}, session) %>
<% htmlviewfunctions.displaycommandresults({"delete", "rrdinfo"}, session) %>
-<h1>Configure</h1>
-
-<% if viewlibrary and viewlibrary.dispatch_component then
+<%
+local header_level = htmlviewfunctions.displaysectionstart(cfe({label="Configure"}), page_info)
+if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("listrrd")
viewlibrary.dispatch_component("listgraphcfg")
-end %>
+end
+htmlviewfunctions.displaysectionend(header_level)
+%>