Index: lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/action/MonitoringAction.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/action/MonitoringAction.java,v diff -u -r1.16.2.3 -r1.16.2.4 --- lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/action/MonitoringAction.java 11 May 2016 07:35:22 -0000 1.16.2.3 +++ lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/action/MonitoringAction.java 3 Jun 2016 00:18:11 -0000 1.16.2.4 @@ -237,16 +237,16 @@ Set completedTaskUids = userDto.getCompletedTaskUids(); for (TaskListItem item : items) { String completionImage = completedTaskUids.contains(item.getUid()) - ? "" - : ""; + ? "" + : ""; userData.put(completionImage); } if (tasklist.isMonitorVerificationRequired()) { String label = StringEscapeUtils.escapeHtml(service.getMessage("label.confirm")); String verificationStatus = userDto.isVerifiedByMonitor() - ? "" + ? "" : "" + label + ""; @@ -321,8 +321,8 @@ userData.put(fullName); String completionImage = userDto.isCompleted() - ? "" - : ""; + ? "" + : ""; userData.put(completionImage); String accessDate = (userDto.getAccessDate() == null) ? "" Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/WEB-INF/tags/AdvancedAccordian.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/WEB-INF/tags/Arrow.tag'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_task/web/WEB-INF/tags/AuthoringButton.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/WEB-INF/tags/AuthoringButton.tag,v diff -u -r1.13 -r1.13.2.1 --- lams_tool_task/web/WEB-INF/tags/AuthoringButton.tag 23 Jul 2013 17:52:37 -0000 1.13 +++ lams_tool_task/web/WEB-INF/tags/AuthoringButton.tag 3 Jun 2016 00:18:11 -0000 1.13.2.1 @@ -122,12 +122,12 @@ window.close(); } -

- - - - +

+ -

+ + + +
\ No newline at end of file Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/WEB-INF/tags/AuthoringRatingCriteria.tag'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_task/web/WEB-INF/tags/CKEditor.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/WEB-INF/tags/CKEditor.tag,v diff -u -r1.14.2.1 -r1.14.2.2 --- lams_tool_task/web/WEB-INF/tags/CKEditor.tag 3 Sep 2014 13:19:22 -0000 1.14.2.1 +++ lams_tool_task/web/WEB-INF/tags/CKEditor.tag 3 Jun 2016 00:18:10 -0000 1.14.2.2 @@ -10,7 +10,12 @@ <%@ attribute name="contentFolderID" required="false" rtexprvalue="true"%> <%@ attribute name="displayExpanded" required="false" rtexprvalue="true"%> <%@ attribute name="resizeParentFrameName" required="false" rtexprvalue="true"%> +<%@ attribute name="method" required="false" rtexprvalue="true"%> + + + + @@ -19,6 +24,10 @@ + + ${toolbarSet}Inline + + @@ -33,10 +42,10 @@ - + - ckeditor/ + /lams/ckeditor/ @@ -59,10 +68,9 @@ var editor = CKEDITOR.instances["${id}"]; if (editor) { editor.destroy(true); } - var instance = CKEDITOR.replace( "${id}", { + var instance = CKEDITOR.${method}( "${id}", { width : "${width}", height : "${height}", - autoGrow_minHeight : "${height}".replace("px", ""), toolbar : "${toolbarSet}", language : "${language}", defaultLangugage : "en", Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/WEB-INF/tags/Comments.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/WEB-INF/tags/CommentsAuthor.tag'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_task/web/WEB-INF/tags/Page.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/WEB-INF/tags/Attic/Page.tag,v diff -u -r1.1.2.2 -r1.1.2.3 --- lams_tool_task/web/WEB-INF/tags/Page.tag 6 Mar 2016 08:23:23 -0000 1.1.2.2 +++ lams_tool_task/web/WEB-INF/tags/Page.tag 3 Jun 2016 00:18:11 -0000 1.1.2.3 @@ -12,25 +12,38 @@
+ + + + + +
-
- + +
- - - - -
+ + + +
+
+
+
+
+ + + + Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/WEB-INF/tags/Rating.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/WEB-INF/tags/RestrictedUsageAccordian.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/WEB-INF/tags/TSTable.tag'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_task/web/WEB-INF/tags/Tab.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/WEB-INF/tags/Tab.tag,v diff -u -r1.2 -r1.2.12.1 --- lams_tool_task/web/WEB-INF/tags/Tab.tag 7 Mar 2008 05:39:44 -0000 1.2 +++ lams_tool_task/web/WEB-INF/tags/Tab.tag 3 Jun 2016 00:18:11 -0000 1.2.12.1 @@ -1,85 +1,89 @@ -<% - /**************************************************************** - * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) - * ============================================================= - * License Information: http://lamsfoundation.org/licensing/lams/2.0/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2.0 - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 - * USA - * - * http://www.gnu.org/licenses/gpl.txt - * **************************************************************** - */ - - /** - * Tab.tag - * Author: Mitchell Seaton - * Description: Creates a tab element. - * Wiki: - */ -%> -<%@ tag body-content="empty"%> -<%@ attribute name="id" required="true" rtexprvalue="true"%> -<%@ attribute name="value" required="false" rtexprvalue="true"%> -<%@ attribute name="key" required="false" rtexprvalue="true"%> -<%@ attribute name="inactive" required="false" rtexprvalue="true"%> -<%@ attribute name="methodCall" required="false" rtexprvalue="true"%> - -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-fmt" prefix="fmt"%> -<%@ taglib uri="tags-lams" prefix="lams"%> - -<%-- Check if bundle is set --%> - - - - - - - - - - -<%-- - Usually methodCall is selectTab, but the calling code can override methodCall if desired. - this is handy if the page needs different logic on initialisation and user switching tabs ---%> - - - - - - - - - - - - - - - - - - - +<% + /**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ + + /** + * Tab.tag + * Author: Fiona Malikoff + * Description: Creates a tab element within the Hybrid Tab Header. + * Wiki: + */ +%> +<%@ tag body-content="empty"%> +<%@ attribute name="id" required="true" rtexprvalue="true"%> +<%@ attribute name="value" required="false" rtexprvalue="true"%> +<%@ attribute name="key" required="false" rtexprvalue="true"%> +<%@ attribute name="inactive" required="false" rtexprvalue="true"%> +<%@ attribute name="methodCall" required="false" rtexprvalue="true"%> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + +<%-- Check if bundle is set --%> + + + + + + + + + + +<%-- + Usually methodCall is selectTab, but the calling code can override methodCall if desired. + this is handy if the page needs different logic on initialisation and user switching tabs + + -- onclick="${methodCall}(${id});return false;"> + +--%> + + + + + + + + + + + + + + + + + + + + + class="active" + + + + + class="disabled" + + +
  • ${tabTitle}
  • Index: lams_tool_task/web/WEB-INF/tags/TabBody.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/WEB-INF/tags/TabBody.tag,v diff -u -r1.2 -r1.2.12.1 --- lams_tool_task/web/WEB-INF/tags/TabBody.tag 7 Mar 2008 05:39:44 -0000 1.2 +++ lams_tool_task/web/WEB-INF/tags/TabBody.tag 3 Jun 2016 00:18:10 -0000 1.2.12.1 @@ -1,52 +1,44 @@ -<%/**************************************************************** - * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) - * ============================================================= - * License Information: http://lamsfoundation.org/licensing/lams/2.0/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2.0 - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 - * USA - * - * http://www.gnu.org/licenses/gpl.txt - * **************************************************************** - */ - -/** - * TabBody.tag - * Author: Mitchell Seaton - * Description: Creates the body container for a tab element - * Wiki: - */ - - %> -<%@ tag body-content="scriptless"%> -<%@ attribute name="id" required="true" rtexprvalue="true"%> -<%@ attribute name="tabTitle" required="false" rtexprvalue="true"%> -<%@ attribute name="titleKey" required="false" rtexprvalue="true"%> -<%@ attribute name="page" required="false" rtexprvalue="true"%> -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-bean" prefix="bean"%> - - -
    - - - - - - - - - -
    - +<%/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ + +/** + * TabBody.tag + * Author: Mitchell Seaton + * Description: Creates the body container for a tab element + * Wiki: + */ + +%> +<%@ attribute name="id" required="true" rtexprvalue="true"%> +<%@ attribute name="tabTitle" required="false" rtexprvalue="true"%> +<%@ attribute name="titleKey" required="false" rtexprvalue="true"%> +<%@ attribute name="page" required="false" rtexprvalue="true"%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-bean" prefix="bean"%> + + + + active + + +
    Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/WEB-INF/tags/TabBodyArea.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/WEB-INF/tags/TabBodys.tag'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_task/web/WEB-INF/tags/Tabs.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/WEB-INF/tags/Tabs.tag,v diff -u -r1.2 -r1.2.12.1 --- lams_tool_task/web/WEB-INF/tags/Tabs.tag 7 Mar 2008 05:39:44 -0000 1.2 +++ lams_tool_task/web/WEB-INF/tags/Tabs.tag 3 Jun 2016 00:18:11 -0000 1.2.12.1 @@ -1,69 +1,92 @@ -<%/**************************************************************** - * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) - * ============================================================= - * License Information: http://lamsfoundation.org/licensing/lams/2.0/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2.0 - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 - * USA - * - * http://www.gnu.org/licenses/gpl.txt - * **************************************************************** - */ - -/** - * Tabs.tag - * Author: Mitchell Seaton - * Description: Create a tab list from a input collection or nested Tab tags. - * Wiki: - */ - - %> -<%@ tag body-content="scriptless"%> -<%@ attribute name="collection" type="java.util.Collection" required="false" rtexprvalue="true"%> -<%@ attribute name="control" required="false" rtexprvalue="true"%> -<%@ attribute name="useKey" required="false" rtexprvalue="true"%> -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-lams" prefix="lams"%> - - - - - - - - - - - - +<%/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ + +/** + * Tabs.tag + * Author: Fiona Malikoff + * Description: Create a hybrid panel header that contains a nav bar that acts like tabs. + */ + +%> +<%@ attribute name="control" required="false" rtexprvalue="true"%> +<%@ attribute name="title" required="false" rtexprvalue="true"%> +<%@ attribute name="refreshOnClickAction" required="false" rtexprvalue="true"%> +<%@ attribute name="helpToolSignature" required="false" rtexprvalue="true"%> +<%@ attribute name="helpModule" required="false" rtexprvalue="true"%> +<%@ attribute name="extraControl" required="false" rtexprvalue="true"%> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + + + + + + + + + + + + +
    + + \ No newline at end of file Index: lams_tool_task/web/WEB-INF/tags/headItems.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/WEB-INF/tags/headItems.tag,v diff -u -r1.2.2.1 -r1.2.2.2 --- lams_tool_task/web/WEB-INF/tags/headItems.tag 10 Feb 2016 10:01:34 -0000 1.2.2.1 +++ lams_tool_task/web/WEB-INF/tags/headItems.tag 3 Jun 2016 00:18:10 -0000 1.2.2.2 @@ -41,7 +41,9 @@ - + - + + + Index: lams_tool_task/web/WEB-INF/tlds/lams/lams.tld =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/WEB-INF/tlds/lams/lams.tld,v diff -u -r1.11.2.3 -r1.11.2.4 --- lams_tool_task/web/WEB-INF/tlds/lams/lams.tld 29 Feb 2016 10:51:51 -0000 1.11.2.3 +++ lams_tool_task/web/WEB-INF/tlds/lams/lams.tld 3 Jun 2016 00:18:11 -0000 1.11.2.4 @@ -178,7 +178,7 @@ css org.lamsfoundation.lams.web.tag.CssTag empty - + Output stylesheet based on the user preferences. style @@ -408,18 +408,34 @@ /WEB-INF/tags/TabBody.tag + TabBodys + /WEB-INF/tags/TabBodys.tag + + TabName /WEB-INF/tags/TabName.tag + TabBodyArea + /WEB-INF/tags/TabBodyArea.tag + + CKEditor /WEB-INF/tags/CKEditor.tag AuthoringButton /WEB-INF/tags/AuthoringButton.tag - + + AuthoringRatingCriteria + /WEB-INF/tags/AuthoringRatingCriteria.tag + + + Rating + /WEB-INF/tags/Rating.tag + + headItems /WEB-INF/tags/headItems.tag @@ -438,8 +454,24 @@ Page /WEB-INF/tags/Page.tag + + + TSTable + /WEB-INF/tags/TSTable.tag + + + Arrow + /WEB-INF/tags/Arrow.tag + + + AdvancedAccordian + /WEB-INF/tags/AdvancedAccordian.tag + RestrictedUsageAccordian + /WEB-INF/tags/RestrictedUsageAccordian.tag + + ImgButtonWrapper /WEB-INF/tags/ImgButtonWrapper.tag @@ -481,5 +513,13 @@ head /WEB-INF/tags/Head.tag + + Comments + /WEB-INF/tags/Comments.tag + + + CommentsAuthor + /WEB-INF/tags/CommentsAuthor.tag + Index: lams_tool_task/web/common/header.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/common/header.jsp,v diff -u -r1.2.2.1 -r1.2.2.2 --- lams_tool_task/web/common/header.jsp 29 Feb 2016 10:51:51 -0000 1.2.2.1 +++ lams_tool_task/web/common/header.jsp 3 Jun 2016 00:18:11 -0000 1.2.2.2 @@ -10,10 +10,10 @@ - - - + + + Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_task/web/common/monitorheader.jsp'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_task/web/common/tabbedheader.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/common/tabbedheader.jsp,v diff -u -r1.2.2.1 -r1.2.2.2 --- lams_tool_task/web/common/tabbedheader.jsp 10 Feb 2016 10:01:34 -0000 1.2.2.1 +++ lams_tool_task/web/common/tabbedheader.jsp 3 Jun 2016 00:18:11 -0000 1.2.2.2 @@ -5,12 +5,13 @@ - + - + + + - Index: lams_tool_task/web/includes/javascript/taskListcommon.js =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/includes/javascript/taskListcommon.js,v diff -u -r1.1 -r1.1.12.1 --- lams_tool_task/web/includes/javascript/taskListcommon.js 28 Feb 2008 03:50:18 -0000 1.1 +++ lams_tool_task/web/includes/javascript/taskListcommon.js 3 Jun 2016 00:18:11 -0000 1.1.12.1 @@ -1,10 +1,16 @@ function showBusy(targetDiv){ if($(targetDiv+"_Busy") != null){ - Element.show(targetDiv+"_Busy"); + $("#"+targetDiv+"_Busy").show(); } } function hideBusy(targetDiv){ if($(targetDiv+"_Busy") != null){ - Element.hide(targetDiv+"_Busy"); + $("#"+targetDiv+"_Busy").hide(); } } + function refreshCKEditors() { + // make sure all the ckeditors are refreshed, not just the validated ones + for (var i in CKEDITOR.instances) { + CKEDITOR.instances[i].updateElement(); + } + } \ No newline at end of file Index: lams_tool_task/web/pages/authoring/advance.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/authoring/advance.jsp,v diff -u -r1.3 -r1.3.12.1 --- lams_tool_task/web/pages/authoring/advance.jsp 3 Jun 2008 01:44:38 -0000 1.3 +++ lams_tool_task/web/pages/authoring/advance.jsp 3 Jun 2016 00:18:11 -0000 1.3.12.1 @@ -3,25 +3,25 @@ -

    - +

    -

    +
    -

    - +

    -

    +
    -

    +

    - + -
    - - - <%@ include file="/common/messages.jsp"%> + + + + + + - - - - - - + + - + + + + + + + + <%@ include file="/common/messages.jsp"%> + + + + + + + + + + + + + + + + + <%-- Default value + cancelButtonLabelKey="label.authoring.cancel.button" + saveButtonLabelKey="label.authoring.save.button" + cancelConfirmMsgKey="authoring.msg.cancel.save" + accessMode="author" + --%> + + + + + - - - - - - - - - - - - - - <%-- Default value - cancelButtonLabelKey="label.authoring.cancel.button" - saveButtonLabelKey="label.authoring.save.button" - cancelConfirmMsgKey="authoring.msg.cancel.save" - accessMode="author" - --%> - - + -
    - - - -
    - Index: lams_tool_task/web/pages/authoring/basic.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/authoring/basic.jsp,v diff -u -r1.6.2.1 -r1.6.2.2 --- lams_tool_task/web/pages/authoring/basic.jsp 12 Sep 2014 21:20:43 -0000 1.6.2.1 +++ lams_tool_task/web/pages/authoring/basic.jsp 3 Jun 2016 00:18:11 -0000 1.6.2.2 @@ -8,29 +8,14 @@ * Launches the popup window for the instruction files */ function showMessage(url) { - var area=document.getElementById("resourceInputArea"); - if(area != null){ - area.style.width="100%"; - area.src=url; - area.style.display="block"; - } - var elem = document.getElementById("saveCancelButtons"); - if (elem != null) { - elem.style.display="none"; - } - location.hash = "resourceInputArea"; + $("#resourceInputArea").load(url, function() { + $(this).show(); + $("#saveCancelButtons").hide(); + }); } function hideMessage(){ - var area=document.getElementById("resourceInputArea"); - if(area != null){ - area.style.width="0px"; - area.style.height="0px"; - area.style.display="none"; - } - var elem = document.getElementById("saveCancelButtons"); - if (elem != null) { - elem.style.display="block"; - } + $("#resourceInputArea").hide(); + $("#saveCancelButtons").show(); } function editItem(idx, sessionMapID){ @@ -49,20 +34,14 @@ } if (deletionConfirmed) { - var url = ""; var reqIDVar = new Date(); - var param = "itemIndex=" + idx +"&reqID="+reqIDVar.getTime()+"&sessionMapID="+sessionMapID;; + var param = "itemIndex=" + idx +"&reqID="+reqIDVar.getTime()+"&sessionMapID="+sessionMapID; + var url = "?"+param; deleteItemLoading(); - var myAjax = new Ajax.Updater( - taskListListTargetDiv, - url, - { - method:'get', - parameters:param, - onComplete:deleteItemComplete, - evalScripts:true - } - ); + $('#taskListListArea').load(url, function() { + debugger; + deleteItemComplete(); + }); } } @@ -74,82 +53,53 @@ } function upQuestion(idx, sessionMapID){ - var url = ""; var reqIDVar = new Date(); - var param = "itemIndex=" + idx +"&reqID="+reqIDVar.getTime()+"&sessionMapID="+sessionMapID;; + var param = "itemIndex=" + idx +"&reqID="+reqIDVar.getTime()+"&sessionMapID="+sessionMapID; + var url = "?"+param; deleteItemLoading(); - var myAjax = new Ajax.Updater( - taskListListTargetDiv, - url, - { - method:'get', - parameters:param, - onComplete:deleteItemComplete, - evalScripts:true - } - ); + $('#taskListListArea').load(url, function() { + debugger; + deleteItemComplete(); + }); } function downQuestion(idx, sessionMapID){ - var url = ""; var reqIDVar = new Date(); var param = "itemIndex=" + idx +"&reqID="+reqIDVar.getTime()+"&sessionMapID="+sessionMapID;; + var url = "?"+param; deleteItemLoading(); - var myAjax = new Ajax.Updater( - taskListListTargetDiv, - url, - { - method:'get', - parameters:param, - onComplete:deleteItemComplete, - evalScripts:true - } - ); + $('#taskListListArea').load(url, function() { + debugger; + deleteItemComplete(); + }); } - function resizeOnMessageFrameLoad(){ - var messageAreaFrame = document.getElementById("resourceInputArea"); - messageAreaFrame.style.height=messageAreaFrame.contentWindow.document.body.scrollHeight+'px'; - } + + //Packs additional elements and submits the question form + function submitTask(){ + debugger; + refreshCKEditors(); + var form = $('#taskListItemForm'); + $('#taskListListArea').load(form.attr('action'), form.serialize()); + } + - - - - - - - +
    + + +
    +
    + + +
    -
    -
    - -
    - -
    -
    - -
    - -
    -
    <%@ include file="/pages/authoring/parts/itemlist.jsp"%>
    -

    - ');" class="button-add-item"> - -

    +');" class="btn btn-default btn-sm"> +   +
    -

    - -

    Index: lams_tool_task/web/pages/authoring/conditions.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/authoring/conditions.jsp,v diff -u -r1.1 -r1.1.12.1 --- lams_tool_task/web/pages/authoring/conditions.jsp 7 Apr 2008 07:33:31 -0000 1.1 +++ lams_tool_task/web/pages/authoring/conditions.jsp 3 Jun 2016 00:18:11 -0000 1.1.12.1 @@ -4,99 +4,49 @@ @@ -106,17 +56,9 @@ <%@ include file="/pages/authoring/parts/conditionlist.jsp"%>
    -

    - ');" class="button-add-item"> - -

    + - -

    - -

    +
    Index: lams_tool_task/web/pages/authoring/definelater.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/authoring/definelater.jsp,v diff -u -r1.5.2.1 -r1.5.2.2 --- lams_tool_task/web/pages/authoring/definelater.jsp 26 Feb 2016 07:17:54 -0000 1.5.2.1 +++ lams_tool_task/web/pages/authoring/definelater.jsp 3 Jun 2016 00:18:11 -0000 1.5.2.2 @@ -4,12 +4,6 @@ <%@ include file="/common/taglibs.jsp"%> <%@ page import="java.util.HashSet"%> <%@ page import="org.lamsfoundation.lams.tool.taskList.TaskListConstants"%> -<%@ page import="java.util.Set"%> -<%Set tabs = new HashSet(); - tabs.add("label.authoring.heading.basic"); - pageContext.setAttribute("tabs", tabs); - - %> <fmt:message key="label.authoring.title" /> @@ -20,12 +14,6 @@ function init(){ selectTab(1); //select the default tab; - - initEditor("Title"); - initEditor("Instructions"); - initEditor("OnlineInstruction"); - initEditor("OfflineInstruction"); - } function doSelectTab(tabId) { @@ -43,43 +31,40 @@ -
    + - -

    - -

    - -
    - <%@ include file="/common/messages.jsp"%> - - - -
    - - - + + - - -
    + + + + + + <%@ include file="/common/messages.jsp"%> + + + + + + + + + + + + + - -
    - -
    - +
    Index: lams_tool_task/web/pages/authoring/parts/addcondition.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/authoring/parts/addcondition.jsp,v diff -u -r1.5.2.4 -r1.5.2.5 --- lams_tool_task/web/pages/authoring/parts/addcondition.jsp 26 Feb 2016 07:17:54 -0000 1.5.2.4 +++ lams_tool_task/web/pages/authoring/parts/addcondition.jsp 3 Jun 2016 00:18:11 -0000 1.5.2.5 @@ -5,60 +5,58 @@ <%@ include file="/common/header.jsp"%> - - + - - - <%@ include file="/common/messages.jsp"%> - - - -

    + + +
    +
    +
    -

    - -
    -
    - -
    - +
    + +
    + + + <%@ include file="/common/messages.jsp"%> + + + + +
    + + +
    + + + + + +
    + + + + +   +
    +
    +
    + + - - - - - - - - - - - -
    -
    - -
    - - - - - + + + + +
    + +
    Index: lams_tool_task/web/pages/authoring/parts/addtask.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/authoring/parts/addtask.jsp,v diff -u -r1.11.2.6 -r1.11.2.7 --- lams_tool_task/web/pages/authoring/parts/addtask.jsp 10 Feb 2016 10:01:34 -0000 1.11.2.6 +++ lams_tool_task/web/pages/authoring/parts/addtask.jsp 3 Jun 2016 00:18:11 -0000 1.11.2.7 @@ -1,180 +1,139 @@ <%@ include file="/common/taglibs.jsp"%> - - - <%@ include file="/common/header.jsp"%> - + + + - - - <%@ include file="/common/messages.jsp"%> - + - - - - - - -

    +
    +
    -

    - -
    -
    - -
    - -
    - -
    - -
    - - -
    - -
    +
    -
    - - + <%@ include file="/common/messages.jsp"%> -
    +
    -
    - - - - -
    Index: lams_tool_task/web/pages/authoring/parts/conditionlist.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/authoring/parts/conditionlist.jsp,v diff -u -r1.6.2.2 -r1.6.2.3 --- lams_tool_task/web/pages/authoring/parts/conditionlist.jsp 24 Apr 2015 10:00:53 -0000 1.6.2.2 +++ lams_tool_task/web/pages/authoring/parts/conditionlist.jsp 3 Jun 2016 00:18:11 -0000 1.6.2.3 @@ -1,18 +1,8 @@ <%@ include file="/common/taglibs.jsp"%> - - - - -
    -

    - - -

    - - +
    - - - + + + +
    @@ -40,62 +30,31 @@ ${condition.name} - + - " - onclick="upCondition(${status.index},'${sessionMapID}')"> - - "> - + + - - - "> - - - " - onclick="downCondition(${status.index},'${sessionMapID}')"> + + - " - onclick="editCondition(${status.index},'${sessionMapID}')" /> - - " - onclick="deleteCondition(${status.index},'${sessionMapID}')" /> - " + onclick="editCondition(${status.index},'${sessionMapID}')">" + onclick="deleteCondition(${status.index},'${sessionMapID}')">
    <%-- This script will works when a new resoruce Condition submit in order to refresh "TaskList List" panel. --%> Index: lams_tool_task/web/pages/authoring/parts/itemlist.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/authoring/parts/itemlist.jsp,v diff -u -r1.6.2.2 -r1.6.2.3 --- lams_tool_task/web/pages/authoring/parts/itemlist.jsp 24 Apr 2015 10:00:53 -0000 1.6.2.2 +++ lams_tool_task/web/pages/authoring/parts/itemlist.jsp 3 Jun 2016 00:18:11 -0000 1.6.2.3 @@ -7,81 +7,52 @@
    -

    +

    - -

    + + - +
    - - - - -
    + + + - " - onclick="upQuestion(${status.index},'${sessionMapID}')"> - - "> - + + - - - "> - - - " - onclick="downQuestion(${status.index},'${sessionMapID}')"> + + - " - onclick="editItem(${status.index},'${sessionMapID}')" /> + + " + onclick="editItem(${status.index},'${sessionMapID}')"> - " - onclick="deleteItem(${status.index},'${sessionMapID}')" /> + + " + onclick="deleteItem(${status.index},'${sessionMapID}')">
    -<%-- This script will works when a new resoruce item submit in order to refresh "TaskList List" panel. --%> +<%-- This script will works when a new item is submitted in order to refresh "TaskList List" panel. --%> Index: lams_tool_task/web/pages/learning/parts/notebook.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/learning/parts/notebook.jsp,v diff -u -r1.6.2.2 -r1.6.2.3 --- lams_tool_task/web/pages/learning/parts/notebook.jsp 29 Feb 2016 10:51:51 -0000 1.6.2.2 +++ lams_tool_task/web/pages/learning/parts/notebook.jsp 3 Jun 2016 00:18:11 -0000 1.6.2.3 @@ -50,10 +50,12 @@ + + + + + - - - Index: lams_tool_task/web/pages/monitoring/editactivity.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/monitoring/editactivity.jsp,v diff -u -r1.3 -r1.3.2.1 --- lams_tool_task/web/pages/monitoring/editactivity.jsp 3 Apr 2014 19:12:01 -0000 1.3 +++ lams_tool_task/web/pages/monitoring/editactivity.jsp 3 Jun 2016 00:18:10 -0000 1.3.2.1 @@ -3,12 +3,12 @@ -

    + -

    +
    - +
    - - - -
    @@ -28,16 +28,12 @@
    - - - - - - - -
    + + + + + + + + Index: lams_tool_task/web/pages/monitoring/itemsummary.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/monitoring/itemsummary.jsp,v diff -u -r1.7.2.2 -r1.7.2.3 --- lams_tool_task/web/pages/monitoring/itemsummary.jsp 26 Feb 2016 07:17:54 -0000 1.7.2.2 +++ lams_tool_task/web/pages/monitoring/itemsummary.jsp 3 Jun 2016 00:18:10 -0000 1.7.2.3 @@ -8,11 +8,8 @@ <fmt:message key="label.learning.title" /> - <%@ include file="/common/header.jsp"%> + <%@ include file="/common/monitorheader.jsp"%> - - - - - - - + + <%@ include file="/common/monitorheader.jsp" %> -
    -

    - -

    - -
    - - + + + -
    - - -
    + + + + + + Index: lams_tool_task/web/pages/monitoring/summary.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/monitoring/summary.jsp,v diff -u -r1.20.2.3 -r1.20.2.4 --- lams_tool_task/web/pages/monitoring/summary.jsp 9 Feb 2016 18:41:24 -0000 1.20.2.3 +++ lams_tool_task/web/pages/monitoring/summary.jsp 3 Jun 2016 00:18:10 -0000 1.20.2.4 @@ -5,55 +5,21 @@ - - - - - - - - - - - - - - -

    - -

    -
    - +
    +

    + +

    +
    + +
    + + + + + + +
    + <%-- Summary list --%> - -
    - -
    + +
    + -
    - -
    - ${sessionDto.sessionName} -
    -
    - + +
    + + +
    + +
    -
    - + + +
    +
    + + ${ !sessionMap.isGroupedActivity || ! status.last ? '
     
    ' : ''} +
    + + +
    +

    Index: lams_tool_task/web/pages/monitoring/parts/advanceoptions.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/monitoring/parts/advanceoptions.jsp,v diff -u -r1.1.2.2 -r1.1.2.3 --- lams_tool_task/web/pages/monitoring/parts/advanceoptions.jsp 9 Feb 2016 18:41:24 -0000 1.1.2.2 +++ lams_tool_task/web/pages/monitoring/parts/advanceoptions.jsp 3 Jun 2016 00:18:10 -0000 1.1.2.3 @@ -1,15 +1,7 @@ -

    - - - - - -

    -
    - - \ No newline at end of file + \ No newline at end of file Index: lams_tool_task/web/pages/monitoring/parts/daterestriction.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/monitoring/parts/daterestriction.jsp,v diff -u -r1.1.2.2 -r1.1.2.3 --- lams_tool_task/web/pages/monitoring/parts/daterestriction.jsp 9 Feb 2016 18:41:24 -0000 1.1.2.2 +++ lams_tool_task/web/pages/monitoring/parts/daterestriction.jsp 3 Jun 2016 00:18:10 -0000 1.1.2.3 @@ -1,43 +1,29 @@ <%@include file="/common/taglibs.jsp"%> -

    - + + - - - -

    -
    - - \ No newline at end of file + Index: lams_tool_task/web/pages/monitoring/parts/reflections.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/monitoring/parts/reflections.jsp,v diff -u -r1.1.2.2 -r1.1.2.3 --- lams_tool_task/web/pages/monitoring/parts/reflections.jsp 9 Feb 2016 18:41:24 -0000 1.1.2.2 +++ lams_tool_task/web/pages/monitoring/parts/reflections.jsp 3 Jun 2016 00:18:10 -0000 1.1.2.3 @@ -1,23 +1,28 @@ <%@ include file="/common/taglibs.jsp"%> -
    - - - - - +
    +
    + + + +
    + +
    - -
    - - - - -
    - -
    - - -
    - + + + + + + +
    + - +
    + + +
    -
    +
    + \ No newline at end of file