diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | iptables-details-html.lsp | 11 |
2 files changed, 3 insertions, 10 deletions
@@ -1,6 +1,6 @@ APP_NAME=iptables PACKAGE=acf-$(APP_NAME) -VERSION=0.2.0 +VERSION=0.2.1 APP_DIST=\ iptables* \ 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> |