Index: lams_tool_assessment/web/pages/learning/learning.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_assessment/web/pages/learning/learning.jsp,v diff -u -r1.37.2.18 -r1.37.2.19 --- lams_tool_assessment/web/pages/learning/learning.jsp 17 Feb 2017 03:33:42 -0000 1.37.2.18 +++ lams_tool_assessment/web/pages/learning/learning.jsp 17 Mar 2017 18:03:02 -0000 1.37.2.19 @@ -17,14 +17,12 @@ - - + - @@ -65,7 +63,6 @@ } - @@ -191,7 +188,7 @@ //autosave feature - + var autosaveInterval = "30000"; // 30 seconds interval window.setInterval( @@ -238,23 +235,6 @@ $('.btn').prop('disabled',true); } - function finishSession(){ - if (!validateAnswers()) { - return; - } - disableButtons(); - document.location.href =''; - return false; - } - - function continueReflect(){ - if (!validateAnswers()) { - return; - } - disableButtons(); - document.location.href=''; - } - function nextPage(pageNumber){ if (!validateAnswers()) { return; @@ -294,13 +274,7 @@ $('#question-area-' + questionIndex).removeClass('bg-warning'); } }); - } - - function resubmit(){ - disableButtons(); - document.location.href =""; - return false; - } + } function upOption(questionUid, idx){ var orderingArea = "#orderingArea" + questionUid; @@ -327,7 +301,7 @@ ); } - if (${!hasEditRight && mode != "teacher" && !finishedLock}) { + if (${!hasEditRight && mode != "teacher"}) { setInterval("checkLeaderProgress();", 15000);// Auto-Refresh every 15 seconds for non-leaders } @@ -348,7 +322,7 @@ function validateAnswers() { - if (${isEditingDisabled}) { + if (${!hasEditRight}) { return true; } @@ -550,14 +524,6 @@ - - - - ${assessment.passingMark} - - - -

@@ -566,11 +532,9 @@

- -
- -
-
+
+ +
@@ -600,103 +564,21 @@ <%@ include file="/common/messages.jsp"%>
- <%@ include file="parts/attemptsummary.jsp"%> - - -
- <%@ include file="parts/allquestions.jsp"%> -
-
- - <%-- Reflection entry --%> - -
- -
- -
- -
-
- -
- -
- - -

- -

-
- -

- -

-
-
+
+ <%@ include file="parts/allquestions.jsp"%> - - - - - -
- -
-
- + <%@ include file="parts/paging.jsp"%> +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +