blob: daf646af932da8604a674255a4376eeae68c2a17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<% local data, viewlibrary = ...
require("viewfunctions")
--[[ DEBUG INFORMATION
io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
io.write(html.cfe_unpack(data))
io.write("</span>")
--]]
%>
<% viewlibrary.dispatch_component("status") %>
<H2><%= html.html_escape(data.label) %></H2>
<DL>
<% for i,tab in ipairs({"filter", "nat", "mangle"}) do %>
<H3><%= html.html_escape(tab) %></H3>
<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>
<% end %>
</DL>
|