diff options
Diffstat (limited to 'dhcp-editspc-html.lsp')
-rw-r--r-- | dhcp-editspc-html.lsp | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/dhcp-editspc-html.lsp b/dhcp-editspc-html.lsp index 922fe24..a8197d7 100644 --- a/dhcp-editspc-html.lsp +++ b/dhcp-editspc-html.lsp @@ -11,18 +11,25 @@ <pre style="color: #ff2020;"><? io.write( form.errcode.msg ) ?></pre> <h2>DHCPd - Dynamic Hosts</h2> -<table><tr><td><textarea name="dynamic" style="width:600px"><? io.write( form.value.dynamic ) ?></textarea></td></tr></table> +<textarea name="dynamic"><? io.write( form.value.dynamic ) ?></textarea> <h2>DHCPd - Pre Main Configuration</h2> These fields below are copied into the final dhcpd.conf on configuration generation without any validation check. Do not use them unless you know what you are doing. -<table><tr><td><textarea name="preconfig" style="width:600px"><? io.write(form.value.preconfig) ?></textarea></td></tr></table> +<textarea name="preconfig"><? io.write(form.value.preconfig) ?></textarea> <h2>DHCPd - Post Main Configuration</h2> -<table> -<tr><td><textarea name="postconfig" style="width:600px"><? io.write(form.value.postconfig) ?></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 .. "/home") ?>" method="POST"> -<input type="submit" name="cmd" value="back" style="width:100px"> -</form></td></tr></table> +<textarea name="postconfig"><? io.write(form.value.postconfig) ?></textarea> + +<h2>Submit/Cancel</h2> + +<dt>Submit above settings</dt> +<dd><input type="submit" name="cmd" value="update" class="submit"></dd> + +</form> + +<dt>Cancel and go back</dt> +<dd><form action="<? io.write(option.script .. option.prefix .. option.controller .. "/home") ?>" method="POST"> +<input type=submit name="cmd" value="back" class="submit"></form></dd> + |