Index: lams_gradebook/web/WEB-INF/tags/AdvancedAccordian.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/AdvancedAccordian.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/AdvancedAccordian.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -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_gradebook/web/WEB-INF/tags/Alert.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/Alert.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/Alert.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -0,0 +1,46 @@ +<%@ tag body-content="scriptless"%> +<%@ taglib uri="tags-core" prefix="c"%> + +<%@ attribute name="close" required="false" rtexprvalue="true"%> +<%@ attribute name="id" required="false" rtexprvalue="true"%> +<%@ attribute name="type" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ +
+
+ + × + + +
+
+
+
+
Index: lams_gradebook/web/WEB-INF/tags/Arrow.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/Arrow.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/Arrow.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -0,0 +1,55 @@ +<%@ 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"%> +<%@ attribute name="id" required="false" rtexprvalue="true"%> +<%@ attribute name="display" required="false" rtexprvalue="true"%> + + + + title="${title}" + + + + + + + + + onclick="${onclick}" + + + + + + + + + id="${id}" + + + + + + + + + style='display:${display}' + + + + + + + + + + + + + + Index: lams_gradebook/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -r606581007abbdaee5483777096f32ffac1c3e3eb -r6e11b20353d23ae1ef9a153af2109ec0e5c4049f --- lams_gradebook/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 606581007abbdaee5483777096f32ffac1c3e3eb) +++ lams_gradebook/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -122,12 +122,12 @@ window.close(); } -

- - - - +

+ -

+ + + +
\ No newline at end of file Index: lams_gradebook/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -0,0 +1,372 @@ +<% + /** + * AuthoringRatingSimple.tag + * Author: Andrey Balan + * Description: Creates list of rating criterias for authoring page, only support stars. + */ + %> +<%@ 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" %> +<%@ attribute name="allLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="justifyLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="rankLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="hedgeRankLabel" required="false" rtexprvalue="true" %> + +<%-- Default value for message key --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +
+ + + +
+
+ +
+ + + +   + +
+ +
+ \ No newline at end of file Index: lams_gradebook/web/WEB-INF/tags/AuthoringRatingCriteria.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/AuthoringRatingCriteria.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/AuthoringRatingCriteria.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -0,0 +1,348 @@ +<% + /** + * 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_gradebook/web/WEB-INF/tags/CKEditor.tag =================================================================== diff -u -rdc884b8e6274ebbc664d1ee940e565803445bb26 -r6e11b20353d23ae1ef9a153af2109ec0e5c4049f --- lams_gradebook/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision dc884b8e6274ebbc664d1ee940e565803445bb26) +++ lams_gradebook/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -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_gradebook/web/WEB-INF/tags/Comments.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/Comments.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/Comments.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -0,0 +1,48 @@ +<%@ 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_gradebook/web/WEB-INF/tags/CommentsAuthor.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/CommentsAuthor.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/CommentsAuthor.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -0,0 +1,59 @@ +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-html" prefix="html"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + +<%@ 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"%> +<%@ attribute name="commentPanelHeaderKey" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+     +   +
+
+ + + + Index: lams_gradebook/web/WEB-INF/tags/Date.tag =================================================================== diff -u -rb6718851271ad991d43a5a3158f8e10c9ccceaaa -r6e11b20353d23ae1ef9a153af2109ec0e5c4049f --- lams_gradebook/web/WEB-INF/tags/Date.tag (.../Date.tag) (revision b6718851271ad991d43a5a3158f8e10c9ccceaaa) +++ lams_gradebook/web/WEB-INF/tags/Date.tag (.../Date.tag) (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -34,6 +34,7 @@ <%@ attribute name="value" required="true" rtexprvalue="true" type="java.util.Date" %> <%@ attribute name="style" required="false" rtexprvalue="true"%> <%@ attribute name="type" required="false" rtexprvalue="true"%> +<%@ attribute name="timeago" required="false" rtexprvalue="true"%> <%@ taglib uri="tags-fmt" prefix="fmt" %> <%@ taglib uri="tags-core" prefix="c" %> @@ -42,6 +43,10 @@ + + + @@ -53,3 +58,7 @@ + + + + \ No newline at end of file Index: lams_gradebook/web/WEB-INF/tags/DefineLater.tag =================================================================== diff -u -re2529b0019344d0d92463b751d186e8804184635 -r6e11b20353d23ae1ef9a153af2109ec0e5c4049f --- lams_gradebook/web/WEB-INF/tags/DefineLater.tag (.../DefineLater.tag) (revision e2529b0019344d0d92463b751d186e8804184635) +++ lams_gradebook/web/WEB-INF/tags/DefineLater.tag (.../DefineLater.tag) (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -1,6 +1,6 @@ <% - /**************************************************************** + /**************************************************************** * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * ============================================================= * License Information: http://lamsfoundation.org/licensing/lams/2.0/ @@ -49,10 +49,18 @@ -

- -

-
- +
+
+
+ +
+
+
+
+ +
+
\ No newline at end of file Index: lams_gradebook/web/WEB-INF/tags/ImgButtonWrapper.tag =================================================================== diff -u -re074865bde063cd3ac9e531a90857d07de9d121c -r6e11b20353d23ae1ef9a153af2109ec0e5c4049f --- lams_gradebook/web/WEB-INF/tags/ImgButtonWrapper.tag (.../ImgButtonWrapper.tag) (revision e074865bde063cd3ac9e531a90857d07de9d121c) +++ lams_gradebook/web/WEB-INF/tags/ImgButtonWrapper.tag (.../ImgButtonWrapper.tag) (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -1,37 +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 - * **************************************************************** - */ - - /** - * ImgButtonWrapper.tag - * Author: Mitchell Seaton - * Description: Simple wrapper that will display buttons correctly when RTL page rendering is used. - */ - - %> -<%@ tag body-content="scriptless" %> -
-
- -
-
+<% +/**************************************************************** + * 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 + * **************************************************************** + */ + + /** + * ImgButtonWrapper.tag + * Author: Mitchell Seaton + * Description: Simple wrapper that will display buttons correctly when RTL page rendering is used. + */ + + %> +<%@ tag body-content="scriptless" %> +
+
+ +
+
Index: lams_gradebook/web/WEB-INF/tags/Page.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/Page.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/Page.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -0,0 +1,343 @@ +<%@ tag body-content="scriptless"%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + +<%@ attribute name="type" required="true" rtexprvalue="true"%> +<%@ attribute name="style" required="false" rtexprvalue="true"%> +<%@ attribute name="title" required="false" rtexprvalue="true"%> +<%@ attribute name="titleHelpURL" required="false" rtexprvalue="true"%> +<%@ attribute name="headingContent" required="false" rtexprvalue="true"%> +<%@ attribute name="usePanel" required="false" rtexprvalue="true"%> +<%@ attribute name="hideProgressBar" required="false" rtexprvalue="true"%> + + + true + + + + + + <%-- Combined tab and navigation bar used in authoring and monitoring --%> +
+
+
+ +
+
+
+
+ + + <%-- Learner --%> + + <%-- Try to get authoring preview/learning/monitoring from the tool activity so we don't show the progress bar in monitoring --%> + + + + + + + + + + + <%-- only have sidebar and presence in learner main window, not in popup windows --%> + + + <%-- Links placed in body instead of head. Ugly, but it works. --%> + + + + + + + + + + <%-- Desperately try to get tool session ID from the tool activity --%> + + + + + + + + + + + + + + + + + + + + + + + + ${toolForm.toolSessionID} + + + + + + + + + <%-- end of sidebar stuff - only used if in learner screen --%> + + + + + + + +
+
+
+ + + +
+ +
+
+ + + ${titleHelpURL} + +
+ + + +
+
+ +
+ +
+
+
+ + + + +
+ +
+
+
+
+
+ + + + \ No newline at end of file Index: lams_gradebook/web/WEB-INF/tags/Rating.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/Rating.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/Rating.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -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_gradebook/web/WEB-INF/tags/RestrictedUsageAccordian.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -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_gradebook/web/WEB-INF/tags/SimplePanel.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/SimplePanel.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/SimplePanel.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -0,0 +1,32 @@ +<%@ tag body-content="scriptless"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> + +<%@ attribute name="title" required="false" rtexprvalue="true"%> +<%@ attribute name="titleKey" required="false" rtexprvalue="true"%> +<%@ attribute name="titleHelpURL" required="false" rtexprvalue="true"%> +<%@ attribute name="panelBodyClass" required="false" rtexprvalue="true"%> + + + + + +
+ +
+
+ + + + +
+
+
+
+ +
+
+ + + + Index: lams_gradebook/web/WEB-INF/tags/StyledRating.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/StyledRating.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/StyledRating.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -0,0 +1,197 @@ +<% + /** + * StyledRating.tag + * Author: Andrey Balan + * Description: Shows the results of a styled rating. Does not allow for update. + */ + %> +<%@ 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="criteriaRatings" required="true" rtexprvalue="true" type="org.lamsfoundation.lams.rating.dto.StyledCriteriaRatingDTO" %> +<%@ attribute name="showJustification" required="true" %> +<%@ attribute name="alwaysShowAverage" required="true" %> + + +<%@ attribute name="currentUserDisplay" required="true" %> + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + +
+ ${criteriaRatings.ratingCriteria.ratingCriteriaId}-${rating.itemId} +
+ ${rating.userRating} + +
+ + ${userRating} + ${rating.averageRating} + ${rating.numberOfVotes} + +
+
+ +
+
+ + + + + + + + + + + + + + + + + +
+
+ ${criteriaRatings.ratingCriteria.ratingCriteriaId}-${rating.itemId} +
+ ${rating.userRating} + +
+ + ${userRating} + ${rating.averageRating} + ${rating.numberOfVotes} + +
+
+
+
+
+
+ +
+ + +   +
    + + +
  • + + - + + + : +    + + (${rating.userRating}) + +
  • +
    +
    +
