summaryrefslogtreecommitdiffstats
path: root/dhcp-viewleases-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp-viewleases-html.lsp')
-rw-r--r--dhcp-viewleases-html.lsp12
1 files changed, 12 insertions, 0 deletions
diff --git a/dhcp-viewleases-html.lsp b/dhcp-viewleases-html.lsp
new file mode 100644
index 0000000..9cf116e
--- /dev/null
+++ b/dhcp-viewleases-html.lsp
@@ -0,0 +1,12 @@
+<?
+ local form = ...
+ local option = form.option
+ local value = form.value
+?>
+<h1>View <? io.write(value.filename.value) ?></h1>
+
+<textarea name=""><? io.write(value.contents.value) ?></textarea>
+<form action="<? io.write(option.script .. option.prefix .. option.controller .. "/home") ?>" method="POST">
+ <input type=submit name="cmd" value="Back" class="submit">
+</form>
+