Commit 54eb5928 authored by Ted Trask's avatar Ted Trask
Browse files

Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags

parent 985c8691
......@@ -6,50 +6,39 @@ htmlviewfunctions = require("htmlviewfunctions")
viewlibrary.dispatch_component("status")
end %>
<H1>Config</H1>
<h1>Config</h1>
<%
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
htmlviewfunctions.displayformstart(form)
%>
</DL>
<H2>General Parameters</H2>
<DL>
<h2>General Parameters</h2>
<%
htmlviewfunctions.displayformitem(form.value.interface, "interface")
htmlviewfunctions.displayformitem(form.value.listen_address, "listen_address")
htmlviewfunctions.displayformitem(form.value.domain, "domain")
%>
</DL>
<H2>DNS Settings</H2>
<H3>DNS Parameters</H3>
<DL>
<h2>DNS Settings</h2>
<h3>DNS Parameters</h3>
<%
htmlviewfunctions.displayformitem(form.value.mx_host, "mx_host")
%>
</DL>
<H3>DNS Filtering</H3>
<DL>
<h3>DNS Filtering</h3>
<%
htmlviewfunctions.displayformitem(form.value.dns_filtering, "dns_filtering")
htmlviewfunctions.displayformitem(form.value.dns_whitelist, "dns_whitelist")
htmlviewfunctions.displayformitem(form.value.dns_default_address, "dns_default_address")
%>
</DL>
<H2>DHCP Parameters</H2>
<DL>
<h2>DHCP Parameters</h2>
<%
htmlviewfunctions.displayformitem(form.value.dhcp_range, "dhcp_range")
htmlviewfunctions.displayformitem(form.value.no_dhcp_interface, "no_dhcp_interface")
htmlviewfunctions.displayformitem(form.value.dhcp_host, "dhcp_host")
htmlviewfunctions.displayformitem(form.value.dhcp_option, "dhcp_option")
%>
</DL>
<H2>Save Changes</H2>
<DL>
<h2>Save Changes</h2>
<%
htmlviewfunctions.displayformend(form)
%>
</DL>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment