diff options
Diffstat (limited to 'syslog-config-html.lsp')
-rw-r--r-- | syslog-config-html.lsp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/syslog-config-html.lsp b/syslog-config-html.lsp index 2e86661..f89af21 100644 --- a/syslog-config-html.lsp +++ b/syslog-config-html.lsp @@ -5,25 +5,25 @@ viewlibrary.dispatch_component("status") end %> -<h1>Configuration</h1> -<h2>Advanced Configuration</h2> -<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %> -<% htmlviewfunctions.displayformstart(form) %> -<h3>General</h3> -<% +<% +local header_level = htmlviewfunctions.displayheader(form, page_info) +header_level = htmlviewfunctions.incrementheader(header_level) + +htmlviewfunctions.displayheader(cfe({label="Advanced Configuration"}), page_info, header_level) +header_level = htmlviewfunctions.incrementheader(header_level) + +form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action +htmlviewfunctions.displayformstart(form) +htmlviewfunctions.displayheader(cfe({label="General"}), page_info, header_level) htmlviewfunctions.displayformitem(form.value.logfile, "logfile") htmlviewfunctions.displayformitem(form.value.loglevel, "loglevel") htmlviewfunctions.displayformitem(form.value.smallerlogs, "smallerlogs") -%> -<h3>Log Rotate</h3> -<% +htmlviewfunctions.displayheader(cfe({label="Log Rotate"}), page_info, header_level) htmlviewfunctions.displayformitem(form.value.maxsize, "maxsize") htmlviewfunctions.displayformitem(form.value.numrotate, "numrotate") -%> -<h3>Remote Logging</h3> -<% +htmlviewfunctions.displayheader(cfe({label="Remote Logging"}), page_info, header_level) htmlviewfunctions.displayformitem(form.value.localandnetworklog, "localandnetworklog") htmlviewfunctions.displayformitem(form.value.remotelogging, "remotelogging") +htmlviewfunctions.displayheader(cfe({label="Save and Apply Above Settings"}), page_info, header_level) +htmlviewfunctions.displayformend(form) %> -<h2>Save and Apply Above Settings</h2> -<% htmlviewfunctions.displayformend(form) %> |