summaryrefslogtreecommitdiffstats
path: root/postfix-listqueue-html.lsp
blob: 2400fbe52b6f668f6a1672d0fca4d87a39f20968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<% local data, viewlibrary, page_info, session = ... 
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>

<% htmlviewfunctions.displaycommandresults({"flushqueue"}, session) %>

<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %>
<pre>
<%= html.html_escape(data.value) %>
</pre>
<% htmlviewfunctions.displayitem(cfe({type="form", value={}, label="Flush Queue", option="Flush", action="flushqueue" }), page_info, 0) %>
<% htmlviewfunctions.displaysectionend(header_level) %>