diff options
Diffstat (limited to 'dhcp-createnet-html.lsp')
-rw-r--r-- | dhcp-createnet-html.lsp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/dhcp-createnet-html.lsp b/dhcp-createnet-html.lsp index aadc2c8..c3775f9 100644 --- a/dhcp-createnet-html.lsp +++ b/dhcp-createnet-html.lsp @@ -6,6 +6,12 @@ <h1>Create New Subnet</h1> <h2>Subnet: new</h2> +<? + if #form.errcode.msg > 0 then + io.write("<pre style=\"color: #ff2020\">" .. form.errcode.msg .. "</pre><br>") + end +?> + <form action="<? io.write(option.script .. option.prefix .. option.controller .. "/" .. option.action .. option.extra) ?>" method="POST"> <table> @@ -31,5 +37,7 @@ ?> </select> </td></tr> - <tr><td></td><td><input type=submit name=cmd value="create" style="width:300px"></form><form action="<? io.write(option.script .. option.prefix .. option.controller .. "/home") ?> method="POST"> -<input type=submit name="cmd" value="back" style="width:300px"></form></td></tr></table> + <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="create" 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> |