From 54eb592837c417aca41c97f12b04f6f15fde36c8 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 3 Feb 2014 21:27:08 +0000 Subject: Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags --- dnsmasq-config-html.lsp | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/dnsmasq-config-html.lsp b/dnsmasq-config-html.lsp index 1fa36bc..5af9fcb 100644 --- a/dnsmasq-config-html.lsp +++ b/dnsmasq-config-html.lsp @@ -6,50 +6,39 @@ htmlviewfunctions = require("htmlviewfunctions") viewlibrary.dispatch_component("status") end %> -

Config

+

Config

<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action htmlviewfunctions.displayformstart(form) %> - -

General Parameters

-
+

General Parameters

<% htmlviewfunctions.displayformitem(form.value.interface, "interface") htmlviewfunctions.displayformitem(form.value.listen_address, "listen_address") htmlviewfunctions.displayformitem(form.value.domain, "domain") %> -
-

DNS Settings

-

DNS Parameters

-
+

DNS Settings

+

DNS Parameters

<% htmlviewfunctions.displayformitem(form.value.mx_host, "mx_host") %> -
-

DNS Filtering

-
+

DNS Filtering

<% 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") %> -
-

DHCP Parameters

-
+

DHCP Parameters

<% 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") %> -
-

Save Changes

-
+

Save Changes

<% htmlviewfunctions.displayformend(form) %> -
-- cgit v1.2.3