summaryrefslogtreecommitdiffstats
path: root/provisioning-editdevice-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-10-28 13:47:54 +0000
committerTed Trask <ttrask01@yahoo.com>2010-10-28 13:47:54 +0000
commit5c93a38c2cc263727be345ff5a197ea9bc78595b (patch)
treea7524afa5f02d77f1effa6625d249d8968000341 /provisioning-editdevice-html.lsp
downloadacf-provisioning-5c93a38c2cc263727be345ff5a197ea9bc78595b.tar.bz2
acf-provisioning-5c93a38c2cc263727be345ff5a197ea9bc78595b.tar.xz
Starting to develop provisioning application.
It has the basics for creating/editing/deleting devices/templates/classes/groups/parameters.
Diffstat (limited to 'provisioning-editdevice-html.lsp')
-rw-r--r--provisioning-editdevice-html.lsp13
1 files changed, 13 insertions, 0 deletions
diff --git a/provisioning-editdevice-html.lsp b/provisioning-editdevice-html.lsp
new file mode 100644
index 0000000..571091b
--- /dev/null
+++ b/provisioning-editdevice-html.lsp
@@ -0,0 +1,13 @@
+<% local form, viewlibrary, page_info = ...
+require("viewfunctions")
+%>
+
+<H1><%= html.html_escape(form.label) %></H1>
+<%
+ if page_info.action == "editdevice" then
+ form.value.device_id.readonly = "true"
+ else
+ form.value.device_id.type = "hidden"
+ end
+ displayform(form, nil, nil, page_info, 2)
+%>