summaryrefslogtreecommitdiffstats
path: root/dhcp-editnet-html.lsp
diff options
context:
space:
mode:
authorAndreas Brodmann <andreas.brodmann@gmail.com>2007-11-15 23:45:25 +0000
committerAndreas Brodmann <andreas.brodmann@gmail.com>2007-11-15 23:45:25 +0000
commitab94e4fd57a3ab52d36d5cadbdb7ce5216a78f70 (patch)
tree65e3a7dbf07dd801d0b5a65eee3ec23e00fd11ae /dhcp-editnet-html.lsp
parent32d2ee7237a11a56918ba4c5f69870826f8dc7f8 (diff)
downloadacf-dhcp-ab94e4fd57a3ab52d36d5cadbdb7ce5216a78f70.tar.bz2
acf-dhcp-ab94e4fd57a3ab52d36d5cadbdb7ce5216a78f70.tar.xz
/acf/dhcp: integrated special hosts (fixed ip's, known mac's, etc.)
git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@311 ab2d0c66-481e-0410-8bed-d214d4d58bed
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>