Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/WEB-INF/tags/Alert.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/WEB-INF/tags/Arrow.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/WEB-INF/tags/Page.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/WEB-INF/tags/TSTable.tag'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld,v diff -u -r1.6.2.2 -r1.6.2.3 --- lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld 24 Feb 2016 12:35:52 -0000 1.6.2.2 +++ lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld 18 Mar 2016 09:01:53 -0000 1.6.2.3 @@ -432,6 +432,18 @@ /WEB-INF/tags/DefineLater.tag + Alert + /WEB-INF/tags/Alert.tag + + + Page + /WEB-INF/tags/Page.tag + + + TSTable + /WEB-INF/tags/TSTable.tag + + ImgButtonWrapper /WEB-INF/tags/ImgButtonWrapper.tag Index: lams_tool_daco/web/common/header.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/common/header.jsp,v diff -u -r1.3 -r1.3.2.1 --- lams_tool_daco/web/common/header.jsp 7 Jan 2013 10:04:33 -0000 1.3 +++ lams_tool_daco/web/common/header.jsp 18 Mar 2016 09:01:53 -0000 1.3.2.1 @@ -12,5 +12,9 @@ + + + + Index: lams_tool_daco/web/common/messages.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/common/messages.jsp,v diff -u -r1.1 -r1.1.12.1 --- lams_tool_daco/web/common/messages.jsp 3 Jul 2008 06:12:08 -0000 1.1 +++ lams_tool_daco/web/common/messages.jsp 18 Mar 2016 09:01:53 -0000 1.1.12.1 @@ -1,8 +1,8 @@ <%-- Error Messages --%> -

- -
-
-

+ + +
+
+
Index: lams_tool_daco/web/includes/css/daco.css =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/includes/css/daco.css,v diff -u -r1.9 -r1.9.2.1 --- lams_tool_daco/web/includes/css/daco.css 6 Jul 2009 07:25:49 -0000 1.9 +++ lams_tool_daco/web/includes/css/daco.css 18 Mar 2016 09:01:53 -0000 1.9.2.1 @@ -41,72 +41,29 @@ .hint { font-style: italic; } -table.recordList { /* delimeter for records in a vertical record list */ - border-bottom: thin black solid; -} - - form#recordForm input, form#recordForm textarea, form#recordForm select{ margin-top: 6px; } -.button-add-div { /* makes a "div" properly padded in tabbed environment */ - padding-left: 30px; -} div.bigNumber{ font-weight: bold; font-size: larger; padding-top: 5px; } -table#horizontalListTable { - margin: 0px; - padding: 0px; - height: 100%; +table#summaryTable table.alternative-color-inner-table{ + /* centers the table in the outer table column */ + margin: auto } -table#horizontalListTable td { /* delimeter for records in a horizontal record list */ - border-left: 1px black solid; -} - -table#recordListTable td.fixedCellHeight, table#horizontalListTable td.fixedCellHeight { - /* cells must have the same height, otherwise they will be incorrectly aligned in horizontal record list*/ - padding-left: 20px; - height: 90px; +table#summaryTable td.singleSummaryCell { vertical-align: middle; + text-align: center; } -table#horizontalListTable td#lastHorizontalQuestion{ - /* cell with the last question in a record list is smaller because of the horizontal scrollbar */ - padding-left: 20px; - height: 75px; +table#summaryTable th.singleSummaryCell { vertical-align: middle; -} - -form#recordForm table.alternative-color-inner-table td, table.recordList table.alternative-color-inner-table td, -table#horizontalListTable table.alternative-color-inner-table td, table#summaryTable table.alternative-color-inner-table td{ - /* makes the table-within-table plain, instead of repeating the style */ - margin: 0px; - padding: 0px; - border: none; - background: transparent; - vertical-align: middle; -} - -table#summaryTable td.singleSummaryCell { - vertical-align: middle; text-align: center; } table#recordListTable td.fixedCellWidth{ width: 160px; } - -td.button-cell{ - height: 30px; - padding-top: 30px; -} - -.nextActivity { - padding: 0px 20px 0px 0px; - background: url('../images/next.png') no-repeat; - background-position: right; -} \ No newline at end of file Index: lams_tool_daco/web/includes/javascript/dacoCommon.js =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/includes/javascript/dacoCommon.js,v diff -u -r1.3 -r1.3.12.1 --- lams_tool_daco/web/includes/javascript/dacoCommon.js 19 Aug 2008 03:46:41 -0000 1.3 +++ lams_tool_daco/web/includes/javascript/dacoCommon.js 18 Mar 2016 09:01:53 -0000 1.3.12.1 @@ -30,9 +30,13 @@ } function resizeHorizontalRecordListFrame(elementIdPrefix,questionListLength){ - + var horizontalRecordListFrame = document.getElementById(elementIdPrefix+'horizontalRecordListFrame'); - if (horizontalRecordListFrame!=null){ - horizontalRecordListFrame.style.height=((questionListLength+1)*111)+'px'; - } - } \ No newline at end of file + var doc = horizontalRecordListFrame.contentDocument? horizontalRecordListFrame.contentDocument : horizontalRecordListFrame.contentWindow.document; + var body = doc.body; + var html = doc.documentElement; + var height = Math.max( body.scrollHeight, body.offsetHeight, + html.clientHeight, html.scrollHeight, html.offsetHeight ); + horizontalRecordListFrame.style.height = height + 60 + "px"; + } + Index: lams_tool_daco/web/includes/javascript/dacoLearning.js =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/includes/javascript/dacoLearning.js,v diff -u -r1.5 -r1.5.12.1 --- lams_tool_daco/web/includes/javascript/dacoLearning.js 8 Aug 2008 08:10:22 -0000 1.5 +++ lams_tool_daco/web/includes/javascript/dacoLearning.js 18 Mar 2016 09:01:53 -0000 1.5.12.1 @@ -68,20 +68,14 @@ } function editRecord (sessionMapID, recordIndex){ - var param = "sessionMapID="+sessionMapID+"&recordIndex="+recordIndex+"&reqID="+((new Date()).getTime()); - new Ajax.Updater( - "addRecordDiv", - editRecordUrl, - { - method:'post', - parameters:param, - onComplete: function(){ - readHiddenFormValues(); - doSelectTab(1); - }, - evalScripts:true - } - ); + var param = {"sessionMapID":sessionMapID,"recordIndex":recordIndex,"reqID":((new Date()).getTime())}; + $( "#addRecordDiv" ).load( + editRecordUrl, + param, + function() { + readHiddenFormValues(); + // doSelectTab(1); + }); } function clearVisibleFormElements (formName,protectedFormElementNames){ @@ -113,63 +107,42 @@ function removeRecord(sessionMapID, recordIndex){ var displayedRecordNumber = document.getElementById("displayedRecordNumber").value; - var param = "sessionMapID="+sessionMapID+"&recordIndex="+recordIndex+"&displayedRecordNumber="+displayedRecordNumber+"&reqID="+((new Date()).getTime()); - new Ajax.Updater( - "recordListDiv", - removeRecordUrl, - { - method:'post', - parameters:param, - onComplete: function(){ - if (displayedRecordNumber==recordIndex){ - clearVisibleFormElements("recordForm",["sessionMapID","displayedRecordNumber"]); - displayedRecordNumber = parseInt(recordListLength); - recordListLength--; - } - else if (displayedRecordNumber > recordIndex){ - displayedRecordNumber--; - } - document.getElementById("displayedRecordNumber").value=displayedRecordNumber; - document.getElementById("displayedRecordNumberSpan").innerHTML=displayedRecordNumber; - refreshQuestionSummaries(sessionMapID); - }, - evalScripts:true - } - ); + var param = {"sessionMapID":sessionMapID,"recordIndex":recordIndex,"displayedRecordNumber":displayedRecordNumber,"reqID":((new Date()).getTime())}; + $( "#recordListDiv" ).load( + removeRecordUrl, + param, + function() { + if (displayedRecordNumber==recordIndex){ + clearVisibleFormElements("recordForm",["sessionMapID","displayedRecordNumber"]); + displayedRecordNumber = parseInt(recordListLength); + recordListLength--; + } + else if (displayedRecordNumber > recordIndex){ + displayedRecordNumber--; + } + document.getElementById("displayedRecordNumber").value=displayedRecordNumber; + document.getElementById("displayedRecordNumberSpan").innerHTML=displayedRecordNumber; + refreshQuestionSummaries(sessionMapID); + }); } function changeView(sessionMapID,displayedRecordNumber){ - var param = "sessionMapID="+sessionMapID+"&reqID="+((new Date()).getTime())+"&displayedRecordNumber="+displayedRecordNumber - +"&learningCurrentTab="+currentTab; + var param = {"sessionMapID":sessionMapID,"learningCurrentTab":currentTab,"displayedRecordNumber":displayedRecordNumber,"reqID":((new Date()).getTime())}; var previousCurrentTab = currentTab; - new Ajax.Updater( - "body", - changeViewUrl, - { - method:'post', - parameters:param, - onComplete: function(){ - var tabNumber = 1; - while (document.getElementById("tabbody"+tabNumber)!=null){ - doSelectTab(tabNumber++); - } - doSelectTab(previousCurrentTab); - }, - evalScripts: true - } - ); + $( "#body" ).load( + changeViewUrl, + param, + function() { + var tabNumber = 1; + // while (document.getElementById("tabbody"+tabNumber)!=null){ + // doSelectTab(tabNumber++); + // } + // doSelectTab(previousCurrentTab); + }); } function refreshQuestionSummaries(sessionMapID){ - var param = "sessionMapID="+sessionMapID+"&reqID="+((new Date()).getTime()); - new Ajax.Updater( - "questionSummariesDiv", - refreshQuestionSummariesUrl, - { - method:'post', - parameters:param, - evalScripts:true - } - ); + var param = {"sessionMapID":sessionMapID,"reqID":((new Date()).getTime())}; + $( "#questionSummariesDiv" ).load( refreshQuestionSummariesUrl, param); } \ No newline at end of file Index: lams_tool_daco/web/pages/learning/addRecord.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/learning/addRecord.jsp,v diff -u -r1.9 -r1.9.2.1 --- lams_tool_daco/web/pages/learning/addRecord.jsp 3 Apr 2014 12:24:13 -0000 1.9 +++ lams_tool_daco/web/pages/learning/addRecord.jsp 18 Mar 2016 09:01:52 -0000 1.9.2.1 @@ -13,27 +13,43 @@ +
+ + + + + + + + + + + + + <%@ include file="/common/messages.jsp"%> <%-- The status of the last add/edit operation. --%> -
+ + +
-
+ + +
- - - - - - - -
-

