summaryrefslogtreecommitdiffstats
path: root/dhcp-editnet-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp-editnet-html.lsp')
-rw-r--r--dhcp-editnet-html.lsp26
1 files changed, 20 insertions, 6 deletions
diff --git a/dhcp-editnet-html.lsp b/dhcp-editnet-html.lsp
index 44d13be..ea281a0 100644
--- a/dhcp-editnet-html.lsp
+++ b/dhcp-editnet-html.lsp
@@ -28,10 +28,24 @@
<tr><td><nobr>WPAD:</nobr></td><td><input type="text" name="wpad" value="<? io.write(net.wpad.value) ?>"></td></tr>
<tr><td><nobr>Lease Range Start:</nobr></td><td><input type="text" name="leaserangestart" value="<? io.write(net.leaserangestart.value) ?>"></td></tr>
<tr><td><nobr>Lease Range End:</nobr></td><td><input type="text" name="leaserangeend" value="<? io.write(net.leaserangeend.value) ?>"></td></tr>
- <tr><td></td><td><input type=submit name=cmd value="update" style="width:100px"></form>
- <form action="<? io.write(option.script .. option.prefix .. option.controller .. "/delnet") ?>" method="POST">
- <input type=submit name="cmd" value="delete" style="width:100px">
- <input type=hidden name="network" value="<? io.write( net.name.value ) ?>">
- </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>
+</td></tr></table>
+
+<br><br>
+<h2>Subnet: Special Hosts</h2>
+Enter one host per line in the format: <i>hostname;ip;mac;comment</i><br>
+<table>
+<tr><td>Hostname</td><td>[a-z], [0-9], -</td></tr>
+<tr><td>IP</td><td>xxx.xxx.xxx.xxx</td></tr>
+<tr><td>MAC</td><td>XX:XX:XX:XX:XX:XX</td></tr>
+</table>
+<table>
+<tr><td><textarea name="spechosts" style="width:600px;"><? io.write( net.spechosts.value ) ?></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 .. "/delnet") ?>" method="POST">
+ <input type=submit name="cmd" value="delete" style="width:100px">
+ <input type=hidden name="network" value="<? io.write( net.name.value ) ?>">
+</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>
+</form>