summaryrefslogtreecommitdiffstats
path: root/provisioning-searchdevices-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-02-03 21:48:48 +0000
committerTed Trask <ttrask01@yahoo.com>2014-02-03 21:48:48 +0000
commite5f62555031d500d50405ba395e330223ac28e9f (patch)
treef2676b4768a95561597ca746afc400eeaffeed7c /provisioning-searchdevices-html.lsp
parentcd46e0528fdf0fd412416c91b40551140b8f2724 (diff)
downloadacf-provisioning-e5f62555031d500d50405ba395e330223ac28e9f.tar.bz2
acf-provisioning-e5f62555031d500d50405ba395e330223ac28e9f.tar.xz
Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags
Diffstat (limited to 'provisioning-searchdevices-html.lsp')
-rw-r--r--provisioning-searchdevices-html.lsp15
1 files changed, 8 insertions, 7 deletions
diff --git a/provisioning-searchdevices-html.lsp b/provisioning-searchdevices-html.lsp
index f5cd09f..4732c53 100644
--- a/provisioning-searchdevices-html.lsp
+++ b/provisioning-searchdevices-html.lsp
@@ -24,11 +24,13 @@ html = require("acf.html")
<% htmlviewfunctions.displaycommandresults({"deletedevice", "editdevice", "editdeviceparams", "overridedeviceparams"}, session) %>
<% if form.value.values then %>
-<H1>Device</H1>
- <DL>
-<% if form.errtxt then io.write("<P CLASS='error'>" .. string.gsub(html.html_escape(form.errtxt), "\n", "<BR>") .. "</P>\n") end %>
- <DT>Device ID</DT><DD><input class="text" type="text" value="<%= html.html_escape(form.value.result.value[1].device_id) %>" readonly="true"></DD>
-<H2>Parameter Values</H2>
+<h1>Device</h1>
+<% if form.errtxt then io.write("<p class='error'>" .. string.gsub(html.html_escape(form.errtxt), "\n", "<br/>") .. "</p>\n") end %>
+ <div class='item'><p class='left'>Device ID</p>
+ <div class='right'>
+ <input class="text" type="text" value="<%= html.html_escape(form.value.result.value[1].device_id) %>" readonly="true">
+ </div></div><!-- end .item -->
+<h2>Parameter Values</h2>
<%
session = require("session")
val = session.serialize("values", form.value.values.value)
@@ -39,10 +41,9 @@ elseif form.value.result then
local func = haserl.loadfile(page_info.viewfile:gsub("searchdevices", "listdevices"))
func(form.value.result, viewlibrary, page_info, session)
%>
- </DL>
<% end %>
-<H1><%= html.html_escape(form.label) %></H1>
+<h1><%= html.html_escape(form.label) %></h1>
<%
form.value.result = nil
htmlviewfunctions.displayform(form, nil, nil, page_info, 2)