diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-08-12 12:07:46 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-08-12 12:07:46 +0000 |
commit | 34177cbb07a07876a4efa6759b5e5c1fa6c1dd6b (patch) | |
tree | 8ae7a01b36e79a4f818ec626f23429d82d321c7f /dhcp-edithost-html.lsp | |
parent | af2b190d33683aafc06c73b0bab1ae743e69468a (diff) | |
download | acf-dhcp-34177cbb07a07876a4efa6759b5e5c1fa6c1dd6b.tar.bz2 acf-dhcp-34177cbb07a07876a4efa6759b5e5c1fa6c1dd6b.tar.xz |
Adding dhcp host files.
git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@1377 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'dhcp-edithost-html.lsp')
-rw-r--r-- | dhcp-edithost-html.lsp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dhcp-edithost-html.lsp b/dhcp-edithost-html.lsp new file mode 100644 index 0000000..e02e5b3 --- /dev/null +++ b/dhcp-edithost-html.lsp @@ -0,0 +1,13 @@ +<% local form, viewlibrary, page_info = ... +require("viewfunctions") +%> + +<H1><%= form.label %></H1> +<% + form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action + if page_info.action == "edithost" then + form.value.host.contenteditable = false + end + local order = {"host", "mac", "ip"} + displayform(form, order) +%> |