Index: lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/web/controller/TblMonitorController.java =================================================================== diff -u -reccd6838790a4369b6788e48fb5ae5851622fe35 -re745a65b2a8cdd11176817c24cc93666040efccb --- lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/web/controller/TblMonitorController.java (.../TblMonitorController.java) (revision eccd6838790a4369b6788e48fb5ae5851622fe35) +++ lams_tool_scratchie/src/java/org/lamsfoundation/lams/tool/scratchie/web/controller/TblMonitorController.java (.../TblMonitorController.java) (revision e745a65b2a8cdd11176817c24cc93666040efccb) @@ -128,8 +128,9 @@ model.addAttribute(AttributeNames.PARAM_TOOL_CONTENT_ID, toolContentId); model.addAttribute("scratchie", scratchie); + model.addAttribute("isTbl", true); - return "pages/monitoring/studentChoices5"; + return "pages/monitoring/studentChoices"; } @RequestMapping("/traStudentChoicesTable") @@ -220,8 +221,9 @@ long toolContentId = WebUtil.readLongParam(request, AttributeNames.PARAM_TOOL_CONTENT_ID); Scratchie scratchie = scratchieService.getScratchieByContentId(toolContentId); request.setAttribute("discussionSentimentEnabled", scratchie.isDiscussionSentimentEnabled()); + request.setAttribute("isTbl", true); - return "pages/monitoring/parts/burningQuestions5"; + return "pages/tblmonitoring/burningQuestions"; } /** @@ -231,6 +233,7 @@ public String burningQuestionsTable(HttpServletRequest request) throws IOException, ServletException { long toolContentId = WebUtil.readLongParam(request, AttributeNames.PARAM_TOOL_CONTENT_ID); Scratchie scratchie = scratchieService.getScratchieByContentId(toolContentId); + request.setAttribute("isTbl", WebUtil.readBooleanParam(request, "isTbl")); //find available burningQuestionDtos, if any if (scratchie.isBurningQuestionsEnabled()) { @@ -247,7 +250,7 @@ request.setAttribute("discussionSentimentEnabled", scratchie.isDiscussionSentimentEnabled()); } - return "pages/monitoring/parts/burningQuestionsTable"; + return "pages/tblmonitoring/burningQuestionsTable"; } /** Index: lams_tool_scratchie/web/WEB-INF/tags/PageMonitor.tag =================================================================== diff -u -rb59a58136ac5d8b2c6fbf0752dc4fd3a6b5f0389 -re745a65b2a8cdd11176817c24cc93666040efccb --- lams_tool_scratchie/web/WEB-INF/tags/PageMonitor.tag (.../PageMonitor.tag) (revision b59a58136ac5d8b2c6fbf0752dc4fd3a6b5f0389) +++ lams_tool_scratchie/web/WEB-INF/tags/PageMonitor.tag (.../PageMonitor.tag) (revision e745a65b2a8cdd11176817c24cc93666040efccb) @@ -127,20 +127,43 @@ -
- -
-
-
-
-
- - -
- - +
+ + +
+
+
+
+
+ + +
+ + + + +
+ + + + Index: lams_tool_scratchie/web/pages/monitoring/monitoring.jsp =================================================================== diff -u -rbbdddbe61d1b08c08a0dbae70d8d19bdfe357307 -re745a65b2a8cdd11176817c24cc93666040efccb --- lams_tool_scratchie/web/pages/monitoring/monitoring.jsp (.../monitoring.jsp) (revision bbdddbe61d1b08c08a0dbae70d8d19bdfe357307) +++ lams_tool_scratchie/web/pages/monitoring/monitoring.jsp (.../monitoring.jsp) (revision e745a65b2a8cdd11176817c24cc93666040efccb) @@ -1,96 +1,8 @@ - - <%@ include file="/common/taglibs.jsp"%> <%@ page import="org.lamsfoundation.lams.tool.scratchie.ScratchieConstants"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -