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-listclasses-html.lsp | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) (limited to 'provisioning-listclasses-html.lsp') diff --git a/provisioning-listclasses-html.lsp b/provisioning-listclasses-html.lsp index e1b9538..59933d3 100644 --- a/provisioning-listclasses-html.lsp +++ b/provisioning-listclasses-html.lsp @@ -25,7 +25,7 @@ html = require("acf.html") end %> $(document).ready(function() { - $("#list").tablesorter({headers: {0:{sorter: false}}}); + $("#list").tablesorter({headers: {0:{sorter: false}}, widgets: ['zebra']}); $(".deleteclass").click(function(){ return confirm("Are you sure you want to delete this class?")}); }); @@ -34,18 +34,17 @@ html = require("acf.html") <% htmlviewfunctions.displaycommandresults({"createclass"}, session, true) %>

Classes

-
- - - - - - - - +
ActionClass GroupLabelSequence
+ + + + + + + <% for k,v in ipairs( view.value ) do %> - - + - - - - + + + + + <% end %> - -
ActionClass GroupLabelSequence
+
<% if viewlibrary.check_permission("deleteclass") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deleteclass?submit=true&class_id="..v.class_id, label="Delete ", class="deleteclass"} %> <% end %> @@ -55,14 +54,14 @@ html = require("acf.html") <% if viewlibrary.check_permission("getclassvalues") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/getclassvalues?submit=true&class_id="..v.class_id, label="View "} %> <% end %> - <%= html.html_escape(v.group) %><%= html.html_escape(v.label) %><%= html.html_escape(v.seq) %>
<%= html.html_escape(v.group) %><%= html.html_escape(v.label) %><%= html.html_escape(v.seq) %>
+ + <% if view.errtxt then %>

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

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