summaryrefslogtreecommitdiffstats
path: root/iptables-filterrules-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'iptables-filterrules-html.lsp')
-rw-r--r--iptables-filterrules-html.lsp3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables-filterrules-html.lsp b/iptables-filterrules-html.lsp
index ce84799..2b89ece 100644
--- a/iptables-filterrules-html.lsp
+++ b/iptables-filterrules-html.lsp
@@ -4,7 +4,7 @@
<% htmlviewfunctions.displaycommandresults({"editchain", "deletechain", "createrule", "deleterule", "editrule", "createchain"}, session) %>
-<h1><%= html.html_escape(data.label) %></h1>
+<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %>
<table>
<% local tab = data.value.table %>
<% for j,chain in ipairs(data.value) do %>
@@ -38,3 +38,4 @@
<% end %>
<tr><td><a href="<%= html.html_escape(page_info.script..page_info.prefix..page_info.controller.."/createchain?table="..tab.."&redir="..page_info.orig_action) %>"><img src='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/tango/16x16/actions/list-add.png' width='16' height='16' title="Create Chain"></a></td></tr>
</table>
+<% htmlviewfunctions.displaysectionend(header_level) %>