summaryrefslogtreecommitdiffstats
path: root/provisioning-getclassvalues-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-getclassvalues-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-getclassvalues-html.lsp')
-rw-r--r--provisioning-getclassvalues-html.lsp12
1 files changed, 5 insertions, 7 deletions
diff --git a/provisioning-getclassvalues-html.lsp b/provisioning-getclassvalues-html.lsp
index cf39cfa..616137e 100644
--- a/provisioning-getclassvalues-html.lsp
+++ b/provisioning-getclassvalues-html.lsp
@@ -4,23 +4,21 @@ html = require("acf.html")
%>
<% if form.value.values then %>
-<H1>Class</H1>
- <DL>
-<% if form.errtxt then io.write("<P CLASS='error'>" .. string.gsub(html.html_escape(form.errtxt), "\n", "<BR>") .. "</P>\n") end %>
+<h1>Class</h1>
+<% if form.errtxt then io.write("<p class='error'>" .. string.gsub(html.html_escape(form.errtxt), "\n", "<br/>") .. "</p>\n") end %>
<% htmlviewfunctions.displayitem(form.value.class_id) %>
<% htmlviewfunctions.displayitem(form.value.label) %>
-<H2>Parameter Values</H2>
+<h2>Parameter Values</h2>
<%
session = require("session")
val = session.serialize("values", form.value.values.value)
val = string.gsub(val, "[^\n]*%{%}\n", "")
print("<pre>"..val.."</pre>")
form.value.values = nil
+end
%>
- </DL>
-<% end %>
-<H1><%= html.html_escape(form.label) %></H1>
+<h1><%= html.html_escape(form.label) %></h1>
<%
form.value.values = nil
form.value.label = nil