Index: lams_central/web/css/jquery.tablesorter.theme-blue.css
===================================================================
diff -u -r96624ae172b4b193603927a3d39c54572e0d6b4c -rd5501c8a2e12210760e87ad87dc33b05498db7da
--- lams_central/web/css/jquery.tablesorter.theme-blue.css (.../jquery.tablesorter.theme-blue.css) (revision 96624ae172b4b193603927a3d39c54572e0d6b4c)
+++ lams_central/web/css/jquery.tablesorter.theme-blue.css (.../jquery.tablesorter.theme-blue.css) (revision d5501c8a2e12210760e87ad87dc33b05498db7da)
@@ -71,6 +71,7 @@
}
.tablesorter-blue thead .sorter-false {
background-image: none;
+ cursor: default;
padding: 4px;
}
@@ -118,10 +119,10 @@
}
/* Zebra Widget - row alternating colors */
-.tablesorter-blue tbody tr.odd td {
+.tablesorter-blue tbody tr.odd > td {
background-color: #ebf2fa;
}
-.tablesorter-blue tbody tr.even td {
+.tablesorter-blue tbody tr.even > td {
background-color: #fff;
}
@@ -148,6 +149,11 @@
background-color: #ebf0fa;
}
+/* caption */
+caption {
+ background: #fff;
+}
+
/* filter widget */
.tablesorter-blue .tablesorter-filter-row td {
background: #eee;
@@ -175,7 +181,7 @@
line-height: 0;
cursor: pointer;
}
-.tablesorter-blue .tablesorter-filter-row.hideme .tablesorter-filter {
+.tablesorter-blue .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;
@@ -186,9 +192,10 @@
filter: alpha(opacity=0);
}
/* filters */
-.tablesorter-blue .tablesorter-filter {
+.tablesorter-blue input.tablesorter-filter,
+.tablesorter-blue select.tablesorter-filter {
width: 98%;
- height: inherit;
+ height: auto;
margin: 0;
padding: 4px;
background-color: #fff;
@@ -202,3 +209,14 @@
-o-transition: height 0.1s ease;
transition: height 0.1s ease;
}
+/* rows hidden by filtering (needed for child rows) */
+.tablesorter .filtered {
+ display: none;
+}
+
+/* ajax error row */
+.tablesorter .tablesorter-errorRow td {
+ text-align: center;
+ cursor: pointer;
+ background-color: #e6bf99;
+}
Index: lams_central/web/includes/javascript/jquery.tablesorter-pager.js
===================================================================
diff -u -re83c1c350c7299b13070c44dd0cd288027d1be04 -rd5501c8a2e12210760e87ad87dc33b05498db7da
--- lams_central/web/includes/javascript/jquery.tablesorter-pager.js (.../jquery.tablesorter-pager.js) (revision e83c1c350c7299b13070c44dd0cd288027d1be04)
+++ lams_central/web/includes/javascript/jquery.tablesorter-pager.js (.../jquery.tablesorter-pager.js) (revision d5501c8a2e12210760e87ad87dc33b05498db7da)
@@ -1,2 +1,2 @@
-/* tablesorter pager plugin updated 8/1/2014 (v2.17.6) */
-;(function(h){var k=h.tablesorter;h.extend({tablesorterPager:new function(){this.defaults={container:null,ajaxUrl:null,customAjaxUrl:function(b,a){return a},ajaxObject:{dataType:"json"},processAjaxOnInit:!0,ajaxProcessing:function(b){return[0,[],null]},output:"{startRow} to {endRow} of {totalRows} rows",updateArrows:!0,page:0,pageReset:0,size:10,savePages:!0,storageKey:"tablesorter-pager",fixedHeight:!1,countChildRows:!1,removeRows:!1,cssFirst:".first",cssPrev:".prev",cssNext:".next",cssLast:".last", cssGoto:".gotoPage",cssPageDisplay:".pagedisplay",cssPageSize:".pagesize",cssErrorRow:"tablesorter-errorRow",cssDisabled:"disabled",totalRows:0,totalPages:0,filteredRows:0,filteredPages:0,ajaxCounter:0,currentFilters:[],startRow:0,endRow:0,$size:null,last:{}};var w=this,p=function(b,a){var d=b.cssDisabled,e=!!a,g=e||0===b.page,f=Math.min(b.totalPages,b.filteredPages),e=e||b.page===f-1||0===f;b.updateArrows&&(b.$container.find(b.cssFirst+","+b.cssPrev)[g?"addClass":"removeClass"](d).attr("aria-disabled", g),b.$container.find(b.cssNext+","+b.cssLast)[e?"addClass":"removeClass"](d).attr("aria-disabled",e))},t=function(b,a,d){var e,g,f,l,c=b.config;l=c.$table.hasClass("hasFilters");f=[];e=a.size||10;f=[c.widgetOptions&&c.widgetOptions.filter_filteredRow||"filtered",c.selectorRemove.replace(/^(\w+\.)/g,"")];a.countChildRows&&f.push(c.cssChildRow);f.join("|");l&&!a.ajaxUrl?h.isEmptyObject(c.cache)?a.filteredRows=a.totalRows=c.$tbodies.eq(0).children("tr").not(a.countChildRows?"":"."+c.cssChildRow).length: (a.filteredRows=0,h.each(c.cache[0].normalized,function(d,b){a.filteredRows+=a.regexRows.test(b[c.columns].$row[0].className)?0:1})):l||(a.filteredRows=a.totalRows);a.totalPages=Math.ceil(a.totalRows/e);c.totalRows=a.totalRows;c.filteredRows=a.filteredRows;a.filteredPages=Math.ceil(a.filteredRows/e)||0;if(0<=Math.min(a.totalPages,a.filteredPages)&&(f=a.size*a.page>a.filteredRows,a.startRow=f?1:0===a.filteredRows?0:a.size*a.page+1,a.page=f?0:a.page,a.endRow=Math.min(a.filteredRows,a.totalRows,a.size* (a.page+1)),l=a.$container.find(a.cssPageDisplay),f=(a.ajaxData&&a.ajaxData.output?a.ajaxData.output||a.output:a.output).replace(/\{page([\-+]\d+)?\}/gi,function(c,b){return a.totalPages?a.page+(b?parseInt(b,10):1):0}).replace(/\{\w+(\s*:\s*\w+)?\}/gi,function(c){var b,d;b=c.replace(/[{}\s]/g,"");c=b.split(":");d=a.ajaxData;var e=/(rows?|pages?)$/i.test(b)?0:"";return/(startRow|page)/.test(c[0])&&"input"===c[1]?(b=(""+("page"===c[0]?a.totalPages:a.totalRows)).length,d="page"===c[0]?a.page+1:a.startRow, ''):1"+e+"";a.$goto.html(f).val(a.page+1)}l.find(".ts-startRow, .ts-page").unbind("change").bind("change",function(){var b=h(this).val(),b=h(this).hasClass("ts-startRow")?Math.floor(b/a.size)+1:b;c.$table.trigger("pageSet.pager", [b])})}p(a);a.initialized&&!1!==d&&(c.$table.trigger("pagerComplete",a),a.savePages&&k.storage&&k.storage(b,a.storageKey,{page:a.page,size:a.size}))},u=function(b,a){var d,e=b.config,g=e.$tbodies.eq(0);a.fixedHeight&&(g.find("tr.pagerSavedHeightSpacer").remove(),d=h.data(b,"pagerSavedHeight"))&&(d-=g.height(),5