summaryrefslogtreecommitdiffstats
path: root/iptables-details-html.lsp
blob: 3f6e1e55a2237ec613945b79e3e2d9c446606c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<% local data, viewlibrary = ... 
html = require("acf.html")
%>

<% viewlibrary.dispatch_component("status") %>

<H2><%= html.html_escape(data.label) %></H2>
<% for i,tab in ipairs({"filter", "nat", "mangle"}) do %>
	<H3><%= html.html_escape(tab) %></H3>
	<DL><TABLE>
	<TR><TD><%= html.html_escape(data.value[tab].chains) %> Chains</TD></TR>
	<TR><TD><%= html.html_escape(data.value[tab].rules) %> Rules</TD></TR>
	</TABLE></DL>
<% end %>