-
+ +
+ +
+
+ -

+ +

+
${displayedRecordNumber} @@ -50,7 +66,8 @@ -

+
+ @@ -60,7 +77,7 @@ - +
@@ -91,7 +108,7 @@ - + <%-- Number --%> @@ -118,11 +135,11 @@ - +   - +   @@ -153,7 +170,7 @@ <%-- It displays for example A) instead of 1) --%> - ${fn:substring(ordinal,status.index,status.index+1)})
+ ${fn:substring(ordinal,status.index,status.index+1)})  
@@ -218,38 +235,42 @@
-
- - - - -
+ +
+
+
+ + - <%-- Buttons that either move onto the next activity or display the reflection screen --%> -

-

-

- -

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

+
+ + + + + + + + +
+ + + + + + +
+
-
+ + +
\ No newline at end of file Index: lams_tool_daco/web/pages/learning/definelater.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/learning/definelater.jsp,v diff -u -r1.1.12.1 -r1.1.12.2 --- lams_tool_daco/web/pages/learning/definelater.jsp 26 Feb 2016 07:17:17 -0000 1.1.12.1 +++ lams_tool_daco/web/pages/learning/definelater.jsp 18 Mar 2016 09:01:53 -0000 1.1.12.2 @@ -10,12 +10,15 @@ -
-

