From a9168ab7089d89c965696c139d6dc27e653e775c Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 17 Apr 2014 00:27:57 +0000 Subject: Started changes to use new htmlviewfunctions functions --- rrdtool-config-html.lsp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'rrdtool-config-html.lsp') 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) %> -

Configure

- -<% 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) +%> -- cgit v1.2.3