Index: lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/web/controller/TblMonitorController.java =================================================================== diff -u -r66c5a92a9e7f3c9ae11bbf4d2a66bb1c186bbc3a -r997fdd2943e80dbf4e00dfeffb195503646d3447 --- lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/web/controller/TblMonitorController.java (.../TblMonitorController.java) (revision 66c5a92a9e7f3c9ae11bbf4d2a66bb1c186bbc3a) +++ lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/web/controller/TblMonitorController.java (.../TblMonitorController.java) (revision 997fdd2943e80dbf4e00dfeffb195503646d3447) @@ -129,12 +129,6 @@ model.addAttribute(AttributeNames.PARAM_TOOL_CONTENT_ID, toolContentId); model.addAttribute("scratchie", scratchie); - if (scratchie.isBurningQuestionsEnabled()) { - List burningQuestionItemDtos = scratchieService.getBurningQuestionDtos(scratchie, - null, true, true); - model.addAttribute(ScratchieConstants.ATTR_BURNING_QUESTION_ITEM_DTOS, burningQuestionItemDtos); - } - return "pages/monitoring/studentChoices5"; } @@ -146,6 +140,12 @@ Map modelAttributes = scratchieService.prepareStudentChoicesData(scratchie); model.addAllAttributes(modelAttributes); + if (scratchie.isBurningQuestionsEnabled()) { + List burningQuestionItemDtos = scratchieService.getBurningQuestionDtos(scratchie, + null, true, true); + model.addAttribute(ScratchieConstants.ATTR_BURNING_QUESTION_ITEM_DTOS, burningQuestionItemDtos); + } + return "pages/monitoring/studentChoicesTable"; } Index: lams_tool_scratchie/web/pages/monitoring/studentChoices5.jsp =================================================================== diff -u -r66c5a92a9e7f3c9ae11bbf4d2a66bb1c186bbc3a -r997fdd2943e80dbf4e00dfeffb195503646d3447 --- lams_tool_scratchie/web/pages/monitoring/studentChoices5.jsp (.../studentChoices5.jsp) (revision 66c5a92a9e7f3c9ae11bbf4d2a66bb1c186bbc3a) +++ lams_tool_scratchie/web/pages/monitoring/studentChoices5.jsp (.../studentChoices5.jsp) (revision 997fdd2943e80dbf4e00dfeffb195503646d3447) @@ -73,7 +73,7 @@ $(document).ready(function(){ openEventSource('tblmonitoring/traStudentChoicesFlux.do?toolContentId=${toolContentID}', function(event) { - $('#student-choices-table').load('tblmonitoring/traStudentChoicesTable.do?toolContentID=${toolContentID}'); + $(tlbMonitorHorizontalScrollElement).load('tblmonitoring/traStudentChoicesTable.do?toolContentID=${toolContentID}'); }); $('#time-limit-panel-placeholder').load('${timeLimitPanelUrl}'); @@ -119,63 +119,6 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - ${i.index + 1} - - - - - - - - - - - -   - - - - - % -
- - - - - - ${item.correctAnswerLetter} - -
Index: lams_tool_scratchie/web/pages/monitoring/studentChoicesTable.jsp =================================================================== diff -u -r2f44e796d64748dcb750ca96f4febbe0da693181 -r997fdd2943e80dbf4e00dfeffb195503646d3447 --- lams_tool_scratchie/web/pages/monitoring/studentChoicesTable.jsp (.../studentChoicesTable.jsp) (revision 2f44e796d64748dcb750ca96f4febbe0da693181) +++ lams_tool_scratchie/web/pages/monitoring/studentChoicesTable.jsp (.../studentChoicesTable.jsp) (revision 997fdd2943e80dbf4e00dfeffb195503646d3447) @@ -1,142 +1,199 @@ <%@ include file="/common/taglibs.jsp"%> - - - - - - + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + - - ${sessionDto.sessionName} + + + + + - - - - - - ${sessionDto.sessionName} + + + + + + + bg-success + bg-danger text-white + bg-warning + + + + + + - - - - - - - - - - - - - - + - - - - - - + + + + + + - bg-success - bg-danger text-white - bg-warning + bg-success + bg-danger text-white + bg-warning + + + + + + + + bg-success + bg-danger text-white + bg-warning + + + + + + + + + + + bg-success + bg-danger text-white + bg-warning + + - - - - - - - - - - - - - - bg-success - bg-danger text-white - bg-warning - - - - - - - - - - - - bg-success - bg-danger text-white - bg-warning - - - - - - - - - - - bg-success - bg-danger text-white - bg-warning - - - - - - - - - \ No newline at end of file + + + + + + +
+ + ${i.index + 1} + + + + + + + + + + + +   + + + + + % +
- + + + + + + + ${item.correctAnswerLetter} + +
+ +
+ + + + ${sessionDto.sessionName} + + + + + + + + ${sessionDto.sessionName} + + + + + + + + successful-response wrong-response"> + + + + + + + + + + + + + ${sessionDto.mark} + + % + - - - successful-response wrong-response"> - - - - - - - +
  + + + + - ${sessionDto.mark} + ${item.correctOnFirstAttemptCount} +   + + + + -
% - % + %
  - - - - - ${item.correctOnFirstAttemptCount} - -   - - - - -
% - % - - -  %  - - - -
- +  %  + + + +
\ No newline at end of file