summaryrefslogtreecommitdiffstats
path: root/app/debug-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'app/debug-html.lsp')
-rw-r--r--app/debug-html.lsp21
1 files changed, 14 insertions, 7 deletions
diff --git a/app/debug-html.lsp b/app/debug-html.lsp
index bf593f7..32f82d2 100644
--- a/app/debug-html.lsp
+++ b/app/debug-html.lsp
@@ -1,9 +1,16 @@
<% local data, viewlibrary, page_info, session = ... %>
<% htmlviewfunctions = require("htmlviewfunctions") %>
-<h1>Debugging</h1>
-<h2>View Data:</h2>
-<%= htmlviewfunctions.cfe_unpack(data) %>
-<h2>Session:</h2>
-<%= htmlviewfunctions.cfe_unpack(session) %>
-<h2>Page Info:</h2>
-<%= htmlviewfunctions.cfe_unpack(page_info) %>
+
+<%
+local header_level = htmlviewfunctions.displayheader(cfe({label="Debugging"}), page_info)
+header_level = htmlviewfunctions.incrementheader(header_level)
+
+htmlviewfunctions.displayheader(cfe({label="View Data:"}), page_info, header_level)
+io.write(htmlviewfunctions.cfe_unpack(data))
+
+htmlviewfunctions.displayheader(cfe({label="Session:"}), page_info, header_level)
+io.write(htmlviewfunctions.cfe_unpack(session))
+
+htmlviewfunctions.displayheader(cfe({label="Page Info:"}), page_info, header_level)
+io.write(htmlviewfunctions.cfe_unpack(page_info))
+%>