summaryrefslogtreecommitdiffstats
path: root/postfix-listqueue-html.lsp
blob: 750f2bba1333e27143e7bc7b32b276c43549109d (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) %>