Index: lams_admin/web/WEB-INF/tags/Page5.tag =================================================================== diff -u -r0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_admin/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96) +++ lams_admin/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -18,7 +18,7 @@ <%@ tag import="org.lamsfoundation.lams.util.Configuration"%> <%@ tag import="org.lamsfoundation.lams.util.ConfigurationKeys"%> - + true <%=Configuration.get(ConfigurationKeys.DISPLAY_PORTRAIT)%> @@ -99,7 +99,8 @@ - + + + + + + + + + + + + + + + + + + + <%-- codeStyles is a set, so each code style will be listed only once --%> + + + + + + + + + + + + + + - - - - - - - + //init options sorting feature + if (${hasEditRight}) { + $(".ordering-question-type").each(function () { + new Sortable($(this)[0], { + animation: 150, + ghostClass: 'sortable-placeholder', + direction: 'vertical', + store: { + set: function (sortable) { + //update all sequenceIds in order to later save it as options' order + for (var i = 0; i < sortable.el.children.length; i++) { + var divContainingInput = sortable.el.children[i]; + var input = $("input", $(divContainingInput)); + input.val(i); + } + } + } + }); + }); + } - - - - - - - - - + initWebsocket('assessmentTimeLimit${sessionMap.assessment.contentId}', + ''.replace('http', 'ws') + + 'learningWebsocket?toolContentID=${sessionMap.assessment.contentId}', + function (e) { + // read JSON object + var input = JSON.parse(e.data); - - - <%-- codeStyles is a set, so each code style will be listed only once --%> - - - - - - - - - - - - - + if (input.clearTimer == true) { + // teacher stopped the timer, destroy it + $('#countdown').countdown('destroy').remove(); + } else { + // teacher updated the timer + var secondsLeft = +input.secondsLeft, + counterInitialised = $('#countdown').length > 0; - - function logLearnerInteractionEvent(eventType, qbToolQuestionUid, optionUid) { - $.ajax({ - url: '', - data: { - eventType : eventType, - qbToolQuestionUid : qbToolQuestionUid, - optionUid : optionUid - }, - cache : false, - type : 'post', - dataType : 'text' - }); - } - - - +
+ + + + + + + - - - - - - - - + + + - - - + + + + + - - - - - + + + + + - - - - - +
+ +
-
- -
+ + + - - - + + + - - - + + + - - - + - -
+ <%@ include file="parts/paging.jsp"%> -
- <%@ include file="parts/paging.jsp"%> -
+
+ <%@ include file="parts/allquestions.jsp"%> +
- <%@ include file="parts/allquestions.jsp"%> + <%@ include file="parts/paging.jsp"%> - <%@ include file="parts/paging.jsp"%> -
- - -
- - - -
-
- -
- - - \ No newline at end of file +
+ + + +
+
+ \ No newline at end of file Index: lams_tool_chat/lams_tool_chat.eml =================================================================== diff -u -rf3144d7b1c275056481fd76050bad49b0ba6d06d -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_chat/lams_tool_chat.eml (.../lams_tool_chat.eml) (revision f3144d7b1c275056481fd76050bad49b0ba6d06d) +++ lams_tool_chat/lams_tool_chat.eml (.../lams_tool_chat.eml) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -1,28 +1,39 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Index: lams_tool_chat/web/WEB-INF/tags/Page5.tag =================================================================== diff -u -r0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_chat/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96) +++ lams_tool_chat/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -18,7 +18,7 @@ <%@ tag import="org.lamsfoundation.lams.util.Configuration"%> <%@ tag import="org.lamsfoundation.lams.util.ConfigurationKeys"%> - + true <%=Configuration.get(ConfigurationKeys.DISPLAY_PORTRAIT)%> @@ -99,7 +99,8 @@ - + + - - <%@ include file="websocket.jsp"%> - - - - +
-

- - -

-

-
+
+ + +
+ +
+
+ +
+
+
+ -

- - - - - - - - +
+ +
+ + - - - + + - +
-

