summaryrefslogtreecommitdiffstats
path: root/provisioning-getdevicevalues-html.lsp
blob: c942a5c6497e4196a52121b711efe7d98101cc89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<% local form, viewlibrary, page_info = ... %>
<% require("viewfunctions") %>

<H1><%= html.html_escape(form.label) %></H1>
<%
if form.errtxt then io.write("<P CLASS='error'>" .. string.gsub(html.html_escape(form.errtxt), "\n", "<BR>") .. "</P>\n") end
displayitem(form.value.device_id)
displayitem(form.value.name)
displayitem(form.value.label)
displayitem(form.value.template)
%>

<H2>Parameter Values</H2>
<%
require("session")
val = session.serialize("values", form.value.values.value)
val = string.gsub(val, "[^\n]*%{%}\n", "")
print("<pre>"..val.."</pre>")
%>