diff options
Diffstat (limited to 'dhcp-editnet-html.lsp')
-rw-r--r-- | dhcp-editnet-html.lsp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dhcp-editnet-html.lsp b/dhcp-editnet-html.lsp index e58bcd9..31397d9 100644 --- a/dhcp-editnet-html.lsp +++ b/dhcp-editnet-html.lsp @@ -2,14 +2,14 @@ local form = ... local option = form.option; local net = form.value - local erroce = form.errcode + local errcode = form.errcode ?> <h1>Basic Configuration</h1> <h2>Subnet: <? io.write(net.name.value) ?></h2> <? if #errcode.msg > 0 then - io.write("<textarea style=\"width:600px\">" .. errcode.msg .. "</textarea><br>") + io.write("<pre style=\"color: #ff2020\">" .. errcode.msg .. "</pre><br>") end ?> @@ -40,5 +40,5 @@ </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: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></td><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> |