Index: lams_tool_notebook/conf/language/lams/ApplicationResources.properties =================================================================== diff -u -r326a22552c270b321496ebb84887c1124f1881f1 -r7712648410bc57755e64aa3cc3488d3070d67aa4 --- lams_tool_notebook/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 326a22552c270b321496ebb84887c1124f1881f1) +++ lams_tool_notebook/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 7712648410bc57755e64aa3cc3488d3070d67aa4) @@ -118,6 +118,7 @@ label.yes=Yes label.no=No label.reply.comment =Instructor's comment +label.editing.options=Editing Options +label.activity.completion=End of Activity - #======= End labels: Exported 112 labels for en AU ===== Index: lams_tool_notebook/web/WEB-INF/tags/Arrow.tag =================================================================== diff -u -ra0a249e0861e944d080689e4ebb853566cd40f2d -r7712648410bc57755e64aa3cc3488d3070d67aa4 --- lams_tool_notebook/web/WEB-INF/tags/Arrow.tag (.../Arrow.tag) (revision a0a249e0861e944d080689e4ebb853566cd40f2d) +++ lams_tool_notebook/web/WEB-INF/tags/Arrow.tag (.../Arrow.tag) (revision 7712648410bc57755e64aa3cc3488d3070d67aa4) @@ -6,6 +6,8 @@ <%@ 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"%> @@ -26,10 +28,28 @@ + + id="${id}" + + + + + + + + + style='display:${display}' + + + + + + + - + - + Index: lams_tool_notebook/web/WEB-INF/tags/AuthoringRatingCriteria.tag =================================================================== diff -u --- lams_tool_notebook/web/WEB-INF/tags/AuthoringRatingCriteria.tag (revision 0) +++ lams_tool_notebook/web/WEB-INF/tags/AuthoringRatingCriteria.tag (revision 7712648410bc57755e64aa3cc3488d3070d67aa4) @@ -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_notebook/web/WEB-INF/tags/Date.tag =================================================================== diff -u -rb6718851271ad991d43a5a3158f8e10c9ccceaaa -r7712648410bc57755e64aa3cc3488d3070d67aa4 --- lams_tool_notebook/web/WEB-INF/tags/Date.tag (.../Date.tag) (revision b6718851271ad991d43a5a3158f8e10c9ccceaaa) +++ lams_tool_notebook/web/WEB-INF/tags/Date.tag (.../Date.tag) (revision 7712648410bc57755e64aa3cc3488d3070d67aa4) @@ -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_tool_notebook/web/WEB-INF/tags/Page.tag =================================================================== diff -u -ra0a249e0861e944d080689e4ebb853566cd40f2d -r7712648410bc57755e64aa3cc3488d3070d67aa4 --- lams_tool_notebook/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision a0a249e0861e944d080689e4ebb853566cd40f2d) +++ lams_tool_notebook/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 7712648410bc57755e64aa3cc3488d3070d67aa4) @@ -24,7 +24,7 @@
- + ${titleHelpURL}
Index: lams_tool_notebook/web/WEB-INF/tags/Rating.tag =================================================================== diff -u --- lams_tool_notebook/web/WEB-INF/tags/Rating.tag (revision 0) +++ lams_tool_notebook/web/WEB-INF/tags/Rating.tag (revision 7712648410bc57755e64aa3cc3488d3070d67aa4) @@ -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_notebook/web/WEB-INF/tags/SimplePanel.tag =================================================================== diff -u --- lams_tool_notebook/web/WEB-INF/tags/SimplePanel.tag (revision 0) +++ lams_tool_notebook/web/WEB-INF/tags/SimplePanel.tag (revision 7712648410bc57755e64aa3cc3488d3070d67aa4) @@ -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_tool_notebook/web/WEB-INF/tlds/lams/lams.tld =================================================================== diff -u -ra0a249e0861e944d080689e4ebb853566cd40f2d -r7712648410bc57755e64aa3cc3488d3070d67aa4 --- lams_tool_notebook/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision a0a249e0861e944d080689e4ebb853566cd40f2d) +++ lams_tool_notebook/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 7712648410bc57755e64aa3cc3488d3070d67aa4) @@ -426,8 +426,16 @@ AuthoringButton /WEB-INF/tags/AuthoringButton.tag - + + AuthoringRatingCriteria + /WEB-INF/tags/AuthoringRatingCriteria.tag + + + Rating + /WEB-INF/tags/Rating.tag + + headItems /WEB-INF/tags/headItems.tag @@ -463,6 +471,10 @@ RestrictedUsageAccordian /WEB-INF/tags/RestrictedUsageAccordian.tag + + SimplePanel + /WEB-INF/tags/SimplePanel.tag + ImgButtonWrapper /WEB-INF/tags/ImgButtonWrapper.tag Index: lams_tool_notebook/web/pages/authoring/advanced.jsp =================================================================== diff -u -r6979c30a16356d7c3432119a03d87f1334f98e35 -r7712648410bc57755e64aa3cc3488d3070d67aa4 --- lams_tool_notebook/web/pages/authoring/advanced.jsp (.../advanced.jsp) (revision 6979c30a16356d7c3432119a03d87f1334f98e35) +++ lams_tool_notebook/web/pages/authoring/advanced.jsp (.../advanced.jsp) (revision 7712648410bc57755e64aa3cc3488d3070d67aa4) @@ -2,16 +2,21 @@ -
- -
+
+
+ + +
+ +
+