diff options
Diffstat (limited to 'dhcp-view-html.lsp')
-rw-r--r-- | dhcp-view-html.lsp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dhcp-view-html.lsp b/dhcp-view-html.lsp new file mode 100644 index 0000000..34906fc --- /dev/null +++ b/dhcp-view-html.lsp @@ -0,0 +1,18 @@ +<? + local form = ... + local option = form.option + local value = form.value +?> +<h1>View <? io.write(value.filename.value) ?></h1> + +<table> +<tr><td> +<textarea name=""><? io.write(value.contents.value) ?></textarea> +</td></tr> +<tr><td> +<form action="<? io.write(option.script .. option.prefix .. option.controller .. "/home") ?>" method="POST"> + <input type=submit name="cmd" value="Back"> +</form> +</td></tr> +</table> + |