Index: lams_admin/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_admin/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_admin/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_central/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_central/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_central/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_gradebook/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_gradebook/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_gradebook/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_learning/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_learning/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_learning/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_monitoring/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_monitoring/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_monitoring/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_assessment/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_assessment/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_assessment/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_chat/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_chat/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_daco/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_daco/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_daco/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_doku/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_doku/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_doku/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_forum/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_forum/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_forum/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_gmap/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_gmap/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_gmap/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_images/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_images/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_images/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_imscc/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_imscc/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_imscc/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_lamc/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_lamc/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_lamc/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_laqa/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u -r2f6e8f9ecfee5b8078479721374d0cbeee3d699d -rbf60766c348fc37bc6671a6bbb3778a3173b5777
--- lams_tool_laqa/web/WEB-INF/tags/PageLearner.tag (.../PageLearner.tag) (revision 2f6e8f9ecfee5b8078479721374d0cbeee3d699d)
+++ lams_tool_laqa/web/WEB-INF/tags/PageLearner.tag (.../PageLearner.tag) (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -53,6 +53,19 @@
$(document).ready(function (){
initLearnerPage(${toolSessionID});
});
+
+ function preventLearnerAutosaveFromMultipleTabs(autosaveInterval) {
+ let currentTime = new Date().getTime(),
+ lamsAutosaveTimestamp = +localStorage.getItem('lamsAutosaveTimestamp');
+ // check if autosave does not happen too often
+ if (autosaveInterval > 0 && lamsAutosaveTimestamp && lamsAutosaveTimestamp + autosaveInterval/2 > currentTime) {
+ // this label is required only in tool which implement autosave
+ alert('');
+ return false;
+ }
+ localStorage.setItem('lamsAutosaveTimestamp', currentTime);
+ return true;
+ }
Index: lams_tool_larsrc/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_larsrc/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_larsrc/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_leader/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_leader/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_leader/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_mindmap/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_mindmap/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_mindmap/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_nb/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u -r79e7f71e0b51ecc7cf933b6082e868df348d649e -rbf60766c348fc37bc6671a6bbb3778a3173b5777
--- lams_tool_nb/web/WEB-INF/tags/PageLearner.tag (.../PageLearner.tag) (revision 79e7f71e0b51ecc7cf933b6082e868df348d649e)
+++ lams_tool_nb/web/WEB-INF/tags/PageLearner.tag (.../PageLearner.tag) (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -53,6 +53,19 @@
$(document).ready(function (){
initLearnerPage(${toolSessionID});
});
+
+ function preventLearnerAutosaveFromMultipleTabs(autosaveInterval) {
+ let currentTime = new Date().getTime(),
+ lamsAutosaveTimestamp = +localStorage.getItem('lamsAutosaveTimestamp');
+ // check if autosave does not happen too often
+ if (autosaveInterval > 0 && lamsAutosaveTimestamp && lamsAutosaveTimestamp + autosaveInterval/2 > currentTime) {
+ // this label is required only in tool which implement autosave
+ alert('');
+ return false;
+ }
+ localStorage.setItem('lamsAutosaveTimestamp', currentTime);
+ return true;
+ }
Index: lams_tool_notebook/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_notebook/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_notebook/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_pixlr/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_pixlr/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_pixlr/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_preview/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_preview/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_preview/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_sbmt/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u -rcc8da354b0458144f2bce1bb4b69679bec3a8803 -rbf60766c348fc37bc6671a6bbb3778a3173b5777
--- lams_tool_sbmt/web/WEB-INF/tags/PageLearner.tag (.../PageLearner.tag) (revision cc8da354b0458144f2bce1bb4b69679bec3a8803)
+++ lams_tool_sbmt/web/WEB-INF/tags/PageLearner.tag (.../PageLearner.tag) (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -53,6 +53,19 @@
$(document).ready(function (){
initLearnerPage(${toolSessionID});
});
+
+ function preventLearnerAutosaveFromMultipleTabs(autosaveInterval) {
+ let currentTime = new Date().getTime(),
+ lamsAutosaveTimestamp = +localStorage.getItem('lamsAutosaveTimestamp');
+ // check if autosave does not happen too often
+ if (autosaveInterval > 0 && lamsAutosaveTimestamp && lamsAutosaveTimestamp + autosaveInterval/2 > currentTime) {
+ // this label is required only in tool which implement autosave
+ alert('');
+ return false;
+ }
+ localStorage.setItem('lamsAutosaveTimestamp', currentTime);
+ return true;
+ }
Index: lams_tool_scratchie/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_scratchie/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_scratchie/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_scribe/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_scribe/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_scribe/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_spreadsheet/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_spreadsheet/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_spreadsheet/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_survey/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_survey/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_survey/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_task/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_task/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_task/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_vote/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_vote/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_vote/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_whiteboard/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_whiteboard/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_whiteboard/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_wiki/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_wiki/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_wiki/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_zoom/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_tool_zoom/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_tool_zoom/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_www/web/WEB-INF/tags/PageLearner.tag
===================================================================
diff -u
--- lams_www/web/WEB-INF/tags/PageLearner.tag (revision 0)
+++ lams_www/web/WEB-INF/tags/PageLearner.tag (revision bf60766c348fc37bc6671a6bbb3778a3173b5777)
@@ -0,0 +1,163 @@
+<%@ tag body-content="scriptless" %>
+<%@ attribute name="toolSessionID" required="true" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+ ${lams}download/?uuid=${pageLearnerPortraitUuid}&preferDownload=false&version=4
+
+
+ ${lams}images/css/john-doe-portrait.jpg
+
+
+
+
+
+
+
+ LAMS ::
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file