summaryrefslogtreecommitdiffstats
path: root/dnsmasq-config-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'dnsmasq-config-html.lsp')
-rw-r--r--dnsmasq-config-html.lsp31
1 files changed, 30 insertions, 1 deletions
diff --git a/dnsmasq-config-html.lsp b/dnsmasq-config-html.lsp
index 9272f40..cb0060a 100644
--- a/dnsmasq-config-html.lsp
+++ b/dnsmasq-config-html.lsp
@@ -18,7 +18,36 @@ end %>
<H1>Config</H1>
<%
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
- displayform(form)
+ displayformstart(form)
+%>
+<H2>General Parameters</H2>
+<dl>
+<%
+ displayformitem(form.value.interface, "interface")
+ displayformitem(form.value.listen_address, "listen_address")
+ displayformitem(form.value.domain, "domain")
+%>
+</dl>
+
+<H2>DNS Parameters</H2>
+<dl>
+<%
+ displayformitem(form.value.mx_host, "mx_host")
+%>
+</dl>
+
+<H2>DHCP Parameters</H2>
+<dl>
+<%
+ displayformitem(form.value.dhcp_range, "dhcp_range")
+ displayformitem(form.value.no_dhcp_interface, "no_dhcp_interface")
+ displayformitem(form.value.dhcp_host, "dhcp_host")
+ displayformitem(form.value.dhcp_option, "dhcp_option")
+%>
+</dl>
+
+<%
+ displayformend(form)
%>
<% if viewlibrary and viewlibrary.dispatch_component then