Index: lams_tool_vote/web/monitoring/OtherTextNominationViewer.jsp =================================================================== diff -u -r81d3515d29fd57e3b9e08cc37481fd0becbd8b10 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/monitoring/OtherTextNominationViewer.jsp (.../OtherTextNominationViewer.jsp) (revision 81d3515d29fd57e3b9e08cc37481fd0becbd8b10) +++ lams_tool_vote/web/monitoring/OtherTextNominationViewer.jsp (.../OtherTextNominationViewer.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -43,10 +43,11 @@ $(document).ready(function(){ $(".tablesorter").tablesorter({ - theme: 'blue', + theme: 'bootstrap', sortInitialOrder: 'desc', sortList: [[0]], - widgets: [ "resizable", "filter" ], + headerTemplate : '{content} {icon}', + widgets: [ "uitheme", "resizable", "filter" ], headers: { 2: { filter: false}, 3: { filter: false} }, widgetOptions: { resizable: true, @@ -60,7 +61,12 @@ $(".tablesorter").each(function() { $(this).tablesorterPager({ savePages: false, - + container: $(this).find(".ts-pager"), + output: '{startRow} to {endRow} ({totalRows})', + cssPageDisplay: '.pagedisplay', + cssPageSize: '.pagesize', + cssDisabled: 'disabled', + ajaxUrl : "monitoring.do?dispatch=getOpenTextNominationsJSON&page={page}&size={size}&{sortList:column}&{filterList:fcol}&sessionUid=${param.sessionUid}&toolContentUID=${param.toolContentUID}", @@ -105,72 +111,34 @@ json.rows = $(rows); return json; } - }, - container: $(this).next(".pager"), - output: '{startRow} to {endRow} ({totalRows})', - // css class names of pager arrows - cssNext: '.tablesorter-next', // next page arrow - cssPrev: '.tablesorter-prev', // previous page arrow - cssFirst: '.tablesorter-first', // go to first page arrow - cssLast: '.tablesorter-last', // go to last page arrow - cssGoto: '.gotoPage', // select dropdown to allow choosing a page - cssPageDisplay: '.pagedisplay', // location of where the "output" is displayed - cssPageSize: '.pagesize', // page size selector - select dropdown that sets the "size" option - // class added to arrows when at the extremes (i.e. prev/first arrows are "disabled" when on the first page) - cssDisabled: 'disabled' // Note there is no period "." in front of this class name + } }) }); }) -
- -

:

- -
- - + + + + - + data-session-id='${param.sessionUid}' -
+ data-session-id='${param.toolContentUID}' - - - - - - - - - - -
+ + + + + + + - -
-
- - - - - - -
-
-
- -
+ +