diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-02-03 21:32:53 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-02-03 21:32:53 +0000 |
commit | 8483bc397f2e6adb2befa2153b8c375684bae441 (patch) | |
tree | fe0d9cdf63c5212088c76a461280a00d08f45d63 /iptables-editrule-html.lsp | |
parent | 5ec957f05aa963f3b90d9e96e7dcef039d55c553 (diff) | |
download | acf-iptables-8483bc397f2e6adb2befa2153b8c375684bae441.tar.bz2 acf-iptables-8483bc397f2e6adb2befa2153b8c375684bae441.tar.xz |
Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags
Diffstat (limited to 'iptables-editrule-html.lsp')
-rw-r--r-- | iptables-editrule-html.lsp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/iptables-editrule-html.lsp b/iptables-editrule-html.lsp index 905980a..42f64df 100644 --- a/iptables-editrule-html.lsp +++ b/iptables-editrule-html.lsp @@ -3,7 +3,7 @@ htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> -<H1><%= html.html_escape(form.label) %></H1> +<h1><%= html.html_escape(form.label) %></h1> <% for name,val in pairs(form.value) do val.name = name end form.value.table.readonly = true @@ -14,13 +14,13 @@ form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/ htmlviewfunctions.displayformstart(form) %> -<H2>Rule Identification</H2><DL> +<h2>Rule Identification</h2> <% htmlviewfunctions.displayformitem(form.value.table) htmlviewfunctions.displayformitem(form.value.chain) htmlviewfunctions.displayformitem(form.value.position) %> -</DL><H2>Basic Parameters</H2><DL> +<h2>Basic Parameters</h2> <% htmlviewfunctions.displayformitem(form.value.jump) htmlviewfunctions.displayformitem(form.value.protocol) @@ -28,14 +28,11 @@ htmlviewfunctions.displayformitem(form.value.in_interface) htmlviewfunctions.displayformitem(form.value.out_interface) htmlviewfunctions.displayformitem(form.value.source) htmlviewfunctions.displayformitem(form.value.destination) -%> -</DL><DL id="details"> -<% htmlviewfunctions.displayformitem(form.value.goto) htmlviewfunctions.displayformitem(form.value.fragment) htmlviewfunctions.displayformitem(form.value.set_counters) %> -</DL><H2>Extended Parameters</H2><DL> +<h2>Extended Parameters</h2> <% htmlviewfunctions.displayformitem(form.value.comment) htmlviewfunctions.displayformitem(form.value.addrtype_src_type) @@ -53,5 +50,5 @@ htmlviewfunctions.displayformitem(form.value.tcp_dport) htmlviewfunctions.displayformitem(form.value.udp_sport) htmlviewfunctions.displayformitem(form.value.udp_dport) %> -</DL><H2><%= html.html_escape(form.option) %></H2> +<h2><%= html.html_escape(form.option) %></h2> <% htmlviewfunctions.displayformend(form) %> |