summaryrefslogtreecommitdiffstats
path: root/dnsmasq-config-html.lsp
blob: 34d21ce4a935d6d53bb5ca5302ebfb556b6ced2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<% local form, viewlibrary, page_info, session = ... 
require("viewfunctions")
%>

<H1>Config</H1>
<%
	form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
	displayformstart(form)
%>
</DL>
<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>

<H2>Save Changes</H2>
<DL>
<%
	displayformend(form)
%>
</DL>