Index: lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/action/MonitoringAction.java =================================================================== diff -u -r2f725f8ef2aa09a2663b2335bf67213074426d11 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/action/MonitoringAction.java (.../MonitoringAction.java) (revision 2f725f8ef2aa09a2663b2335bf67213074426d11) +++ lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/action/MonitoringAction.java (.../MonitoringAction.java) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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) ? "" Index: lams_tool_task/web/WEB-INF/tags/AdvancedAccordian.tag =================================================================== diff -u --- lams_tool_task/web/WEB-INF/tags/AdvancedAccordian.tag (revision 0) +++ lams_tool_task/web/WEB-INF/tags/AdvancedAccordian.tag (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,53 @@ +<% + /**************************************************************** + * 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 + * **************************************************************** + */ + + /** + * AdvancedAccordian.tag + * Author: Fiona Malikoff + * Description: Creates the show/hide entry for the Advanced Settings in Montoring. + * Wiki: + */ +%> +<%@ attribute name="title" required="true" rtexprvalue="true"%> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + +
+
+ + +
+ +
+
+
+ \ No newline at end of file Index: lams_tool_task/web/WEB-INF/tags/Arrow.tag =================================================================== diff -u --- lams_tool_task/web/WEB-INF/tags/Arrow.tag (revision 0) +++ lams_tool_task/web/WEB-INF/tags/Arrow.tag (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,35 @@ +<%@ tag body-content="scriptless"%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-function" prefix="fn" %> + +<%-- state = up: up arrow; state = down: down arrow --%> +<%@ attribute name="state" required="true" rtexprvalue="true"%> +<%@ attribute name="title" required="false" rtexprvalue="true"%> +<%@ attribute name="onclick" required="false" rtexprvalue="true"%> + + + + title="${title}" + + + + + + + + + onclick="${onclick}" + + + + + + + + + + + + + + Index: lams_tool_task/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -r29fac4bd0bdf28bcaaeee7aae4020ccb15b6e520 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 29fac4bd0bdf28bcaaeee7aae4020ccb15b6e520) +++ lams_tool_task/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -122,12 +122,12 @@ window.close(); } -

- - - - +

+ -

+ + + +
\ No newline at end of file Index: lams_tool_task/web/WEB-INF/tags/AuthoringRatingCriteria.tag =================================================================== diff -u --- lams_tool_task/web/WEB-INF/tags/AuthoringRatingCriteria.tag (revision 0) +++ lams_tool_task/web/WEB-INF/tags/AuthoringRatingCriteria.tag (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,349 @@ +<% + /** + * AuthoringRatingCriteria.tag + * Author: Andrey Balan + * Description: Creates list of rating criterias for authoring page + */ + %> +<%@ tag body-content="scriptless" %> +<%@ taglib uri="tags-core" prefix="c" %> +<%@ taglib uri="tags-fmt" prefix="fmt" %> +<%@ taglib uri="tags-html" prefix="html" %> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="tags-function" prefix="fn" %> + + +<%@ attribute name="criterias" required="true" rtexprvalue="true" type="java.util.Collection" %> + +<%-- Optional attribute --%> +<%@ attribute name="hasRatingLimits" required="false" rtexprvalue="true" %> +<%@ attribute name="formContentPrefix" required="false" rtexprvalue="true" %> +<%@ attribute name="styleId" required="false" rtexprvalue="true" %> +<%@ attribute name="headerLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="addLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="deleteLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="upLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="downLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="minimumLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="maximumLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="noMinimumLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="noMaximumLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="jsWarningLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="allowCommentsLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="minNumberWordsLabel" required="false" rtexprvalue="true" %> + +<%-- Default value for message key --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+ + + + + + + + + + + + + + + +
+ + + +
">
+
">
+
+ "> +
+ + + + +
+ + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + +
+
+ +
+ +
+ +
+ + +
+
+
+
+ \ No newline at end of file Index: lams_tool_task/web/WEB-INF/tags/CKEditor.tag =================================================================== diff -u -rdc884b8e6274ebbc664d1ee940e565803445bb26 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision dc884b8e6274ebbc664d1ee940e565803445bb26) +++ lams_tool_task/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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", Index: lams_tool_task/web/WEB-INF/tags/Comments.tag =================================================================== diff -u --- lams_tool_task/web/WEB-INF/tags/Comments.tag (revision 0) +++ lams_tool_task/web/WEB-INF/tags/Comments.tag (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,47 @@ +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="tags-function" prefix="fn" %> + +<%@ attribute name="toolSessionId" required="true" rtexprvalue="true"%> +<%@ attribute name="toolSignature" required="true" rtexprvalue="true"%> +<%@ attribute name="height" required="false" rtexprvalue="true"%> +<%@ attribute name="width" required="false" rtexprvalue="true"%> +<%@ attribute name="mode" required="false" rtexprvalue="true"%> +<%@ attribute name="likeAndDislike" required="false" rtexprvalue="true"%> +<%@ attribute name="readOnly" required="false" rtexprvalue="true"%> +<%@ attribute name="pageSize" required="false" rtexprvalue="true"%> +<%@ attribute name="sortBy" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + &mode=${mode} + + + + + + + + + + + + + + +
+ \ No newline at end of file Index: lams_tool_task/web/WEB-INF/tags/CommentsAuthor.tag =================================================================== diff -u --- lams_tool_task/web/WEB-INF/tags/CommentsAuthor.tag (revision 0) +++ lams_tool_task/web/WEB-INF/tags/CommentsAuthor.tag (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,51 @@ +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-html" prefix="html"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> + +<%@ attribute name="allowCommentsVariableName" required="false" rtexprvalue="true"%> +<%@ attribute name="allowCommentLabelKey" required="false" rtexprvalue="true"%> +<%@ attribute name="likeDislikeVariableName" required="false" rtexprvalue="true"%> +<%@ attribute name="likeOnlyCommentLabelKey" required="false" rtexprvalue="true"%> +<%@ attribute name="likeDislikeLabelKey" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + + + + + +
+ +
+
+     +   +
+ + + + Index: lams_tool_task/web/WEB-INF/tags/Page.tag =================================================================== diff -u -r7a381230743673d067b20cd5a3f00430d58659d1 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 7a381230743673d067b20cd5a3f00430d58659d1) +++ lams_tool_task/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -12,25 +12,38 @@
+ + + + + +
-
- + +
- - - - -
+ + + +
+
+
+
+
+ + + + Index: lams_tool_task/web/WEB-INF/tags/Rating.tag =================================================================== diff -u --- lams_tool_task/web/WEB-INF/tags/Rating.tag (revision 0) +++ lams_tool_task/web/WEB-INF/tags/Rating.tag (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,194 @@ +<% + /** + * Rating.tag + * Author: Andrey Balan + * Description: Shows rating stars widget + */ + %> +<%@ tag body-content="scriptless" %> +<%@ taglib uri="tags-core" prefix="c" %> +<%@ taglib uri="tags-fmt" prefix="fmt" %> +<%@ taglib uri="tags-html" prefix="html" %> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="tags-function" prefix="fn" %> + + +<%@ attribute name="itemRatingDto" required="true" rtexprvalue="true" type="org.lamsfoundation.lams.rating.dto.ItemRatingDTO" %> + +<%-- Optional attribute --%> +<%@ attribute name="disabled" required="false" rtexprvalue="true" %> +<%@ attribute name="isItemAuthoredByUser" required="false" rtexprvalue="true" %> +<%@ attribute name="maxRates" required="false" rtexprvalue="true" %> +<%@ attribute name="countRatedItems" required="false" rtexprvalue="true" %> +<%@ attribute name="yourRatingLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="averageRatingLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="minNumberWordsLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="showComments" required="false" rtexprvalue="true" %> + +<%-- Default value for message key --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%--Rating stars area---------------------------------------%> + +
+
+ + + + + + + + + + + + + + + + + + + + + + ${criteriaDto.ratingCriteria.title} + + + + + + + + + + + +
+
+ + + +
+ + + + + + ${criteriaDto.numberOfVotes} + + +
+
+ + +
style="visibility: hidden;" + > + + + + + + + + + + + + + ${criteriaDto.numberOfVotes} + + +
+ +
+
+ +
+ +
+ +
+ +<%--Comments area---------------------------------------%> + +
+ + + + +
+ +
+
+
+ + +
+ +
+
+ + +
+ + + + + + + : + + + + +
+
+ +
+
+
+
+
+
+
+ +
+
\ No newline at end of file Index: lams_tool_task/web/WEB-INF/tags/RestrictedUsageAccordian.tag =================================================================== diff -u --- lams_tool_task/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision 0) +++ lams_tool_task/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,54 @@ +<% + /**************************************************************** + * 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 + * **************************************************************** + */ + + /** + * AdvancedAccordian.tag + * Author: Fiona Malikoff + * Description: Creates the show/hide entry for the Restricted Usage Settings in Monitoring. + * Wiki: + */ +%> +<%@ attribute name="title" required="true" rtexprvalue="true"%> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + +
+
+ + + +
+ +
+
+
+ \ No newline at end of file Index: lams_tool_task/web/WEB-INF/tags/TSTable.tag =================================================================== diff -u --- lams_tool_task/web/WEB-INF/tags/TSTable.tag (revision 0) +++ lams_tool_task/web/WEB-INF/tags/TSTable.tag (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,53 @@ +<%-- Tablesorter Table and Pager --%> +<%@ tag body-content="scriptless"%> +<%@ taglib uri="tags-core" prefix="c"%> + +<%@ attribute name="numColumns" required="true" rtexprvalue="true"%> +<%@ attribute name="dataId" required="false" rtexprvalue="true"%> +<%@ attribute name="tableClass" required="false" rtexprvalue="true"%> +<%@ attribute name="pagerClass" required="false" rtexprvalue="true"%> +<%@ attribute name="test" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ + \ No newline at end of file Index: lams_tool_task/web/WEB-INF/tags/Tab.tag =================================================================== diff -u -r68cefba7d15519f37436278fb0790fef8abc3b62 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision 68cefba7d15519f37436278fb0790fef8abc3b62) +++ lams_tool_task/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -r68cefba7d15519f37436278fb0790fef8abc3b62 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 68cefba7d15519f37436278fb0790fef8abc3b62) +++ lams_tool_task/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 + + +
    Index: lams_tool_task/web/WEB-INF/tags/TabBodyArea.tag =================================================================== diff -u --- lams_tool_task/web/WEB-INF/tags/TabBodyArea.tag (revision 0) +++ lams_tool_task/web/WEB-INF/tags/TabBodyArea.tag (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,39 @@ +<%/**************************************************************** + * 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 + * **************************************************************** + */ + +/** + * TabBodyArea.tag + * Author: Fiona Malikoff + * Description: Creates the panel body area for a nav bar screen + * Wiki: + */ + +%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-bean" prefix="bean"%> + +
    + +
    + + \ No newline at end of file Index: lams_tool_task/web/WEB-INF/tags/TabBodys.tag =================================================================== diff -u --- lams_tool_task/web/WEB-INF/tags/TabBodys.tag (revision 0) +++ lams_tool_task/web/WEB-INF/tags/TabBodys.tag (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,37 @@ +<%/**************************************************************** + * 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 + * **************************************************************** + */ + +/** + * TabBodys.tag + * Author: Fiona Malikoff + * Description: Create a tabbody list from nested TabBody tags. + * Wiki: + */ + + %> +<%@ tag body-content="scriptless"%> + + +
    + +
    Index: lams_tool_task/web/WEB-INF/tags/Tabs.tag =================================================================== diff -u -r68cefba7d15519f37436278fb0790fef8abc3b62 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 68cefba7d15519f37436278fb0790fef8abc3b62) +++ lams_tool_task/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/WEB-INF/tags/headItems.tag (.../headItems.tag) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9) +++ lams_tool_task/web/WEB-INF/tags/headItems.tag (.../headItems.tag) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -41,7 +41,9 @@ - + - + + + Index: lams_tool_task/web/WEB-INF/tlds/lams/lams.tld =================================================================== diff -u -rbfb35f4f0e90063d8ea06eea71a7f6768ee0f1dc -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision bfb35f4f0e90063d8ea06eea71a7f6768ee0f1dc) +++ lams_tool_task/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -rbfb35f4f0e90063d8ea06eea71a7f6768ee0f1dc -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/common/header.jsp (.../header.jsp) (revision bfb35f4f0e90063d8ea06eea71a7f6768ee0f1dc) +++ lams_tool_task/web/common/header.jsp (.../header.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -10,10 +10,10 @@ - - - + + + Index: lams_tool_task/web/common/monitorheader.jsp =================================================================== diff -u --- lams_tool_task/web/common/monitorheader.jsp (revision 0) +++ lams_tool_task/web/common/monitorheader.jsp (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -0,0 +1,25 @@ +<%@ include file="/common/taglibs.jsp"%> + + + + + + + + + +<%-- + --%> + + + + + + + + + + + + + \ No newline at end of file Index: lams_tool_task/web/common/tabbedheader.jsp =================================================================== diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/common/tabbedheader.jsp (.../tabbedheader.jsp) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9) +++ lams_tool_task/web/common/tabbedheader.jsp (.../tabbedheader.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -5,12 +5,13 @@ - + - + + + - Index: lams_tool_task/web/includes/images/completeitem.gif =================================================================== diff -u -r182743b20b3ea04f99193cdce3a176f04d055641 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/cross.gif =================================================================== diff -u -r875f56cb6917d1a52bed0545f2933c3b55497a02 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/dash.gif =================================================================== diff -u -rac170eba5ee70135e473b3a5525d1743d0098bc8 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/downarrow.gif =================================================================== diff -u -r875f56cb6917d1a52bed0545f2933c3b55497a02 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/downarrow_disabled.gif =================================================================== diff -u -r875f56cb6917d1a52bed0545f2933c3b55497a02 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/edit.gif =================================================================== diff -u -r875f56cb6917d1a52bed0545f2933c3b55497a02 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/empty_checkbox.jpeg =================================================================== diff -u -r9992a84545c9a3b15516ad92bc79e3bff228dc5f -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/incompleteitem.gif =================================================================== diff -u -r182743b20b3ea04f99193cdce3a176f04d055641 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/indicator.gif =================================================================== diff -u -r875f56cb6917d1a52bed0545f2933c3b55497a02 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/spacer.gif =================================================================== diff -u -r875f56cb6917d1a52bed0545f2933c3b55497a02 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/tick.gif =================================================================== diff -u -r875f56cb6917d1a52bed0545f2933c3b55497a02 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/tree_closed.gif =================================================================== diff -u -r341a816804f6b2b61a5f180479b56d8fd0d1ea29 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/tree_open.gif =================================================================== diff -u -r341a816804f6b2b61a5f180479b56d8fd0d1ea29 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/uparrow.gif =================================================================== diff -u -r875f56cb6917d1a52bed0545f2933c3b55497a02 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/images/uparrow_disabled.gif =================================================================== diff -u -r875f56cb6917d1a52bed0545f2933c3b55497a02 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 Binary files differ Index: lams_tool_task/web/includes/javascript/taskListcommon.js =================================================================== diff -u -r875f56cb6917d1a52bed0545f2933c3b55497a02 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/includes/javascript/taskListcommon.js (.../taskListcommon.js) (revision 875f56cb6917d1a52bed0545f2933c3b55497a02) +++ lams_tool_task/web/includes/javascript/taskListcommon.js (.../taskListcommon.js) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -rac170eba5ee70135e473b3a5525d1743d0098bc8 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/authoring/advance.jsp (.../advance.jsp) (revision ac170eba5ee70135e473b3a5525d1743d0098bc8) +++ lams_tool_task/web/pages/authoring/advance.jsp (.../advance.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -rfb9d13eb115f5281b03ab1624ec10a22ba3b81b7 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/authoring/basic.jsp (.../basic.jsp) (revision fb9d13eb115f5281b03ab1624ec10a22ba3b81b7) +++ lams_tool_task/web/pages/authoring/basic.jsp (.../basic.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -r1ef27bf016b647ea0c2803d22f2bb4d4b3cde650 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/authoring/conditions.jsp (.../conditions.jsp) (revision 1ef27bf016b647ea0c2803d22f2bb4d4b3cde650) +++ lams_tool_task/web/pages/authoring/conditions.jsp (.../conditions.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/authoring/definelater.jsp (.../definelater.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_task/web/pages/authoring/definelater.jsp (.../definelater.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/authoring/parts/addcondition.jsp (.../addcondition.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_task/web/pages/authoring/parts/addcondition.jsp (.../addcondition.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/authoring/parts/addtask.jsp (.../addtask.jsp) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9) +++ lams_tool_task/web/pages/authoring/parts/addtask.jsp (.../addtask.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -r21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/authoring/parts/conditionlist.jsp (.../conditionlist.jsp) (revision 21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59) +++ lams_tool_task/web/pages/authoring/parts/conditionlist.jsp (.../conditionlist.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -r21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/authoring/parts/itemlist.jsp (.../itemlist.jsp) (revision 21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59) +++ lams_tool_task/web/pages/authoring/parts/itemlist.jsp (.../itemlist.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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 =================================================================== diff -u -rbfb35f4f0e90063d8ea06eea71a7f6768ee0f1dc -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/learning/parts/notebook.jsp (.../notebook.jsp) (revision bfb35f4f0e90063d8ea06eea71a7f6768ee0f1dc) +++ lams_tool_task/web/pages/learning/parts/notebook.jsp (.../notebook.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -50,10 +50,12 @@ + + + + + - - - Index: lams_tool_task/web/pages/monitoring/editactivity.jsp =================================================================== diff -u -r9160b34eb0b4725a21c894d886c89f418868888a -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/monitoring/editactivity.jsp (.../editactivity.jsp) (revision 9160b34eb0b4725a21c894d886c89f418868888a) +++ lams_tool_task/web/pages/monitoring/editactivity.jsp (.../editactivity.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -3,12 +3,12 @@ -

    + -

    +
    - +
    - - - -
    @@ -28,16 +28,12 @@
    - - - - - - - -
    + + + + + + + + Index: lams_tool_task/web/pages/monitoring/itemsummary.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/monitoring/itemsummary.jsp (.../itemsummary.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_task/web/pages/monitoring/itemsummary.jsp (.../itemsummary.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -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" %> -
    -

    - -

    - -
    - - + + + -
    - - -
    + + + + + \ No newline at end of file Index: lams_tool_task/web/pages/monitoring/statistic.jsp =================================================================== diff -u -rd7d4d5cebf80f837b74cde8a3b8daaa66d6e9d4f -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/monitoring/statistic.jsp (.../statistic.jsp) (revision d7d4d5cebf80f837b74cde8a3b8daaa66d6e9d4f) +++ lams_tool_task/web/pages/monitoring/statistic.jsp (.../statistic.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -3,25 +3,31 @@ -
    + -
    +
    - - <%-- display group name on first row--%> -

    ${sessionDto.sessionName}

    - - + + +
    +
    + +  ${sessionDto.sessionName} + +
    + + +
    - @@ -30,10 +36,8 @@ - @@ -45,12 +49,16 @@ - -
    +
    -
    - -
    +
    +
    + ${sessionDto.visitNumbers[status.index]}
    + + + + +
    Index: lams_tool_task/web/pages/monitoring/summary.jsp =================================================================== diff -u -rd7d4d5cebf80f837b74cde8a3b8daaa66d6e9d4f -rd6dcae53cbe27a85aedf62b8545ee3193ec55220 --- lams_tool_task/web/pages/monitoring/summary.jsp (.../summary.jsp) (revision d7d4d5cebf80f837b74cde8a3b8daaa66d6e9d4f) +++ lams_tool_task/web/pages/monitoring/summary.jsp (.../summary.jsp) (revision d6dcae53cbe27a85aedf62b8545ee3193ec55220) @@ -5,55 +5,21 @@ - - - - - - - - - - - - - - -

    - -

    -
    - +
    +

    + +

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