Index: lams_tool_forum/conf/language/lams/ApplicationResources_en_AU.properties =================================================================== diff -u -ra455dd0a59c45ffc1d9f9ebd34f33f158bc08d46 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision a455dd0a59c45ffc1d9f9ebd34f33f158bc08d46) +++ lams_tool_forum/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -243,3 +243,5 @@ outcome.authoring.existing = Added outcomes outcome.authoring.existing.none = none outcome.authoring.remove.confirm = Are you sure you want to remove this learning outcome? +label.download = Download + Index: lams_tool_forum/web/common/taglibs.jsp =================================================================== diff -u -r9cbba0026b9584b2e4bcba57f0d5a8510bdb5846 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/common/taglibs.jsp (.../taglibs.jsp) (revision 9cbba0026b9584b2e4bcba57f0d5a8510bdb5846) +++ lams_tool_forum/web/common/taglibs.jsp (.../taglibs.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -7,3 +7,4 @@ <%@ taglib uri="csrfguard" prefix="csrf" %> <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %> +<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> Index: lams_tool_forum/web/includes/javascript/learner.js =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/includes/javascript/learner.js (.../learner.js) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_forum/web/includes/javascript/learner.js (.../learner.js) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,13 +1,11 @@ function removeAtt(mapID){ - $("#itemAttachmentArea").load( removeItemAttachmentUrl + "?sessionMapID="+ mapID, { sessionMapID: mapID, reqID: (new Date()).getTime() } ); - } function validateForm() { Index: lams_tool_forum/web/includes/javascript/message.js =================================================================== diff -u -rbc66c534c18e8e49ce8ed510418400cbc56fd605 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/includes/javascript/message.js (.../message.js) (revision bc66c534c18e8e49ce8ed510418400cbc56fd605) +++ lams_tool_forum/web/includes/javascript/message.js (.../message.js) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -169,4 +169,7 @@ }) } }) + + //assign uppy's button id, so we can assign label to it + $("#image-upload-area button").first().attr("id","uppy-upload-button"); } Index: lams_tool_forum/web/jsps/learning/create.jsp =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/create.jsp (.../create.jsp) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/jsps/learning/create.jsp (.../create.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -11,102 +11,75 @@ - - - <fmt:message key="activity.title" /> + + - + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - + + + + enableSubmitButton(); + return false; + } + +
- + method="post" focus="message.subject" enctype="multipart/form-data"> - - - - -
-
-
- -
-
- - <%@ include file="/jsps/learning/message/topicform.jsp"%> -
+
+
+
-
- - - - - - - \ No newline at end of file + +
+ + <%@ include file="/jsps/learning/message/topicform.jsp"%> +
+
+ +
+ Index: lams_tool_forum/web/jsps/learning/edit.jsp =================================================================== diff -u -rfe19797ec82718905555353176ed719bec11043e -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/edit.jsp (.../edit.jsp) (revision fe19797ec82718905555353176ed719bec11043e) +++ lams_tool_forum/web/jsps/learning/edit.jsp (.../edit.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -10,69 +10,49 @@ + + - - - <fmt:message key="activity.title" /> - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - + + + + function cancelEdit() { + $('#edit').remove(); + } + + + + - +
+
+ +
- - - - -
-
-
- -
-
- - <%@ include file="/jsps/learning/message/topiceditform.jsp"%> -
-
-
- - - - - \ No newline at end of file +
+ + <%@ include file="/jsps/learning/message/topiceditform.jsp"%> +
+
+
Index: lams_tool_forum/web/jsps/learning/message/bodyarea.jsp =================================================================== diff -u -r994d5bec48c15103f6659201a83e5f5a9aca657d -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/message/bodyarea.jsp (.../bodyarea.jsp) (revision 994d5bec48c15103f6659201a83e5f5a9aca657d) +++ lams_tool_forum/web/jsps/learning/message/bodyarea.jsp (.../bodyarea.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,35 +1,9 @@ <%@ include file="/common/taglibs.jsp"%> - <%-- for validateForm() method --%> - - - - - - - - - - <%-- Does not use general tag because this field need keep compatible with CKEditor's content --%> - ${messageForm.message.body} - - - - -
- -
+ - - - - : - - - -
- -
-
- - - -
-   - - - - - <%-- 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. --%> - - - -
-
+ + }); + -
-
+<%-- 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 + + : + +
+
+ + \ No newline at end of file Index: lams_tool_forum/web/jsps/learning/message/msgattachment.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/message/msgattachment.jsp (.../msgattachment.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_forum/web/jsps/learning/message/msgattachment.jsp (.../msgattachment.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,26 +1,40 @@ <%@ include file="/common/taglibs.jsp" %> - + + : + +
    - - : - - download/?uuid=${file.fileDisplayUuid}&versionID=${file.fileVersionId}&preferDownload=true - - -
    -
    +
  • + + + + download/?uuid=${file.fileDisplayUuid}&versionID=${file.fileVersionId}&preferDownload=true + + + + + + + +
  • +
- - -
- + +
+
Index: lams_tool_forum/web/jsps/learning/message/msgview.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/message/msgview.jsp (.../msgview.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_forum/web/jsps/learning/message/msgview.jsp (.../msgview.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,11 +1,8 @@ -<%@ page import="org.lamsfoundation.lams.tool.forum.ForumConstants"%> + <%@ include file="/common/taglibs.jsp"%> - -<%-- msgDto, messageUid, msgLevel needs to be in the session elsewhere --%> - +<%@ page import="org.lamsfoundation.lams.tool.forum.ForumConstants"%> - highlight @@ -15,21 +12,14 @@ +<%-- msgDto, messageUid, msgLevel needs to be in the session elsewhere --%> <%-- outermsg${msgDto.message.uid} is used to replace existing message areas when a message is edited. --%> - - -
-
- - -
-
px;" id="outermsg${msgDto.message.uid}"> - - +
style="margin-left: ${(msgDto.level-1)*indent}px;" > -
-
-
+
+
+
@@ -43,79 +33,90 @@ -
- -
+
+ +
- - - - - -   - - -
- -
- - - - - : - - - - ${msgAuthor} () + + - ${msgAuthor} +   - - - + +
+ +
+ + + + + : - - + + + + ${msgAuthor} () + + + ${msgAuthor} + + - - - - ${msgAuthor} + + + + + + + + + ${msgAuthor} + + - - - - - - + + + + + -
-
+
-
- +
+ + - + +   -
- +
+ +   + + download/?uuid=${file.fileDisplayUuid}&versionID=${file.fileVersionId}&preferDownload=true - + + + + +   @@ -125,9 +126,16 @@
-   + +   + + -
  +
+ +   + + @@ -140,12 +148,12 @@
-
- -<%-- Close the 2 divs from the choose --%>
-
Index: lams_tool_forum/web/jsps/learning/message/msgviewwrapper.jsp =================================================================== diff -u -r62aaf160878735888d077bf28fac3c1989bb8fbd -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/message/msgviewwrapper.jsp (.../msgviewwrapper.jsp) (revision 62aaf160878735888d077bf28fac3c1989bb8fbd) +++ lams_tool_forum/web/jsps/learning/message/msgviewwrapper.jsp (.../msgviewwrapper.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,34 +1,21 @@ - -<%-- Wraps up msgview.jsp for returning a single message - called when an edit is performed. It needs to do all the setup that topicview.jsp normally does. --%> - <%@ include file="/common/taglibs.jsp"%> +<%-- Wraps up msgview.jsp for returning a single message - called when an edit is performed. It needs to do all the setup that topicview.jsp normally does. --%> + <%@ include file="msgview.jsp"%> - + Index: lams_tool_forum/web/jsps/learning/message/topiceditform.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/message/topiceditform.jsp (.../topiceditform.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_forum/web/jsps/learning/message/topiceditform.jsp (.../topiceditform.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,14 +1,20 @@ <%@ include file="/common/taglibs.jsp"%>
- -   - + +   +
-
+ +
+ <%@include file="bodyarea.jsp"%>
@@ -22,10 +28,27 @@
+ +
+ + + + + +
+
+
- - "/> +
Index: lams_tool_forum/web/jsps/learning/message/topicform.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/message/topicform.jsp (.../topicform.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_forum/web/jsps/learning/message/topicform.jsp (.../topicform.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,35 +1,45 @@ <%@ include file="/common/taglibs.jsp"%>
- -   + +
-
+ +
+ <%@include file="bodyarea.jsp"%>
- - -
+ + +
- +
learning/viewForum.do?toolSessionID=${sessionMap.toolSessionID}&hideReflection=${sessionMap.hideReflection} -" class="btn btn-primary mt-2 float-end" id="submitButton"/> + -  + Index: lams_tool_forum/web/jsps/learning/message/topiclist.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/message/topiclist.jsp (.../topiclist.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_forum/web/jsps/learning/message/topiclist.jsp (.../topiclist.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,60 +1,57 @@ -<%@ page import="org.lamsfoundation.lams.tool.forum.ForumConstants"%> <%@ include file="/common/taglibs.jsp"%> - +<%@ page import="org.lamsfoundation.lams.tool.forum.ForumConstants"%> + + + - -
-
+
+
- -
- - - - - - -
- -
-
+ +
- - - - - - - - - - - - - - - - - - + - +
+ +
- - +
+ +
+ +
-
- - - - - - -
 
- learning/viewTopic.do?sessionMapID=${sessionMapID}&topicID=${topic.message.uid}&create=${topic.message.created.time}&hideReflection=${sessionMap.hideReflection}&pageLastId=0&size=${pageSize} - - - - - - - - - - - - <%-- Author Name --%> +
+
+
+
+
+
+
+ +
 
+
+
+ + +
+
+ + learning/viewTopic.do?sessionMapID=${sessionMapID}&topicID=${topic.message.uid}&create=${topic.message.created.time}&hideReflection=${sessionMap.hideReflection}&pageLastId=0&size=${pageSize} + + + + + + + + + + + + + + +
+ +
<%-- Author Name --%> @@ -87,27 +84,29 @@ -
${topic.numOfPosts}/${sessionMap.minimumReply}
+ +
+ + +
+ ${topic.numOfPosts}/${sessionMap.minimumReply} +
+
+
+ +
- - Index: lams_tool_forum/web/jsps/learning/message/topicreplyform.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/message/topicreplyform.jsp (.../topicreplyform.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_forum/web/jsps/learning/message/topicreplyform.jsp (.../topicreplyform.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,22 +1,30 @@ <%@ include file="/common/taglibs.jsp"%>
-   - -   + + +
+
-
+ +
+ <%@include file="bodyarea.jsp"%>
- +
- - -
+ + +
@@ -26,10 +34,27 @@ + +
+ + + + + +
+
+
- - "/> + +
Index: lams_tool_forum/web/jsps/learning/message/topicview.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/message/topicview.jsp (.../topicview.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_forum/web/jsps/learning/message/topicview.jsp (.../topicview.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,25 +1,13 @@ -<%@ 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}', + expanderTemplate:'', stringCollapse:'${hide}',stringExpand:'${show}', clickableNodeNames:true,indent:${indent}, onNodeInitialized:function() { @@ -29,20 +17,10 @@ } + + + @@ -111,7 +92,6 @@ - @@ -121,12 +101,6 @@
- - Index: lams_tool_forum/web/jsps/learning/message/topicviewwrapper.jsp =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/message/topicviewwrapper.jsp (.../topicviewwrapper.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_forum/web/jsps/learning/message/topicviewwrapper.jsp (.../topicviewwrapper.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,17 +1,11 @@ - - - <%@ include file="/common/taglibs.jsp"%> - - - - - - + + + <%@ include file="topicview.jsp"%> Index: lams_tool_forum/web/jsps/learning/notebook.jsp =================================================================== diff -u -r94b2225ee897f0a10318b17e1c692f2ccbb1e36b -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/notebook.jsp (.../notebook.jsp) (revision 94b2225ee897f0a10318b17e1c692f2ccbb1e36b) +++ lams_tool_forum/web/jsps/learning/notebook.jsp (.../notebook.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -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 + Index: lams_tool_forum/web/jsps/learning/ratingStars.jsp =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/ratingStars.jsp (.../ratingStars.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_forum/web/jsps/learning/ratingStars.jsp (.../ratingStars.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -14,7 +14,6 @@
- @@ -25,7 +24,6 @@ ${msgDto.numberOfVotes} -
\ No newline at end of file Index: lams_tool_forum/web/jsps/learning/reply.jsp =================================================================== diff -u -r994d5bec48c15103f6659201a83e5f5a9aca657d -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/reply.jsp (.../reply.jsp) (revision 994d5bec48c15103f6659201a83e5f5a9aca657d) +++ lams_tool_forum/web/jsps/learning/reply.jsp (.../reply.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -10,70 +10,50 @@ + + + - - - <fmt:message key="activity.title" /> - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - + + + - - + }); - - - + function cancelReply() { + $('#reply').remove(); + } + - + + -
-
-
- -
-
- - <%@ include file="/jsps/learning/message/topicreplyform.jsp"%> -
-
-
-
- - -
\ No newline at end of file +
+
+ +
+ +
+ + <%@ include file="/jsps/learning/message/topicreplyform.jsp"%> +
+
+ Index: lams_tool_forum/web/jsps/learning/viewforum.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/viewforum.jsp (.../viewforum.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_forum/web/jsps/learning/viewforum.jsp (.../viewforum.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -21,207 +21,170 @@ learning/viewForum.do?mode=${sessionMap.mode}&toolSessionID=${sessionMap.toolSessionID}&sessionMapID=${sessionMapID}&hideReflection=${sessionMap.hideReflection}
- - - <fmt:message key="activity.title" /> - - - - - + - - - - - - - - - - - - - + + + + + - + function submitFinish() { + location.href = '${finish}'; + } + function continueReflect() { + location.href='${continue}'; + } + + - - - - - +
+
+ +
-
- -
+ + + + + + + + - - - - - - - - - - - - - + + + + - - - + + + - - - - - - - - - + + + + + + + + + + - - + + - - - + + + + - - - - - - - - - -
-
+ + + + + + + + + +
+
- - - - -
-
+ + + + +
+
- - - - -
-
-
+ + + + +
+
+
- - - -
-
- - + + + + + + - + - - <%@ include file="/jsps/learning/message/topiclist.jsp"%> - + + <%@ include file="/jsps/learning/message/topiclist.jsp"%> - - -
-
- -
-
-
- -
-
- - -

- -

-
- -

- -

-
-
-
- - - -
-
-
- + + + + - - - - - - - - - + +
+ + + + + + + + + + + - - - - - - - \ No newline at end of file + + + + + +
+
+
+ Index: lams_tool_forum/web/jsps/learning/viewtopic.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -re8e86d379857a349822a501189888545e69e56ac --- lams_tool_forum/web/jsps/learning/viewtopic.jsp (.../viewtopic.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_forum/web/jsps/learning/viewtopic.jsp (.../viewtopic.jsp) (revision e8e86d379857a349822a501189888545e69e56ac) @@ -1,44 +1,30 @@ - -<%@ page import="org.lamsfoundation.lams.tool.forum.ForumConstants"%> - <%@ include file="/common/taglibs.jsp"%> - - - - - - - +<%@ page import="org.lamsfoundation.lams.tool.forum.ForumConstants"%> + + - - - <fmt:message key="activity.title" /> + - - - - - - - - + var reqIDVar = new Date(); + location.href= '${refresh}'; + } + +
+ - - + @@ -90,12 +73,12 @@ - + - - + + @@ -104,13 +87,13 @@ - + - + @@ -121,45 +104,46 @@ - - + - + - - -
-
- - - - learning/viewForum.do?mode=${sessionMap.mode}&sessionMapID=${sessionMapID}&toolSessionID=${sessionMap.toolSessionID}&hideReflection=${sessionMap.hideReflection} - - -
-
- +
+ + learning/viewForum.do?mode=${sessionMap.mode}&sessionMapID=${sessionMapID}&toolSessionID=${sessionMap.toolSessionID}&hideReflection=${sessionMap.hideReflection} + + + + +
- ${buttonPanel} +
+ ${buttonPanel} +
<%@ include file="message/topicview.jsp"%>
${buttonPanel} - - - - \ No newline at end of file +
+