summaryrefslogtreecommitdiffstats
path: root/app/debug-html.lsp
blob: b1e5493c460fcbc17f4f86e33e195ddb29c297e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<% local data, viewlibrary, page_info, session = ... %>
<% htmlviewfunctions = require("htmlviewfunctions") %>

<%
local header_level = htmlviewfunctions.displaysectionstart(cfe({label="Debugging"}), page_info)
local header_level2 = htmlviewfunctions.incrementheader(header_level)

htmlviewfunctions.displaysectionstart(cfe({label="View Data:"}), page_info, header_level2)
io.write(htmlviewfunctions.cfe_unpack(data))
htmlviewfunctions.displaysectionend(header_level2)

htmlviewfunctions.displaysectionstart(cfe({label="Session:"}), page_info, header_level2)
io.write(htmlviewfunctions.cfe_unpack(session))
htmlviewfunctions.displaysectionend(header_level2)

htmlviewfunctions.displaysectionstart(cfe({label="Page Info:"}), page_info, header_level2)
io.write(htmlviewfunctions.cfe_unpack(page_info))
htmlviewfunctions.displaysectionend(header_level2)

htmlviewfunctions.displaysectionend(header_level)
%>