summaryrefslogtreecommitdiffstats
path: root/dhcp-editspc-html.lsp
blob: 8a06c9c1593abaf29809743fc78251962eecea5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<? 
   local form = ... 
   local option = form.option;
   local errcode = form.errcode
?>
<h1>DHCPd - Advanced Global Configuration</h1>
These fields are copied into the final dhcpd.conf on configuration generation without any validation check. So only
use them if you extactly know what you are doing here.

<form name="myform" action="<? io.write(option.script .. option.prefix ..  
                 option.controller .. "/" .. option.action .. option.extra) ?>" method="POST">
                 
<h2>DHCPd - Pre Main Configuration</h2>
<table><tr><td><textarea name="preconfig" style="width:600px"><? io.write(form.value.preconfig) ?></textarea></td></tr></table>

<h2>DHCPd - Post Main Configuration</h2>
<table>
<tr><td><textarea name="postconfig" style="width:600px"><? io.write(form.value.postconfig) ?></textarea></td></tr>
<tr><td><input type="submit" name="cmd" value="update" style="width:100px"></form>
<form action="<? io.write(option.script .. option.prefix .. option.controller .. "/home") ?>" method="POST">
<input type="submit" name="cmd" value="back" style="width:100px">
</form></td></tr></table>