Index: lams_tool_assessment/web/pages/learning/learning.jsp =================================================================== diff -u -rb98f30903ddbc02662891534c9e5e1dee75c64ce -r266e68296c15e97a58ce1c8252ca55d417b414a0 --- lams_tool_assessment/web/pages/learning/learning.jsp (.../learning.jsp) (revision b98f30903ddbc02662891534c9e5e1dee75c64ce) +++ lams_tool_assessment/web/pages/learning/learning.jsp (.../learning.jsp) (revision 266e68296c15e97a58ce1c8252ca55d417b414a0) @@ -1,673 +1,403 @@ -<%@ include file="/common/taglibs.jsp"%> - -<%-- param has higher level for request attribute --%> - - - - - - - - - - - - - - - +<%-- If you change this file, remember to update the copy made for CNG-36 --%> + +<%@ include file="/common/taglibs.jsp"%> - + + <%@ include file="/common/header.jsp"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + <%-- param has higher level for request attribute --%> + + - <%-- codeStyles is a set, so each code style will be listed only once --%> - - - - - - - - - - - - - - - - //autocomplete for VSA - $('.ui-autocomplete-input').each(function(){ - $(this).autocomplete({ - 'source' : '?questionUid=' + $(this).data("question-uid"), - 'delay' : 500, - 'minLength' : 3 - }); - }); - - // show etherpads only on Discussion expand - $('.question-etherpad-collapse').on('show.bs.collapse', function(){ - var etherpad = $('.etherpad-container', this); - if (!etherpad.hasClass('initialised')) { - var id = etherpad.attr('id'), - groupId = id.substring('etherpad-container-'.length); - etherpadInitMethods[groupId](); - } - }); - - <%-- Connect to command websocket only if it is learner UI --%> - - // command websocket stuff for refreshing - // trigger is an unique ID of page and action that command websocket code in Page.tag recognises - commandWebsocketHookTrigger = 'assessment-leader-triggered-refresh-${toolSessionID}'; - // if the trigger is recognised, the following action occurs - commandWebsocketHook = function() { - location.reload(); - }; - - }); - - function countHedgeQuestionSelectTotal(questionIndex) { - var totalSelected = 0; - $("select[name^=question" + questionIndex + "_]").each(function() { - totalSelected += eval(this.value); - }); - return totalSelected; - } + + + + + + + + + + + + + - //boolean to indicate whether ok dialog is still ON so that autosave can't be run - // var isWaitingForConfirmation = ${isTimeLimitEnabled && sessionMap.isTimeLimitNotLaunched}; + + + + + - - - // TIME LIMIT + + + + - - - - - - + + + + + + + + + + + + + - - - + + + ${resource.miniViewNumberStr} - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - <%@ include file="parts/allquestions.jsp"%> - - <%@ include file="parts/paging.jsp"%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + () + + + + + + + + + + + + + + + + + + + " + onclick="hideItem(${item.uid})"> + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - \ No newline at end of file +
+ + + +
+ +