+
+ + +   +
    + + +
  • + + - + ${rating.averageRating} + + : +    + + (${rating.userRating}) + +
  • +
    +
    +
+ +   +
+
+
+ + +
\ No newline at end of file Index: lams_gradebook/web/WEB-INF/tags/TSTable.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/TSTable.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/TSTable.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -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_gradebook/web/WEB-INF/tags/TabBodyArea.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/TabBodyArea.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/TabBodyArea.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -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_gradebook/web/WEB-INF/tags/TabBodys.tag =================================================================== diff -u --- lams_gradebook/web/WEB-INF/tags/TabBodys.tag (revision 0) +++ lams_gradebook/web/WEB-INF/tags/TabBodys.tag (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -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_gradebook/web/WEB-INF/tags/Tabs.tag =================================================================== diff -u -re074865bde063cd3ac9e531a90857d07de9d121c -r6e11b20353d23ae1ef9a153af2109ec0e5c4049f --- lams_gradebook/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision e074865bde063cd3ac9e531a90857d07de9d121c) +++ lams_gradebook/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 6e11b20353d23ae1ef9a153af2109ec0e5c4049f) @@ -23,47 +23,78 @@ /** * Tabs.tag - * Author: Mitchell Seaton - * Description: Create a tab list from a input collection or nested Tab tags. - * Wiki: + * Author: Fiona Malikoff + * Description: Create a hybrid panel header that contains a nav bar that acts like tabs. */ - %> -<%@ 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"%> +<%@ attribute name="title" required="false" rtexprvalue="true"%> +<%@ attribute name="refreshOnClickAction" required="false" rtexprvalue="true"%> +<%@ attribute name="helpPage" 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"%> + + + + + + - - - - + +
+