- -

+ + -
- + + + + + + + Index: lams_tool_daco/web/pages/learning/learning.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/learning/learning.jsp,v diff -u -r1.12.2.1 -r1.12.2.2 --- lams_tool_daco/web/pages/learning/learning.jsp 26 Feb 2016 07:17:17 -0000 1.12.2.1 +++ lams_tool_daco/web/pages/learning/learning.jsp 18 Mar 2016 09:01:53 -0000 1.12.2.2 @@ -6,8 +6,8 @@ <fmt:message key="label.learning.title" /> + <%@ include file="/common/header.jsp"%> - <%@ include file="/common/tabbedheader.jsp"%> @@ -41,50 +41,66 @@ - -
-

- -
+ +
Index: lams_tool_daco/web/pages/learning/listRecords.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/learning/listRecords.jsp,v diff -u -r1.11.2.3 -r1.11.2.4 --- lams_tool_daco/web/pages/learning/listRecords.jsp 24 Feb 2016 12:35:52 -0000 1.11.2.3 +++ lams_tool_daco/web/pages/learning/listRecords.jsp 18 Mar 2016 09:01:53 -0000 1.11.2.4 @@ -19,7 +19,7 @@ -<%-- Wheter to display the vertical or horizontal view. --%> +<%-- Whether to display the vertical or horizontal view. --%> <%-- Some elements are displayed differently depending on the browser. --%> @@ -46,90 +46,57 @@ - - - - - - - -
-

-
+
+
+ +
+
-

- -

+ + +
-

- : ${fn:length(recordList)} -

+

: ${fn:length(recordList)}

- + - <%-- Horizontal view creates a table with question list and one large cell where iframe with records is displayed --%> - - - - - - - - - - - - - - - -
- <%-- Link that displayes the horizontal record list --%> - - - - - - - - -
-
${questionStatus.index+1}
- -
-
+ <%-- Link that displays the horizontal record list --%> + + + + + + + +
+ +<%-- + --%> <%-- Vertical view displays records as separate tables of answers. --%> - - - + +
+
+  ${recordStatus.index+1} <%-- If the record can be edited, display these links. --%> -
- + " + onclick="javascript:editRecord('${sessionMapID}',${recordStatus.index+1})"> + " + onclick="javascript:removeRecord('${sessionMapID}',${recordStatus.index+1})"> - -
- ${recordStatus.index+1} - - " - onclick="javascript:editRecord('${sessionMapID}',${recordStatus.index+1})" /> - - " - onclick="javascript:removeRecord('${sessionMapID}',${recordStatus.index+1})" /> -
- - + +
<%-- "Generated" means that the table for a long/lat question was already generated and the current answer only needs to be filled in in the existing textfield. @@ -181,20 +148,10 @@ - + - + @@ -220,7 +177,7 @@ - +   ${answer.fileName} @@ -243,7 +200,7 @@ - +   @@ -299,9 +256,10 @@
+
-
-
+
+ Index: lams_tool_daco/web/pages/learning/listRecordsHorizontalPart.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/learning/listRecordsHorizontalPart.jsp,v diff -u -r1.9.2.4 -r1.9.2.5 --- lams_tool_daco/web/pages/learning/listRecordsHorizontalPart.jsp 26 Feb 2016 07:17:17 -0000 1.9.2.4 +++ lams_tool_daco/web/pages/learning/listRecordsHorizontalPart.jsp 18 Mar 2016 09:01:53 -0000 1.9.2.5 @@ -4,7 +4,6 @@ <%@ include file="/common/taglibs.jsp"%> - <%@ include file="/common/header.jsp"%> @@ -18,7 +17,7 @@ <%-- It contains users info divided into sessions. --%> - + <%-- To enable the table to have maximum height. --%>