summaryrefslogtreecommitdiffstats
path: root/iptables-details-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'iptables-details-html.lsp')
-rw-r--r--iptables-details-html.lsp11
1 files changed, 2 insertions, 9 deletions
diff --git a/iptables-details-html.lsp b/iptables-details-html.lsp
index daf646a..c15ab2a 100644
--- a/iptables-details-html.lsp
+++ b/iptables-details-html.lsp
@@ -1,21 +1,14 @@
<% 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>
+ <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>
+ </TABLE></DL>
<% end %>
-</DL>