summaryrefslogtreecommitdiffstats
path: root/modules-status-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-03-04 02:41:32 +0000
committerTed Trask <ttrask01@yahoo.com>2014-03-04 02:41:32 +0000
commitf9780f645bc94f2f79fc4e266e671d15232d4b9d (patch)
treeba25e6d23f9a89891d4a01c5d1ffe4c59718c914 /modules-status-html.lsp
parentb0f4fadb7b62297b6dbd574b2a7d8eee0f990eb4 (diff)
downloadacf-alpine-baselayout-f9780f645bc94f2f79fc4e266e671d15232d4b9d.tar.bz2
acf-alpine-baselayout-f9780f645bc94f2f79fc4e266e671d15232d4b9d.tar.xz
Change HTML views to use htmlviewfunctions.displayheader
Modified some models to change labels
Diffstat (limited to 'modules-status-html.lsp')
-rw-r--r--modules-status-html.lsp10
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>