diff options
author | Andreas Brodmann <andreas.brodmann@gmail.com> | 2007-11-09 12:29:45 +0000 |
---|---|---|
committer | Andreas Brodmann <andreas.brodmann@gmail.com> | 2007-11-09 12:29:45 +0000 |
commit | 6bd3dfe7a1efab75d63fc5f62af7e5da57f2c730 (patch) | |
tree | 98be94129dc0c3ab7d35cdc5e049afa5f549a811 /dhcp-editnet-html.lsp | |
parent | 10b140d640145441f1ecfa8a8385ac393ae29198 (diff) | |
download | acf-dhcp-6bd3dfe7a1efab75d63fc5f62af7e5da57f2c730.tar.bz2 acf-dhcp-6bd3dfe7a1efab75d63fc5f62af7e5da57f2c730.tar.xz |
bugs eliminated in /acf/dhcp/trunk
git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@291 ab2d0c66-481e-0410-8bed-d214d4d58bed
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> |