diff options
Diffstat (limited to 'iptables-html.lsp')
-rw-r--r-- | iptables-html.lsp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/iptables-html.lsp b/iptables-html.lsp index d9600e1..b27216b 100644 --- a/iptables-html.lsp +++ b/iptables-html.lsp @@ -19,16 +19,22 @@ <% if chain.references then io.write(" ("..chain.references.." references)\n") end %> </TD></TR> <% for j,line in ipairs(chain) do %> - <TR><TD STYLE='padding-left:40px'> + <TABLE> + <TR><TD WIDTH='80px' STYLE='padding-left:40px'> <a href="<%= page_info.script..page_info.prefix..page_info.controller.."/createrule?table="..tab.."&chain="..chain.name.."&position="..j.."&redir="..page_info.orig_action %>"><IMG SRC='/skins/static/tango/16x16/actions/list-add.png' width='16' height='16' title="Insert Rule"></a> <a href="<%= page_info.script..page_info.prefix..page_info.controller.."/deleterule?table="..tab.."&chain="..chain.name.."&position="..j.."&redir="..page_info.orig_action %>"><IMG SRC='/skins/static/tango/16x16/actions/list-remove.png' width='16' height='16' title="Delete Rule"></a> <a href="<%= page_info.script..page_info.prefix..page_info.controller.."/editrule?table="..tab.."&chain="..chain.name.."&position="..j.."&redir="..page_info.orig_action %>"><IMG SRC='/skins/static/tango/16x16/actions/document-properties.png' width='16' height='16' title="Edit Rule"></a> - </TD><TD><%= line %></TD> + </TD> + <TD WIDTH='50px'><%= line.packets %></TD><TD WIDTH='50px'><%= line.bytes %></TD> + <TD><%= line.rule %></TD> </TR> + </TABLE> <% end %> - <TR><TD STYLE='padding-left:40px'> + <TABLE> + <TR><TD WIDTH='80px' STYLE='padding-left:40px'> <a href="<%= page_info.script..page_info.prefix..page_info.controller.."/createrule?table="..tab.."&chain="..chain.name.."&redir="..page_info.orig_action %>"><IMG SRC='/skins/static/tango/16x16/actions/list-add.png' width='16' height='16' title="Append Rule"></a> </TD></TR> + </TABLE> <% end %> <TR><TD><a href="<%= page_info.script..page_info.prefix..page_info.controller.."/createchain?table="..tab.."&redir="..page_info.orig_action %>"><IMG SRC='/skins/static/tango/16x16/actions/list-add.png' width='16' height='16' title="Create Chain"></a></TD></TR> </TABLE> |