From e5f62555031d500d50405ba395e330223ac28e9f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 3 Feb 2014 21:48:48 +0000 Subject: Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags --- provisioning-searchdevices-html.lsp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'provisioning-searchdevices-html.lsp') 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 %> -

Device

-
-<% if form.errtxt then io.write("

" .. string.gsub(html.html_escape(form.errtxt), "\n", "
") .. "

\n") end %> -
Device ID
-

Parameter Values

+

Device

+<% if form.errtxt then io.write("

" .. string.gsub(html.html_escape(form.errtxt), "\n", "
") .. "

\n") end %> +

Device ID

+
+ +
+

Parameter Values

<% 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) %> -
<% end %> -

<%= html.html_escape(form.label) %>

+

<%= html.html_escape(form.label) %>

<% form.value.result = nil htmlviewfunctions.displayform(form, nil, nil, page_info, 2) -- cgit v1.2.3