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-listtemplates-html.lsp | 46 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 24 deletions(-) (limited to 'provisioning-listtemplates-html.lsp') diff --git a/provisioning-listtemplates-html.lsp b/provisioning-listtemplates-html.lsp index 4adc23f..ee67b17 100644 --- a/provisioning-listtemplates-html.lsp +++ b/provisioning-listtemplates-html.lsp @@ -17,7 +17,7 @@ html = require("acf.html") @@ -26,20 +26,19 @@ html = require("acf.html") <% htmlviewfunctions.displaycommandresults({"createtemplate"}, session, true) %>

Templates

-
- - - - - - - - - - +
ActionFile NameLabelSequenceFile SizeLast Modified
+ + + + + + + + + <% for k,v in ipairs( view.value ) do %> - - + - - - - - - + + + + + + + <% end %> - -
ActionFile NameLabelSequenceFile SizeLast Modified
+
<% if viewlibrary.check_permission("deletetemplate") and v.label then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deletetemplate?submit=true&filename="..v.filename, label="Delete ", class="deletetemplate"} %> <% end %> @@ -49,16 +48,16 @@ html = require("acf.html") <% if viewlibrary.check_permission("createtemplate") and not v.label then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/createtemplate?filename="..v.filename.."&redir="..page_info.orig_action, label="Create "} %> <% end %> - <%= html.html_escape(v.filename) %><%= html.html_escape(v.label) %><%= html.html_escape(v.seq) %><%= html.html_escape(v.filesize) %><%= html.html_escape(v.mtime) %>
<%= html.html_escape(v.filename) %><%= html.html_escape(v.label) %><%= html.html_escape(v.seq) %><%= html.html_escape(v.filesize) %><%= html.html_escape(v.mtime) %>
+ + <% if view.errtxt then %>

<%= html.html_escape(view.errtxt) %>

@@ -70,4 +69,3 @@ html = require("acf.html") <% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createtemplate") then viewlibrary.dispatch_component("createtemplate") end %> -
-- cgit v1.2.3