summaryrefslogtreecommitdiffstats
path: root/tcpproxy-smtpstatus-html.lsp
blob: 143c99104171311545b2eb75e75be12871ba035f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<% local view, viewlibrary, page_info, session = ... 
require("viewfunctions")
%>

<% displaycommandresults({"editsmtpentry", "delsmtpentry", "editsmtpfile", "delsmtpfile"}, session) %>
<% displaycommandresults({"createsmtpfile"}, session, true) %>

<H1>SMTP Proxy Status</H1>
<DL>
<% displayitem(view.value.version)
if view.value.version and view.value.version.errtxt and viewlibrary.check_permission("apk-tools/apk/install") then
%>
	<a href="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install?package="..view.value.version.name) %>">Install</a>
<% end %>
</DL>

<% if viewlibrary and viewlibrary.dispatch_component then
	viewlibrary.dispatch_component("listsmtpentries")
	viewlibrary.dispatch_component("listsmtpfiles")
end %>