Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java =================================================================== diff -u -r5773f84ed608838de3521ecde87c52f3c72d478c -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java (.../VoteAppConstants.java) (revision 5773f84ed608838de3521ecde87c52f3c72d478c) +++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/VoteAppConstants.java (.../VoteAppConstants.java) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -40,6 +40,7 @@ */ public static final String LOAD = "load"; public static final String LOAD_QUESTIONS = "load"; + public static final String LOAD_NOMINATIONS = "loadNominations"; public static final String LOAD_MONITORING = "refreshMonitoring"; public static final String LOAD_STARTER = "starter"; public static final String AUTHORING_STARTER = "starter"; Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteAction.java =================================================================== diff -u -r5773f84ed608838de3521ecde87c52f3c72d478c -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteAction.java (.../VoteAction.java) (revision 5773f84ed608838de3521ecde87c52f3c72d478c) +++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteAction.java (.../VoteAction.java) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -493,7 +493,7 @@ request.getSession().setAttribute(httpSessionID, sessionMap); - return mapping.findForward(VoteAppConstants.LOAD_QUESTIONS); + return mapping.findForward(VoteAppConstants.LOAD_NOMINATIONS); } /** @@ -608,7 +608,7 @@ request.getSession().setAttribute(httpSessionID, sessionMap); - return mapping.findForward(VoteAppConstants.LOAD_QUESTIONS); + return mapping.findForward(VoteAppConstants.LOAD_NOMINATIONS); } /** Index: lams_tool_vote/web/WEB-INF/struts-config.xml =================================================================== diff -u -r81d3515d29fd57e3b9e08cc37481fd0becbd8b10 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision 81d3515d29fd57e3b9e08cc37481fd0becbd8b10) +++ lams_tool_vote/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -93,6 +93,12 @@ path="/authoring/AuthoringMaincontent.jsp" redirect="false" /> + + +<%@ 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_vote/web/WEB-INF/tags/Arrow.tag =================================================================== diff -u --- lams_tool_vote/web/WEB-INF/tags/Arrow.tag (revision 0) +++ lams_tool_vote/web/WEB-INF/tags/Arrow.tag (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -r29fac4bd0bdf28bcaaeee7aae4020ccb15b6e520 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 29fac4bd0bdf28bcaaeee7aae4020ccb15b6e520) +++ lams_tool_vote/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -122,12 +122,12 @@ window.close(); } -

- - - - +

+ -

+ + + +
\ No newline at end of file Index: lams_tool_vote/web/WEB-INF/tags/AuthoringRatingCriteria.tag =================================================================== diff -u --- lams_tool_vote/web/WEB-INF/tags/AuthoringRatingCriteria.tag (revision 0) +++ lams_tool_vote/web/WEB-INF/tags/AuthoringRatingCriteria.tag (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/CKEditor.tag =================================================================== diff -u -rdc884b8e6274ebbc664d1ee940e565803445bb26 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision dc884b8e6274ebbc664d1ee940e565803445bb26) +++ lams_tool_vote/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/Comments.tag =================================================================== diff -u --- lams_tool_vote/web/WEB-INF/tags/Comments.tag (revision 0) +++ lams_tool_vote/web/WEB-INF/tags/Comments.tag (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/CommentsAuthor.tag =================================================================== diff -u --- lams_tool_vote/web/WEB-INF/tags/CommentsAuthor.tag (revision 0) +++ lams_tool_vote/web/WEB-INF/tags/CommentsAuthor.tag (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/Page.tag =================================================================== diff -u -r08acd0f92aee1558d18b43ee75b9d7031977d3e4 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 08acd0f92aee1558d18b43ee75b9d7031977d3e4) +++ lams_tool_vote/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -12,25 +12,38 @@
+ + + + + +
-
- + +
- - - - -
+ + + +
+
+
+
+
+ + + + Index: lams_tool_vote/web/WEB-INF/tags/Rating.tag =================================================================== diff -u --- lams_tool_vote/web/WEB-INF/tags/Rating.tag (revision 0) +++ lams_tool_vote/web/WEB-INF/tags/Rating.tag (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/RestrictedUsageAccordian.tag =================================================================== diff -u --- lams_tool_vote/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision 0) +++ lams_tool_vote/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/TSTable.tag =================================================================== diff -u --- lams_tool_vote/web/WEB-INF/tags/TSTable.tag (revision 0) +++ lams_tool_vote/web/WEB-INF/tags/TSTable.tag (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/Tab.tag =================================================================== diff -u -rac6c077d83ef253fa3f07a515edc49077317029a -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision ac6c077d83ef253fa3f07a515edc49077317029a) +++ lams_tool_vote/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/TabBody.tag =================================================================== diff -u -r9481bb9c6f8c0e4d6fbed6b230a41c77feda64c6 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 9481bb9c6f8c0e4d6fbed6b230a41c77feda64c6) +++ lams_tool_vote/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/TabBodyArea.tag =================================================================== diff -u --- lams_tool_vote/web/WEB-INF/tags/TabBodyArea.tag (revision 0) +++ lams_tool_vote/web/WEB-INF/tags/TabBodyArea.tag (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/TabBodys.tag =================================================================== diff -u --- lams_tool_vote/web/WEB-INF/tags/TabBodys.tag (revision 0) +++ lams_tool_vote/web/WEB-INF/tags/TabBodys.tag (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/TabName.tag =================================================================== diff -u -r7329c82c5388fbb86b6a0a2b27a71151ee8f116e -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/WEB-INF/tags/TabName.tag (.../TabName.tag) (revision 7329c82c5388fbb86b6a0a2b27a71151ee8f116e) +++ lams_tool_vote/web/WEB-INF/tags/TabName.tag (.../TabName.tag) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -1,59 +1,59 @@ -<%/**************************************************************** - * 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 - * **************************************************************** - */ - -/** - * TabName Tag - * Author: Mitchell Seaton - * Description: Shortens name that are too long to fit inside a tab - */ - - %> -<%@ tag body-content="scriptless" %> - -<%@ attribute name="url" required="true" rtexprvalue="true"%> -<%@ attribute name="highlight" required="false" rtexprvalue="true" %> - -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-function" prefix="fn"%> - -12 - - - - - - - - - - - - - - - - - - - +<%/**************************************************************** + * 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 + * **************************************************************** + */ + +/** + * TabName Tag + * Author: Mitchell Seaton + * Description: Shortens name that are too long to fit inside a tab + */ + + %> +<%@ tag body-content="scriptless" %> + +<%@ attribute name="url" required="true" rtexprvalue="true"%> +<%@ attribute name="highlight" required="false" rtexprvalue="true" %> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-function" prefix="fn"%> + +12 + + + + + + + + + + + + + + + + + + + \ No newline at end of file Index: lams_tool_vote/web/WEB-INF/tags/Tabs.tag =================================================================== diff -u -r9481bb9c6f8c0e4d6fbed6b230a41c77feda64c6 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 9481bb9c6f8c0e4d6fbed6b230a41c77feda64c6) +++ lams_tool_vote/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/WEB-INF/tags/headItems.tag =================================================================== diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/WEB-INF/tags/headItems.tag (.../headItems.tag) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9) +++ lams_tool_vote/web/WEB-INF/tags/headItems.tag (.../headItems.tag) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -41,7 +41,9 @@ - + - + + + Index: lams_tool_vote/web/WEB-INF/tlds/lams/lams.tld =================================================================== diff -u -r5f940a9f66e9fc53d5c13d69fc716c4e7675a19e -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 5f940a9f66e9fc53d5c13d69fc716c4e7675a19e) +++ lams_tool_vote/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -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_vote/web/authoring/AdvancedContent.jsp =================================================================== diff -u -r96866054a8598fbe1b6719c40ea9a5ed898f5daf -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/authoring/AdvancedContent.jsp (.../AdvancedContent.jsp) (revision 96866054a8598fbe1b6719c40ea9a5ed898f5daf) +++ lams_tool_vote/web/authoring/AdvancedContent.jsp (.../AdvancedContent.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -7,75 +7,73 @@ -

    - - +

    -

    +
    -

    - - +

    -

    +
    -

    - - +

    -

    +
    -

    -   - - -

    +
    + +   +
    -

    -    - - -

    +
    + +   +
    -

    - - +

    + ${index} -

    + +
    -

    - - +

    -

    +
    -

    - - +

    -

    -

    - -

    +
    +
    + +
    Index: lams_tool_vote/web/authoring/BasicContent.jsp =================================================================== diff -u -rfb9d13eb115f5281b03ab1624ec10a22ba3b81b7 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/authoring/BasicContent.jsp (.../BasicContent.jsp) (revision fb9d13eb115f5281b03ab1624ec10a22ba3b81b7) +++ lams_tool_vote/web/authoring/BasicContent.jsp (.../BasicContent.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -9,33 +9,16 @@ - +
    + + +
    +
    + + +
    - - - - - - - - -
    -
    - -
    - -
    -
    - -
    - -
    -
    <%@ include file="/authoring/itemlist.jsp"%>

    ');" - class="button-add-item"> + class="btn btn-default btn-sm">  @@ -117,11 +81,4 @@

    -

    - -

    +
    Index: lams_tool_vote/web/authoring/editNominationBox.jsp =================================================================== diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/authoring/editNominationBox.jsp (.../editNominationBox.jsp) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9) +++ lams_tool_vote/web/authoring/editNominationBox.jsp (.../editNominationBox.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -2,23 +2,18 @@ <%@ include file="/common/header.jsp"%> - - - + +
    +
    + +
    + +
    + @@ -29,27 +24,23 @@ -
    - +
    + +
    - - - - - - - - - +
    + +   + +
    + +
    +
    Index: lams_tool_vote/web/authoring/itemlist.jsp =================================================================== diff -u -r21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/authoring/itemlist.jsp (.../itemlist.jsp) (revision 21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59) +++ lams_tool_vote/web/authoring/itemlist.jsp (.../itemlist.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -1,13 +1,16 @@ <%@ include file="/common/taglibs.jsp"%> - +
    -

    + +
    +
    - -

    + +
    - + +
    @@ -19,80 +22,45 @@ - - - - - - +
    - - + + - - - images/down.gif" border="0" - title="" - onclick="javascript:submitModifyAuthoringNomination('','moveNominationDown');"> - images/up_disabled.gif" - border="0"> + + - - images/down_disabled.gif" - border="0"> - images/up.gif" border="0" - title="" - onclick="javascript:submitModifyAuthoringNomination('','moveNominationUp');"> - - - - images/down.gif" border="0" - title="" - onclick="javascript:submitModifyAuthoringNomination('','moveNominationDown');"> - images/up.gif" border="0" - title="" - onclick="javascript:submitModifyAuthoringNomination('','moveNominationUp');"> - - + + + - images/edit.gif" border="0" - title="" + " onclick="javascript:showMessage('');"> + - images/delete.gif" border="0" - title="" - onclick="removeNomination(${queIndex});"> + " + onclick="removeNomination(${queIndex});">
    -<%-- This script will works when a new resoruce item submit in order to refresh "Resource List" panel. --%> - +
    + +<%-- This script will works when a new resource item submit in order to refresh "Resource List" panel. --%> + \ No newline at end of file Index: lams_tool_vote/web/authoring/newNominationBox.jsp =================================================================== diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/authoring/newNominationBox.jsp (.../newNominationBox.jsp) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9) +++ lams_tool_vote/web/authoring/newNominationBox.jsp (.../newNominationBox.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -4,22 +4,18 @@ <%@ include file="/common/header.jsp"%> - - - + + +
    +
    + +
    + +
    + @@ -28,26 +24,24 @@ -
    - +
    + +
    - - - - - - - - - +
    + +   + +
    + + +
    +
    + Index: lams_tool_vote/web/common/header.jsp =================================================================== diff -u -r5f940a9f66e9fc53d5c13d69fc716c4e7675a19e -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/common/header.jsp (.../header.jsp) (revision 5f940a9f66e9fc53d5c13d69fc716c4e7675a19e) +++ lams_tool_vote/web/common/header.jsp (.../header.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -7,12 +7,9 @@ - + - - - Index: lams_tool_vote/web/common/monitorheader.jsp =================================================================== diff -u -r81d3515d29fd57e3b9e08cc37481fd0becbd8b10 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/common/monitorheader.jsp (.../monitorheader.jsp) (revision 81d3515d29fd57e3b9e08cc37481fd0becbd8b10) +++ lams_tool_vote/web/common/monitorheader.jsp (.../monitorheader.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -8,23 +8,27 @@ - - - - - - - - + - - - - + + + + + + + + + + + + + + + Index: lams_tool_vote/web/common/tabbedheader.jsp =================================================================== diff -u -r5e63656a12c02f7476564e278b43ff4ce86ac930 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/common/tabbedheader.jsp (.../tabbedheader.jsp) (revision 5e63656a12c02f7476564e278b43ff4ce86ac930) +++ lams_tool_vote/web/common/tabbedheader.jsp (.../tabbedheader.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -7,8 +7,7 @@ - + - Index: lams_tool_vote/web/includes/javascript/authoring.js =================================================================== diff -u --- lams_tool_vote/web/includes/javascript/authoring.js (revision 0) +++ lams_tool_vote/web/includes/javascript/authoring.js (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -0,0 +1,16 @@ + function submitNomination(){ + for (var i in CKEDITOR.instances) { + CKEDITOR.instances[i].updateElement(); + } + // after submit, it direct to itemlist.jsp, + // then refresh "basic tab" resource list and close this window. + $.ajax({ // create an AJAX call... + data: $("#newNominationForm").serialize(), + type: $("#newNominationForm").attr('method'), + url: $("#newNominationForm").attr('action'), + success: function(data) { + $('#messageArea').html(data); + } + }); + + } \ No newline at end of file Index: lams_tool_vote/web/monitoring/AdvanceOptions.jsp =================================================================== diff -u -r43437f9c52f60b4fe545162b3ed72e6ddf911777 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/monitoring/AdvanceOptions.jsp (.../AdvanceOptions.jsp) (revision 43437f9c52f60b4fe545162b3ed72e6ddf911777) +++ lams_tool_vote/web/monitoring/AdvanceOptions.jsp (.../AdvanceOptions.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -1,15 +1,8 @@ -

    - + + + + - - - - -
    - -
    -
    @@ -122,4 +115,5 @@
    -

    + + \ No newline at end of file Index: lams_tool_vote/web/monitoring/AllSessionsSummary.jsp =================================================================== diff -u -r81d3515d29fd57e3b9e08cc37481fd0becbd8b10 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/monitoring/AllSessionsSummary.jsp (.../AllSessionsSummary.jsp) (revision 81d3515d29fd57e3b9e08cc37481fd0becbd8b10) +++ lams_tool_vote/web/monitoring/AllSessionsSummary.jsp (.../AllSessionsSummary.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -3,30 +3,51 @@ - -

    -
    +
    - + -
    - /monitoring/ReflectionViewer.jsp?sessionUid=${sessionUid} - -

    - -

    -
    -
    - - + +
    + + + + + +   + + +   + +
    +
    + +
    +
    + + + + ${buttonbar} +
    + +
    +
    + @@ -36,7 +57,8 @@ @@ -70,31 +92,13 @@
    - + + ${currentNomination.nomination} @@ -46,7 +68,7 @@ -  () +  ()
    -

    - - - - - +

    + +
    +
    + ${ ! status.last ? '
     
    ' : ''} -

    - - - - - -

    - - - - - - + + Index: lams_tool_vote/web/monitoring/Edit.jsp =================================================================== diff -u -r5cc196ca4ae3e17a6af1a633059f740562377cee -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/monitoring/Edit.jsp (.../Edit.jsp) (revision 5cc196ca4ae3e17a6af1a633059f740562377cee) +++ lams_tool_vote/web/monitoring/Edit.jsp (.../Edit.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -1,78 +1,35 @@ <%@ include file="/common/taglibs.jsp"%> - - - +
    - + + - + + + - - - - - + +
    -
    - -
    - -
    -
    - -
    - -
    -
    -
    -

    -

    - - - - - - - - - - - - - - - - - - - - - - -
    - : - - - - - -
    -
    -
    +
    + :
    - - - - - - - - + +
    + + + + + + + + + Index: lams_tool_vote/web/monitoring/MonitoringMaincontent.jsp =================================================================== diff -u -r81d3515d29fd57e3b9e08cc37481fd0becbd8b10 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/monitoring/MonitoringMaincontent.jsp (.../MonitoringMaincontent.jsp) (revision 81d3515d29fd57e3b9e08cc37481fd0becbd8b10) +++ lams_tool_vote/web/monitoring/MonitoringMaincontent.jsp (.../MonitoringMaincontent.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -6,22 +6,12 @@ <%@ page import="java.util.Set" %> <%@ page import="org.lamsfoundation.lams.tool.vote.VoteAppConstants"%> - <% - Set tabs = new LinkedHashSet(); - tabs.add("label.summary"); - tabs.add("label.editActivity"); - tabs.add("label.stats"); - pageContext.setAttribute("tabs", tabs); - %> - - + - + <fmt:message key="label.monitoring"/> + <%@ include file="/common/monitorheader.jsp"%> - <%@ include file="/common/tabbedheader.jsp"%> - - -
    - -

    :

    - -
    - - + + + + - + data-session-id='${param.sessionUid}' -
    + data-session-id='${param.toolContentUID}' - - - - - - - - - - -
    + + + + + + + - -
    -
    - - - - - - -
    -
    -
    - -
    + +
    Index: lams_tool_vote/web/monitoring/ReflectionViewer.jsp =================================================================== diff -u -r81d3515d29fd57e3b9e08cc37481fd0becbd8b10 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/monitoring/ReflectionViewer.jsp (.../ReflectionViewer.jsp) (revision 81d3515d29fd57e3b9e08cc37481fd0becbd8b10) +++ lams_tool_vote/web/monitoring/ReflectionViewer.jsp (.../ReflectionViewer.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -13,10 +13,11 @@ $(document).ready(function(){ $(".tablesorter").tablesorter({ - theme: 'blue', + theme: 'bootstrap', sortInitialOrder: 'desc', sortList: [[0]], - widgets: [ "resizable", "filter" ], + headerTemplate : '{content} {icon}', + widgets: [ "uitheme", "resizable", "filter" ], headers: { 1: { filter: false, sorter: false} }, widgetOptions: { resizable: true, @@ -30,7 +31,12 @@ $(".tablesorter").each(function() { $(this).tablesorterPager({ savePages: false, - ajaxUrl : "monitoring.do?dispatch=getReflectionsJSON&page={page}&size={size}&{sortList:column}&{filterList:fcol}&sessionUid=" + $(this).attr('data-session-id'), + container: $(this).find(".ts-pager"), + output: '{startRow} to {endRow} ({totalRows})', + cssPageDisplay: '.pagedisplay', + cssPageSize: '.pagesize', + cssDisabled: 'disabled', + ajaxUrl : "monitoring.do?dispatch=getReflectionsJSON&page={page}&size={size}&{sortList:column}&{filterList:fcol}&sessionUid=" + $(this).attr('data-session-id'), ajaxProcessing: function (data, table) { if (data && data.hasOwnProperty('rows')) { var rows = [], @@ -60,63 +66,24 @@ return json; } - }, - container: $(this).next(".pager"), - output: '{startRow} to {endRow} ({totalRows})', - // css class names of pager arrows - cssNext: '.tablesorter-next', // next page arrow - cssPrev: '.tablesorter-prev', // previous page arrow - cssFirst: '.tablesorter-first', // go to first page arrow - cssLast: '.tablesorter-last', // go to last page arrow - cssGoto: '.gotoPage', // select dropdown to allow choosing a page - cssPageDisplay: '.pagedisplay', // location of where the "output" is displayed - cssPageSize: '.pagesize', // page size selector - select dropdown that sets the "size" option - // class added to arrows when at the extremes (i.e. prev/first arrows are "disabled" when on the first page) - cssDisabled: 'disabled' // Note there is no period "." in front of this class name + } }) }); }) -
    - -

    - -
    - - - - - - - - - -
    + + - -
    -
    - - - - - - -
    -
    -
    - -
    + + + + + + +
    Index: lams_tool_vote/web/monitoring/StatsPart.jsp =================================================================== diff -u -r81d3515d29fd57e3b9e08cc37481fd0becbd8b10 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/monitoring/StatsPart.jsp (.../StatsPart.jsp) (revision 81d3515d29fd57e3b9e08cc37481fd0becbd8b10) +++ lams_tool_vote/web/monitoring/StatsPart.jsp (.../StatsPart.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -1,17 +1,30 @@ <%@ include file="/common/taglibs.jsp"%> - + + + - + - -

    ${stats.sessionName}

    + +
    +
    + + ${stats.sessionName} + +
    + +
    -

    ${stats.countUsersComplete}
    - ${stats.countAllUsers}

    - +

     ${stats.countUsersComplete}

    +

     ${stats.countAllUsers}

    + + +
    +
    +
    Index: lams_tool_vote/web/monitoring/SummaryContent.jsp =================================================================== diff -u -r81d3515d29fd57e3b9e08cc37481fd0becbd8b10 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/monitoring/SummaryContent.jsp (.../SummaryContent.jsp) (revision 81d3515d29fd57e3b9e08cc37481fd0becbd8b10) +++ lams_tool_vote/web/monitoring/SummaryContent.jsp (.../SummaryContent.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -2,17 +2,6 @@ - - - - - - - - - - - - -

    - -

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

    + +

    +
    +
    - - + + + + + + + + + + + + + +
    + - + <%@include file="AdvanceOptions.jsp"%> - + <%@include file="daterestriction.jsp"%> + \ No newline at end of file Index: lams_tool_vote/web/monitoring/VoteNominationViewer.jsp =================================================================== diff -u -r81d3515d29fd57e3b9e08cc37481fd0becbd8b10 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/monitoring/VoteNominationViewer.jsp (.../VoteNominationViewer.jsp) (revision 81d3515d29fd57e3b9e08cc37481fd0becbd8b10) +++ lams_tool_vote/web/monitoring/VoteNominationViewer.jsp (.../VoteNominationViewer.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -13,10 +13,11 @@ $(document).ready(function(){ $(".tablesorter").tablesorter({ - theme: 'blue', + theme: 'bootstrap', sortInitialOrder: 'desc', sortList: [[0]], - widgets: [ "resizable", "filter" ], + headerTemplate : '{content} {icon}', + widgets: [ "uitheme", "resizable", "filter" ], headers: { 1: { filter: false} }, widgetOptions: { resizable: true, @@ -30,6 +31,11 @@ $(".tablesorter").each(function() { $(this).tablesorterPager({ savePages: false, + container: $(this).find(".ts-pager"), + output: '{startRow} to {endRow} ({totalRows})', + cssPageDisplay: '.pagedisplay', + cssPageSize: '.pagesize', + cssDisabled: 'disabled', ajaxUrl : "monitoring.do?dispatch=getVoteNominationsJSON&page={page}&size={size}&{sortList:column}&{filterList:fcol}&questionUid=${questionUid}&sessionUid=" + $(this).attr('data-session-id'), ajaxProcessing: function (data, table) { if (data && data.hasOwnProperty('rows')) { @@ -56,63 +62,24 @@ return json; } - }, - container: $(this).next(".pager"), - output: '{startRow} to {endRow} ({totalRows})', - // css class names of pager arrows - cssNext: '.tablesorter-next', // next page arrow - cssPrev: '.tablesorter-prev', // previous page arrow - cssFirst: '.tablesorter-first', // go to first page arrow - cssLast: '.tablesorter-last', // go to last page arrow - cssGoto: '.gotoPage', // select dropdown to allow choosing a page - cssPageDisplay: '.pagedisplay', // location of where the "output" is displayed - cssPageSize: '.pagesize', // page size selector - select dropdown that sets the "size" option - // class added to arrows when at the extremes (i.e. prev/first arrows are "disabled" when on the first page) - cssDisabled: 'disabled' // Note there is no period "." in front of this class name + } }) }); }) + + + +

    : ${nominationText}

    -
    - -

    :

    - -
    - - - - - - - -
    - -
    + + + + - -
    -
    - - - - - - -
    -
    -
    - -
    +
    Index: lams_tool_vote/web/monitoring/daterestriction.jsp =================================================================== diff -u -r57a242c8553eeec5781c2106493aa9f34efa5489 -rff7583ba24a271222b91ab3ecc460b931fe20e37 --- lams_tool_vote/web/monitoring/daterestriction.jsp (.../daterestriction.jsp) (revision 57a242c8553eeec5781c2106493aa9f34efa5489) +++ lams_tool_vote/web/monitoring/daterestriction.jsp (.../daterestriction.jsp) (revision ff7583ba24a271222b91ab3ecc460b931fe20e37) @@ -1,43 +1,29 @@ <%@include file="/common/taglibs.jsp"%> -

    - + + - - - -

    -
    - - \ No newline at end of file + \ No newline at end of file