diff options
Diffstat (limited to 'modules-status-html.lsp')
-rw-r--r-- | modules-status-html.lsp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules-status-html.lsp b/modules-status-html.lsp index d817df5..e70dee1 100644 --- a/modules-status-html.lsp +++ b/modules-status-html.lsp @@ -1,7 +1,9 @@ -<% local view = ... %> +<% local view, viewlibrary, page_info, session = ... %> +<% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> -<h1>Modules</h1> - -<h2>Installed modules</h2> +<% +local header_level = htmlviewfunctions.displayheader(cfe({label="Modules"}), page_info) +htmlviewfunctions.displayheader(cfe({label="Installed modules"}), page_info, htmlviewfunctions.incrementheader(header_level)) +%> <pre><%= html.html_escape(view.value) %></pre> |