Index: lams_tool_laqa/web/monitoring/MonitoringMaincontent.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_laqa/web/monitoring/MonitoringMaincontent.jsp,v
diff -u -r1.39.2.18 -r1.39.2.19
--- lams_tool_laqa/web/monitoring/MonitoringMaincontent.jsp 11 Oct 2016 05:20:42 -0000 1.39.2.18
+++ lams_tool_laqa/web/monitoring/MonitoringMaincontent.jsp 11 Dec 2016 01:34:11 -0000 1.39.2.19
@@ -106,7 +106,7 @@
$(".tablesorter").tablesorter({
theme: 'bootstrap',
widthFixed: true,
- widgets: ["uitheme", "zebra", "filter"],
+ widgets: ["uitheme", "zebra", "filter", "resizable"],
headerTemplate : '{content} {icon}',
headers: { 1: { filter: false }, 2: { filter: false, sorter: false } },
widgetOptions : {
@@ -122,12 +122,11 @@
$(this).tablesorterPager({
// set to false otherwise it remembers setting from other jsFiddle demos
savePages: false,
- // use this format: "http:/mydatabase.com?page={page}&size={size}&{sortList:col}"
- // where {page} is replaced by the page number (or use {page+1} to get a one-based index),
- // {size} is replaced by the number of records to show,
- // {sortList:col} adds the sortList to the url into a "col" array, and {filterList:fcol} adds
- // the filterList to the url into an "fcol" array.
- // So a sortList = [[2,0],[3,0]] becomes "&col[2]=0&col[3]=0" in the url
+ container: $(this).find(".ts-pager"),
+ output: '{startRow} to {endRow} ({totalRows})',
+ cssPageDisplay: '.pagedisplay',
+ cssPageSize: '.pagesize',
+ cssDisabled: 'disabled',
ajaxUrl : "?method=getResponses&page={page}&size={size}&{sortList:column}&{filterList:fcol}&isMonitoring=true&isAllowRateAnswers=${qaContent.allowRateAnswers}&isAllowRichEditor=${qaContent.allowRichEditor}&isOnlyLeadersIncluded=${qaContent.useSelectLeaderToolOuput}&qaContentId=${qaContent.qaContentId}&qaSessionId=" + $(this).attr('data-session-id') + "&questionUid=" + $(this).attr('data-question-uid') + "&userId=" + $("#userID").val() + "&reqID=" + (new Date()).getTime(),
ajaxProcessing: function (data) {
if (data && data.hasOwnProperty('rows')) {
@@ -228,20 +227,7 @@
return json;
}
- },
- container: $(this).next(".pager"),
- output: '{startRow} to {endRow} ({totalRows})',
- //removeRows: false,
- // 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
+ }
})
// bind to pager events
Index: lams_tool_laqa/web/monitoring/Reflections.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_laqa/web/monitoring/Reflections.jsp,v
diff -u -r1.10.2.3 -r1.10.2.4
--- lams_tool_laqa/web/monitoring/Reflections.jsp 4 Aug 2016 02:35:12 -0000 1.10.2.3
+++ lams_tool_laqa/web/monitoring/Reflections.jsp 11 Dec 2016 01:34:11 -0000 1.10.2.4
@@ -30,23 +30,32 @@
$(document).ready(function(){
$(".tablesorter").tablesorter({
- theme: 'blue',
- sortInitialOrder: 'desc',
- sortList: [[0]],
- widgets: [ "resizable", "filter" ],
- headers: { 1: { filter: false, sorter: false} },
- widgetOptions: {
+ theme: 'bootstrap',
+ widthFixed: true,
+ widgets: ["uitheme", "zebra", "filter", "resizable"],
+ headerTemplate : '{content} {icon}',
+ headers: { 1: { filter: false, sorter: false} },
+ widgetOptions : {
resizable: true,
- // include column filters
- filter_columnFilters: true,
- filter_placeholder: { search : '' },
- filter_searchDelay: 700
- }
+ // include column filters
+ filter_columnFilters: true,
+ filter_placeholder: { search : '' },
+ filter_searchDelay: 700
+
+ },
+ sortInitialOrder: 'desc',
+ sortList: [[0]]
});
-
+
$(".tablesorter").each(function() {
$(this).tablesorterPager({
+ // set to false otherwise it remembers setting from other jsFiddle demos
savePages: false,
+ container: $(this).find(".ts-pager"),
+ output: '{startRow} to {endRow} ({totalRows})',
+ cssPageDisplay: '.pagedisplay',
+ cssPageSize: '.pagesize',
+ cssDisabled: 'disabled',
ajaxUrl : "monitoring.do?dispatch=getReflectionsJSON&page={page}&size={size}&{sortList:column}&{filterList:fcol}&toolSessionID=" + $(this).attr('data-session-id'),
ajaxProcessing: function (data, table) {
if (data && data.hasOwnProperty('rows')) {
@@ -78,18 +87,6 @@
}
},
- 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
})
});
});
Index: lams_tool_laqa/web/monitoring/SummaryContent.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_laqa/web/monitoring/SummaryContent.jsp,v
diff -u -r1.46.2.6 -r1.46.2.7
--- lams_tool_laqa/web/monitoring/SummaryContent.jsp 11 Oct 2016 05:20:42 -0000 1.46.2.6
+++ lams_tool_laqa/web/monitoring/SummaryContent.jsp 11 Dec 2016 01:34:11 -0000 1.46.2.7
@@ -59,7 +59,7 @@
dataId="data-session-id='${groupDto.sessionId}' data-question-uid='${question.uid}'">
|
-
+ |
|