diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-02-03 21:48:48 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-02-03 21:48:48 +0000 |
commit | e5f62555031d500d50405ba395e330223ac28e9f (patch) | |
tree | f2676b4768a95561597ca746afc400eeaffeed7c /provisioning-edittemplate-html.lsp | |
parent | cd46e0528fdf0fd412416c91b40551140b8f2724 (diff) | |
download | acf-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-edittemplate-html.lsp')
-rw-r--r-- | provisioning-edittemplate-html.lsp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/provisioning-edittemplate-html.lsp b/provisioning-edittemplate-html.lsp index d7f44e7..9415968 100644 --- a/provisioning-edittemplate-html.lsp +++ b/provisioning-edittemplate-html.lsp @@ -2,8 +2,8 @@ <% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> -<H1><%= html.html_escape(form.label) %></H1> -<H2>Template Details</H2> +<h1><%= html.html_escape(form.label) %></h1> +<h2>Template Details</h2> <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %> <% htmlviewfunctions.displayformstart(form) %> <% @@ -14,14 +14,12 @@ htmlviewfunctions.displayformitem(form.value.filename, "filename") htmlviewfunctions.displayformitem(form.value.label, "label") htmlviewfunctions.displayformitem(form.value.seq, "seq") %> -</DL> -<H2>File Content</H2> -<DL> +<h2>File Content</h2> <textarea name="filecontent"> <%= html.html_escape(form.value.filecontent.value) %> </textarea> -<% if form.value.filecontent.errtxt then %><P CLASS='error'><%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "<BR>") %></P><% end %> -<% if form.value.filecontent.descr then %><P CLASS='descr'><%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "<BR>") %></P><% end %> +<% if form.value.filecontent.errtxt then %><p class='error'><%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "<br/>") %></p><% end %> +<% if form.value.filecontent.descr then %><p class='descr'><%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "<br/>") %></p><% end %> <% htmlviewfunctions.displayformend(form) %> |