summaryrefslogtreecommitdiffstats
path: root/dhcp-editspc-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp-editspc-html.lsp')
-rw-r--r--dhcp-editspc-html.lsp9
1 files changed, 7 insertions, 2 deletions
diff --git a/dhcp-editspc-html.lsp b/dhcp-editspc-html.lsp
index 8a06c9c..922fe24 100644
--- a/dhcp-editspc-html.lsp
+++ b/dhcp-editspc-html.lsp
@@ -4,13 +4,18 @@
local errcode = form.errcode
?>
<h1>DHCPd - Advanced Global Configuration</h1>
-These fields are copied into the final dhcpd.conf on configuration generation without any validation check. So only
-use them if you extactly know what you are doing here.
<form name="myform" action="<? io.write(option.script .. option.prefix ..
option.controller .. "/" .. option.action .. option.extra) ?>" method="POST">
+<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>
+
<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>
<h2>DHCPd - Post Main Configuration</h2>