Index: lams_tool_scratchie/web/pages/learning/learning.jsp =================================================================== diff -u -r79123cc650a4028c6dfa0e931d9a074b07234be3 -rbbe6b21a663059e2539bc0ea5ce761445b5ae1c1 --- lams_tool_scratchie/web/pages/learning/learning.jsp (.../learning.jsp) (revision 79123cc650a4028c6dfa0e931d9a074b07234be3) +++ lams_tool_scratchie/web/pages/learning/learning.jsp (.../learning.jsp) (revision bbe6b21a663059e2539bc0ea5ce761445b5ae1c1) @@ -15,29 +15,25 @@ - - - <fmt:message key="label.learning.title" /> + + - + - + - - - + - @@ -265,26 +261,26 @@ //add new VSA answer to the table (required in case user entered answer not present in the previous answers) function paintNewVsaAnswer(itemUid, answer) { - var optionsLength = $("table#scratches-" + itemUid + " tr").length; + var optionsLength = $("#scratches #scratches-" + itemUid + " .row").length; var idSuffix = '-' + itemUid + '-' + hashCode(answer); var trElem = - '' + - '' + + '
' + + '
' + '' + - '' + + '
' + - '' + + '
' + '
' + xmlEscape(answer) + '
' + '
' + '
' + '' + '
' + - '' + - ''; - $("table#scratches-" + itemUid).append(trElem); + '
' + + '
'; + $(".table#scratches-" + itemUid).append(trElem); } function checkAllCorrectMcqAnswersFound() { @@ -296,7 +292,7 @@ } else { $('#finishButton').prop('disabled', false) .css('pointer-events', 'auto') - .parent().tooltip('destroy'); + .parent().tooltip('dispose'); } } @@ -326,7 +322,7 @@ // time limit feature function displayCountdown(secondsLeft){ - var countdown = '
' + var countdown = '
' $.blockUI({ message: countdown, showOverlay: false, @@ -357,7 +353,7 @@ } }, onExpiry: function(periods) { - $.blockUI({ message: '

' }); + $.blockUI({ message: '

' }); setTimeout(function() { if (${isUserLeader}) { @@ -453,8 +449,7 @@ scratchieWebsocketPingFunc(true); }; - - + //autosave feature var autosaveInterval = "60000"; // 60 seconds interval @@ -475,7 +470,7 @@ url: "learning/autosaveBurningQuestions.do?sessionMapID=${sessionMapID}&date=" + new Date().getTime(), success: function() { $.jGrowl( - " ", + " ", { life: 2000, closeTemplate: '' } ); } @@ -505,51 +500,44 @@ return false; } -
- - - +
-
- +
+ ${score} ${scorePercentage} - +
-
-
-
- -
-
-
+ + +
-
+
- + - + -
-

+
+

- +
<%@ include file="questionlist.jsp"%>
- - - - - \ No newline at end of file + +

+