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

<% htmlviewfunctions.displaycommandresults({"kdestroy"}, session) %>
<% htmlviewfunctions.displaycommandresults({"kinit"}, session, true) %>

<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %>
<pre>
<%= html.html_escape(data.value) %>
</pre>
<% htmlviewfunctions.displaysectionend(header_level) %>

<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("kdestroy") then
	viewlibrary.dispatch_component("kdestroy")
end %>

<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("kinit") then
	viewlibrary.dispatch_component("kinit")
end %>