+
+ +
- + + + - -
- - -
- +
+
-
+
- + - + - - - - - - - - - - - - +
- - - \ No newline at end of file +
+ \ No newline at end of file Index: lams_tool_doku/web/pages/learning/learning.jsp =================================================================== diff -u -r4b9716d28667d58ca04bcef7da9e500248d7344d -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_doku/web/pages/learning/learning.jsp (.../learning.jsp) (revision 4b9716d28667d58ca04bcef7da9e500248d7344d) +++ lams_tool_doku/web/pages/learning/learning.jsp (.../learning.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -1,8 +1,9 @@ <%@ include file="/common/taglibs.jsp"%> + <%-- param has higher level for request attribute --%> - + @@ -12,308 +13,295 @@ - - - <fmt:message key="label.learning.title" /> - <%@ include file="/common/header.jsp"%> - - + .lower-to-fit-countdown { + margin-top: 55px; + } + - - - - - - + + + + + //handle screenreaders + var screenCountdown = $("#screenreader-countdown"); + var hours = $("#countdown").countdown('getTimes')[4]; + var minutes = $("#countdown").countdown('getTimes')[5]; + if (screenCountdown.data("hours") != hours || screenCountdown.data("minutes") != minutes) { + var timeLeftText = " "; + if (hours > 0) { + timeLeftText += hours + " "; + } + timeLeftText += minutes + " "; + screenCountdown.html(timeLeftText); - <%@ include file="websocket.jsp"%> - - + screenCountdown.data("hours", hours); + screenCountdown.data("minutes", minutes); + } + }, + onExpiry: function(periods) { + if (isWebsocketClosed('dokuTimeLimit${sessionMap.toolContentID}')){ + console.error('Time limit websocket closed on time expire, reloading page'); + alert('Connection issue. The page will now reload.'); + document.location.reload(); + return; + } + $.blockUI({ + message: '

' + + ' ' + + '' + + '

' + }); + setTimeout(function() { + location.reload(); + }, 4000); + }, + description: "
" + }); + } + + <%@ include file="websocket.jsp"%> - - - - - - - - +
- - - - - - - - - - - - - + + + + + + + + - + + + + + + + + + + + + -

+ -
-
-
-
-
+
+ +
- - -
-
- -
-
-
- -
+
+
+
+
+
- - -

- - - -

-
- -

- -

-
-
+ + + + + - - - -
-
-
- + +
+ + + + - -
- - - - - - - - - - style="display: none" - > - - - - - - - - - - - - - -
-
+ + + - + + <%-- show no button for non-leaders until leader will finish activity --%> + - - + + + +
+
+
- - - \ No newline at end of file +
+ \ No newline at end of file Index: lams_tool_forum/web/WEB-INF/tags/Page5.tag =================================================================== diff -u -r0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_forum/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96) +++ lams_tool_forum/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -18,7 +18,7 @@ <%@ tag import="org.lamsfoundation.lams.util.Configuration"%> <%@ tag import="org.lamsfoundation.lams.util.ConfigurationKeys"%> - + true <%=Configuration.get(ConfigurationKeys.DISPLAY_PORTRAIT)%> @@ -99,7 +99,8 @@
- + + - - - - - - - - <%@ include file="/common/uppylang.jsp"%> - - + + + + + <%@ include file="/common/uppylang.jsp"%> + + - - - - - - - - - - - - - - - - -
-
-
- -
-
- - <%@ include file="/jsps/learning/message/topicform.jsp"%> -
-
-
-
- -
- + var LABEL_NOT_ALLOWED_FORMAT = ''; - - \ No newline at end of file + var UPLOAD_FILE_MAX_SIZE = '', + UPLOAD_FILE_LARGE_MAX_SIZE = '', + // convert Java syntax to JSON + EXE_FILE_TYPES = JSON.parse("[" + "${EXE_FILE_TYPES}".replace(/\.\w+/g, '"$&"') + "]"), + EXE_FILE_ERROR = ''; + + + + + + +
+ + + +
+
+ +
+ +
+ + <%@ include file="/jsps/learning/message/topicform.jsp"%> +
+
+
+
+ \ No newline at end of file Index: lams_tool_forum/web/jsps/learning/definelater.jsp =================================================================== diff -u -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_forum/web/jsps/learning/definelater.jsp (.../definelater.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) +++ lams_tool_forum/web/jsps/learning/definelater.jsp (.../definelater.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -1,54 +1,5 @@ -<%@ include file="/common/taglibs.jsp"%> -<%@ page import="org.lamsfoundation.lams.util.Configuration" %> -<%@ page import="org.lamsfoundation.lams.util.ConfigurationKeys" %> -<%=Configuration.get(ConfigurationKeys.UPLOAD_FILE_MAX_SIZE)%> -<%=Configuration.get(ConfigurationKeys.EXE_EXTENSIONS)%> - - - +<%@include file="/common/taglibs.jsp"%> + - - - <fmt:message key="activity.title" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file Index: lams_tool_forum/web/jsps/learning/edit.jsp =================================================================== diff -u -re2e85feb373e88b8ee590bdf706aa3d1e185dfc0 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_forum/web/jsps/learning/edit.jsp (.../edit.jsp) (revision e2e85feb373e88b8ee590bdf706aa3d1e185dfc0) +++ lams_tool_forum/web/jsps/learning/edit.jsp (.../edit.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -10,142 +10,118 @@ + + - - - <fmt:message key="activity.title" /> + + + - - - - - - - - - - - - - - - - - - <%@ include file="/common/uppylang.jsp"%> - - + + + + + +<%@ include file="/common/uppylang.jsp"%> + + - - - - - - + + + + - - - - - - - -
-
-
- -
-
- - <%@ include file="/jsps/learning/message/topiceditform.jsp"%> -
-
-
- -
+ } else { + // make sure the old edit form is gone, so if something goes wrong + // the user won't try to submit it again + $('#edit').remove(); + var loadString = "learning/viewMessage.do?topicID=" + rootUid + "&sessionMapID=" + response.sessionMapID + "&messageUid="+messageUid; + $.ajaxSetup({ cache: true }); + $(messDiv).load(loadString, function() { + $('#pb-msg'+messageUid).focus(); + setupJRating("?toolSessionID=${sessionMap.toolSessionID}&sessionMapID=${sessionMapID}"); + highlightMessage(); + }); + } - -
\ No newline at end of file + } else { + // No valid id? Validation failed! Assume it is the form coming back. + $('#edit').html(response); + } + hideBusy("itemAttachmentArea"); + } + }); + } // end validateForm() + else { + enableSubmitButton(); + } + return false; + }); + }); + + function cancelEdit() { + $('#edit').remove(); + } + + + + + +
+
+ +
+ +
+ + <%@ include file="/jsps/learning/message/topiceditform.jsp"%> +
+
+
\ No newline at end of file Index: lams_tool_forum/web/jsps/learning/message/bodyarea.jsp =================================================================== diff -u -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_forum/web/jsps/learning/message/bodyarea.jsp (.../bodyarea.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) +++ lams_tool_forum/web/jsps/learning/message/bodyarea.jsp (.../bodyarea.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -1,168 +1,157 @@ <%@ include file="/common/taglibs.jsp"%> - <%-- for validateForm() method --%> - + - + isNewlyInstantiated = false; - - : - - - -
- -
- -
- -
  - - <%-- Use c:out to escape any quotes in the I18N string. Then use html: true converts any escaped quotes back --%> - <%-- into real quotes. Should be safe from XSS attack as the string is coming from a translation file. --%> - -
-
+ //limit exceeded in case of CKEditor + } else if (isCkeditor) { + //detect key pressed + var key = ((evt.data === undefined) || (evt.data.$ === undefined)) ? null : evt.data.$.keyCode || evt.data.$.charCode; - - - - \ No newline at end of file + //don't block backspace and del + if (key == 8 || key == 46) { + return; + } + + //evt.cancel(); + ckeditor.execCommand( 'undo' ); + + //limit exceeded in case of textarea + } else { + this.value = this.value.substring(0, limit); + //fix a bug: when change "this.value", onchange event won't be fired any more. So this will + //manually handle onchange event. It is a kind of crack coding! + filterData(document.getElementById('message.body'),document.getElementById('message.body__lamshidden')); + } + }; + + //assign function + if (isCkeditor) { + // @todo Make this more elegant (.on('change') once we upgrade to Ckeditor 4 + //ckeditor.on('key', counter); + ckeditor.on('paste', counter); + ckeditor.on('afterCommandExec', counter); + ckeditor.on("instanceReady", function(){ + this.document.on("keyup", counter); + }); + //count characters initially + ckeditor.on('instanceReady', counter); + + } else { + $('textarea[id="message.body"]').on('change keydown keypress keyup paste', counter); + //count characters initially + counter(); + } + + + + var isCkeditor = ${sessionMap.allowRichEditor}; + var ckeditor = isCkeditor ? CKEDITOR.instances["message.body"] : null; + + //character count fuction + var counter = function() { + var value = isCkeditor ? ckeditor.getSnapshot() + : $('textarea[id="message.body"]').val(); + + var charactersCount = getNumberOfCharacters(value, isCkeditor); + + var limit = ; + var count = (limit - charactersCount) > 0 ? limit - charactersCount : 0; + $('#char-required-div').html(count); + }; + + //assign function + if (isCkeditor) { + // @todo Make this more elegant (.on('change') once we upgrade to Ckeditor 4 + ckeditor.on('paste', counter); + ckeditor.on('afterCommandExec', counter); + ckeditor.on("instanceReady", function(){ + this.document.on("keyup", counter); + }); + //count characters initially + ckeditor.on('instanceReady', counter); + + } else { + $('textarea[id="message.body"]').on('change keydown keypress keyup paste', counter); + //count characters initially + counter(); + } + + + + $('[data-bs-toggle="popover"]').each((i, el) => { + new bootstrap.Popover($(el), { + content: '', + delay: 50, + html: true + }) + }); + + }); + + +<%-- for validateForm() method --%> + + + + + + + + + <%-- Does not use general tag because this field need keep compatible with CKEditor's content --%> + ${messageForm.message.body} + + + + +
+ + : + + + + + : + +
+
+ + \ No newline at end of file Index: lams_tool_forum/web/jsps/learning/message/topicview.jsp =================================================================== diff -u -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_forum/web/jsps/learning/message/topicview.jsp (.../topicview.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) +++ lams_tool_forum/web/jsps/learning/message/topicview.jsp (.../topicview.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -1,139 +1,122 @@ -<%@ page import="org.lamsfoundation.lams.tool.forum.ForumConstants"%> <%@ include file="/common/taglibs.jsp"%> - - - - - +<%@ page import="org.lamsfoundation.lams.tool.forum.ForumConstants"%> - + - + - + - + expandable:true,initialState:'expanded', - expanderTemplate:'${prompt}', - stringCollapse:'${hide}',stringExpand:'${show}', - clickableNodeNames:true,indent:${indent}, - onNodeInitialized:function() { - if (this.level() >= 2) { - this.collapse(); - } - } - + expanderTemplate:'', + stringCollapse:'${hide}',stringExpand:'${show}', + clickableNodeNames:true,indent:${indent}, + onNodeInitialized:function() { + if (this.level() >= 2) { + this.collapse(); + } + } + + + + - - - - - - - - - - - <%-- same test & command appears at bottom of script --%> - - - - - - - - -
- - - - - - - - -
- - -
- - - - <%@ include file="msgview.jsp"%> - - -
-
- - -
- -
- + + + - - - - -
- - learning/viewTopicNext.do?sessionMapID=${sessionMapID}&topicID=${sessionMap.rootUid}&create=${topic.message.created.time}&hideReflection=${sessionMap.hideReflection}&pageLastId=${maxThreadUid}&size=${pageSize} - - " class="btn btn-xs btn-default"> -
-
+ + + + + + + <%-- same test & command appears at bottom of script --%> + + + + + + + + +
+ + + + + + + +
+ + +
+ + + + <%@ include file="msgview.jsp"%> + + +
+
+ + +
+ +
+ + + + +
+ + learning/viewTopicNext.do?sessionMapID=${sessionMapID}&topicID=${sessionMap.rootUid}&create=${topic.message.created.time}&hideReflection=${sessionMap.hideReflection}&pageLastId=${maxThreadUid}&size=${pageSize} + + " class="btn btn-sm btn-secondary"> + + +
+
\ No newline at end of file Index: lams_tool_forum/web/jsps/learning/notebook.jsp =================================================================== diff -u -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_forum/web/jsps/learning/notebook.jsp (.../notebook.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) +++ lams_tool_forum/web/jsps/learning/notebook.jsp (.../notebook.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -1,100 +1,12 @@ <%@ include file="/common/taglibs.jsp"%> -<%@ page import="org.lamsfoundation.lams.util.Configuration" %> -<%@ page import="org.lamsfoundation.lams.util.ConfigurationKeys" %> -<%=Configuration.get(ConfigurationKeys.UPLOAD_FILE_MAX_SIZE)%> -<%=Configuration.get(ConfigurationKeys.EXE_EXTENSIONS)%> - - - - - - - <fmt:message key="activity.title" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- -

- - - - - -
-
- - - -
\ No newline at end of file + \ No newline at end of file Index: lams_tool_forum/web/jsps/learning/reply.jsp =================================================================== diff -u -re2e85feb373e88b8ee590bdf706aa3d1e185dfc0 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_forum/web/jsps/learning/reply.jsp (.../reply.jsp) (revision e2e85feb373e88b8ee590bdf706aa3d1e185dfc0) +++ lams_tool_forum/web/jsps/learning/reply.jsp (.../reply.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -10,162 +10,137 @@ + + + - - - <fmt:message key="activity.title" /> + + + - + + + + + + + - - - - - - - - - - - - - - - - - <%@ include file="/common/uppylang.jsp"%> - - - - - - - - + - - - - - - - - - -
-
-
- -
-
- - <%@ include file="/jsps/learning/message/topicreplyform.jsp"%> -
-
-
-
+ + + + + + + + +
+
+ +
+ +
+ + <%@ include file="/jsps/learning/message/topicreplyform.jsp"%> +
+
+
\ No newline at end of file Index: lams_tool_forum/web/jsps/learning/submissionDeadline.jsp =================================================================== diff -u -r4506f2f22412fe355a36c51e0ce06b483b85c2e3 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_forum/web/jsps/learning/submissionDeadline.jsp (.../submissionDeadline.jsp) (revision 4506f2f22412fe355a36c51e0ce06b483b85c2e3) +++ lams_tool_forum/web/jsps/learning/submissionDeadline.jsp (.../submissionDeadline.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -4,10 +4,10 @@ + toolSessionID="${sessionMap.toolSessionID}" + submissionDeadline="${sessionMap.submissionDeadline}" + finishSessionUrl="/learning/finish.do?sessionMapID=${sessionMapID}" + continueReflectUrl="/learning/newReflection.do?sessionMapID=${sessionMapID}" + isNotebookReeditEnabled="false" + isContinueReflectButtonEnabled="${sessionMap.reflectOn && (not sessionMap.finishedLock)}" + isLastActivity="${sessionMap.isLastActivity}" /> \ No newline at end of file Index: lams_tool_forum/web/jsps/learning/viewforum.jsp =================================================================== diff -u -rabf11f48c3a772c5715c3e5caa1ecc86d62056a8 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_forum/web/jsps/learning/viewforum.jsp (.../viewforum.jsp) (revision abf11f48c3a772c5715c3e5caa1ecc86d62056a8) +++ lams_tool_forum/web/jsps/learning/viewforum.jsp (.../viewforum.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -9,219 +9,180 @@ - learning/newTopic.do?sessionMapID=${sessionMapID} + learning/newTopic.do?sessionMapID=${sessionMapID} - learning/newReflection.do?sessionMapID=${sessionMapID} + learning/newReflection.do?sessionMapID=${sessionMapID} - learning/finish.do?sessionMapID=${sessionMapID} + learning/finish.do?sessionMapID=${sessionMapID} - learning/viewForum.do?mode=${sessionMap.mode}&toolSessionID=${sessionMap.toolSessionID}&sessionMapID=${sessionMapID}&hideReflection=${sessionMap.hideReflection} + learning/viewForum.do?mode=${sessionMap.mode}&toolSessionID=${sessionMap.toolSessionID}&sessionMapID=${sessionMapID}&hideReflection=${sessionMap.hideReflection} - - - <fmt:message key="activity.title" /> + - + + + + + + + + - - - - - - - - - - + - function submitFinish() { - location.href = '${finish}'; - } - - - - - - +
+
+ +
- - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - - -
-
- - - - - -
-
-
- - - - -
-
-
- - - - - - <%@ include file="/jsps/learning/message/topiclist.jsp"%> - - - - -
-
- -
-
-
- -
-
- - -

- -

-
- -

- -

-
-
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + <%@ include file="/jsps/learning/message/topiclist.jsp"%> + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+
+
+ \ No newline at end of file Index: lams_tool_gmap/.classpath =================================================================== diff -u -rf3144d7b1c275056481fd76050bad49b0ba6d06d -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_gmap/.classpath (.../.classpath) (revision f3144d7b1c275056481fd76050bad49b0ba6d06d) +++ lams_tool_gmap/.classpath (.../.classpath) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -8,7 +8,6 @@ - Index: lams_tool_gmap/web/WEB-INF/tags/Page5.tag =================================================================== diff -u -r0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_gmap/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96) +++ lams_tool_gmap/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -18,7 +18,7 @@ <%@ tag import="org.lamsfoundation.lams.util.Configuration"%> <%@ tag import="org.lamsfoundation.lams.util.ConfigurationKeys"%> - + true <%=Configuration.get(ConfigurationKeys.DISPLAY_PORTRAIT)%> @@ -99,7 +99,8 @@ - + + - - + + + + <%@ include file="/common/uppylang.jsp"%> - - + + - - - - - + + - - - +
- <%--Advanced settings and notices-----------------------------------%> + <%--Advanced settings and notices-----------------------------------%> +
+ +
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
- -
- - - - <%--Main image---------------------------------------------------%> - -
-
-
- - <%--Comments & Ranking/Voting area----------------------------------------------%> - -
- <%@ include file="/pages/learning/parts/commentsarea.jsp"%> -
- - <%--Reflection--------------------------------------------------%> + + + + + + + + + + + + - -
-
- -
- -
-
- -
- -
- - -

- - - -

-
- -

- -

-
-
-
+ + + + + + + + + - - - -
-
-
- - <%--Bottom buttons-------------------------------------------%> + + + + + - -
style="display:none;" - > - - - - - - - - - - - - - - - - - - - -
-
+ + + + + + +
- - <%--closes lams:Page--%> + + + + + - - <%--closes footer--%> + - - \ No newline at end of file + <%--Main image---------------------------------------------------%> +
+
+
+
+
+ + <%--Comments & Ranking/Voting area-------------------------------%> +
+ <%@ include file="/pages/learning/parts/commentsarea.jsp"%> +
+
+
+ + +
+
+ + <%--Reflection--------------------------------------------------%> + + + + + + <%--Bottom buttons-------------------------------------------%> + + +
style="display:none;" + > + + + + + + + + +
+
+ +
+ \ No newline at end of file Index: lams_tool_images/web/pages/learning/parts/commentsarea.jsp =================================================================== diff -u -r664157b86d77936fc9768c5f46e7487fcf6ab87c -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_images/web/pages/learning/parts/commentsarea.jsp (.../commentsarea.jsp) (revision 664157b86d77936fc9768c5f46e7487fcf6ab87c) +++ lams_tool_images/web/pages/learning/parts/commentsarea.jsp (.../commentsarea.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -1,16 +1,19 @@ <%@ include file="/common/taglibs.jsp"%> - - - - + + + + + <%@ include file="/common/uppylang.jsp"%> - - - - - - + + + + + + + + + let itemsComplete = ${itemsComplete}; - - <%@ include file="/common/uppylang.jsp"%> + $(document).ready(function(){ + cancel(); - - - - - + function submitResourceForm() { + if ( $(this).valid() ) { + //copy value from CKEditor to textarea before ajax submit + $("textarea[id^='instructions']").each(function() { + var ckeditorData = CKEDITOR.instances[this.name].getData(); + //skip out empty values + this.value = ((ckeditorData == null) || (ckeditorData.replace(/ | |
|\s|

|<\/p>|\xa0/g, "").length == 0)) ? "" : ckeditorData; + }); - - - - function cancel(){ - $('.btn-disable-on-submit').prop('disabled', false); - $("#addresource").html(''); - } +

- function checkNew(){ - document.location.href = '?mode=${mode}&toolSessionID=${toolSessionID}&reqID=' - + new Date().getTime(); - return false; - } + + + + + + + + + + + + + - function finishSession(){ - document.location.href =''; - } + + + ${resource.miniViewNumberStr} + + - function continueReflect(){ - $('.btn-disable-on-submit').prop('disabled', true); - document.location.href=''; - } + - function hideItem(itemUid) { - if(confirm("")){ - $.ajax({ - url: '', - data: 'sessionMapID=${sessionMapID}&itemUid=' + itemUid, - cache : false, - async: false, - success: function () { - checkNew(); - } - }); - } - } - - - + +
+ +
- + +
+ +
- - - - - - - - - - - - - - - - ${resource.miniViewNumberStr} - - - - - - - - -
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
-
- -
-
- - - - - - - - - +
+ + + - - " - onclick="hideItem(${item.uid})"> - -
-
+ + + -
-
- -
- + + + + + +
+
- -
-
+
+
+ - - -
-
- -
-
-
- -
+ + + + - - -

- - - -

-
- -

- -

-
-
+
- - - -
-
- - + + + + + + + + + + + - - - - - - - - - -
-
+ +
+ + + + + + + + + - + + + - - + + + + + +
+
-
- -
\ No newline at end of file + +
+
+ + + \ No newline at end of file Index: lams_tool_leader/lams_tool_leader.eml =================================================================== diff -u -rf3144d7b1c275056481fd76050bad49b0ba6d06d -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_leader/lams_tool_leader.eml (.../lams_tool_leader.eml) (revision f3144d7b1c275056481fd76050bad49b0ba6d06d) +++ lams_tool_leader/lams_tool_leader.eml (.../lams_tool_leader.eml) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -1,28 +1,38 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Index: lams_tool_leader/web/WEB-INF/tags/Page5.tag =================================================================== diff -u -r0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_leader/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96) +++ lams_tool_leader/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -18,7 +18,7 @@ <%@ tag import="org.lamsfoundation.lams.util.Configuration"%> <%@ tag import="org.lamsfoundation.lams.util.ConfigurationKeys"%> - + true <%=Configuration.get(ConfigurationKeys.DISPLAY_PORTRAIT)%> @@ -99,7 +99,8 @@ - + + - - - - - - - - - + .ui-widget-overlay { + opacity: 0.9; + } + - - - - - - - -

- -

-

- -

-
-
-
- -
- -
- -
- -
- - - - -
-
-
- -
- - - - - - - - - - - - - - - -
- -
+ + +
+ + + + + + + + + + + + +
+
+ +
+ +
+
+ +
+ + + + +
+
+
+
+
+ +
+ + + + + +
+ +
+ + + + + \ No newline at end of file Index: lams_tool_mindmap/web/WEB-INF/tags/Page5.tag =================================================================== diff -u -r0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_mindmap/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 0ebe63b978acffe32a0c7e4a2cd63cfadf73cc96) +++ lams_tool_mindmap/web/WEB-INF/tags/Page5.tag (.../Page5.tag) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -18,7 +18,7 @@ <%@ tag import="org.lamsfoundation.lams.util.Configuration"%> <%@ tag import="org.lamsfoundation.lams.util.ConfigurationKeys"%> - + true <%=Configuration.get(ConfigurationKeys.DISPLAY_PORTRAIT)%> @@ -99,7 +99,8 @@ - + + --%> <%-- --%> <%-- --%> + -
+
-
- - -
- -
-
-
-
+
-
- - -
- - - - - - - - + + + -
- -
-
- : - - - +
+ + +
+ + + + + + + + + +
+ +
+
+ + + +
+ +
+ + + + + + <%-- Not yet implemented in back end --%> + <%-- --%> + <%-- --%> + <%-- --%> + +
+
- -
- - - - - - <%-- Not yet implemented in back end --%> - <%-- --%> - <%-- --%> - <%-- --%> - -
-
-
-
- - +
+ + +
-
-
\ No newline at end of file +
\ No newline at end of file Index: lams_tool_mindmap/web/common/taglibs.jsp =================================================================== diff -u -r8efca897f0ce254dfca5b8c0cf2f8d87b01945e5 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_mindmap/web/common/taglibs.jsp (.../taglibs.jsp) (revision 8efca897f0ce254dfca5b8c0cf2f8d87b01945e5) +++ lams_tool_mindmap/web/common/taglibs.jsp (.../taglibs.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -4,4 +4,4 @@ <%@ taglib uri="tags-fmt" prefix="fmt"%> <%@ taglib uri="tags-lams" prefix="lams"%> <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %> -<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> +<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> \ No newline at end of file Index: lams_tool_mindmap/web/pages/learning/galleryWalk.jsp =================================================================== diff -u -r8efca897f0ce254dfca5b8c0cf2f8d87b01945e5 -r81f928586161dd03042b6353f68c7d7b8279ccde --- lams_tool_mindmap/web/pages/learning/galleryWalk.jsp (.../galleryWalk.jsp) (revision 8efca897f0ce254dfca5b8c0cf2f8d87b01945e5) +++ lams_tool_mindmap/web/pages/learning/galleryWalk.jsp (.../galleryWalk.jsp) (revision 81f928586161dd03042b6353f68c7d7b8279ccde) @@ -3,34 +3,15 @@ - - - <fmt:message key="activity.title" /> + - - - - - - - + <%@ include file="websocket.jsp"%> - - - - +
-

- - -
-

-
+
+ + +
+ +
+
+
+ -

- - - - - - - - +
+ +
+ + - - - + + - - +
-

+
+ +
- + + + - -
-