Index: lams_central/web/WEB-INF/tags/StyledRating5.tag =================================================================== diff -u --- lams_central/web/WEB-INF/tags/StyledRating5.tag (revision 0) +++ lams_central/web/WEB-INF/tags/StyledRating5.tag (revision d43d1e67bb589b4f565a222a3f33ea17debc68a7) @@ -0,0 +1,553 @@ +<% + /** + * 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="http://www.springframework.org/tags/form" prefix="form" %> +<%@ 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="rubricsPivotView" required="false" %> +<%@ attribute name="rubricsInBetweenColumns" required="false" %> + + + + + + + + + +<%@ attribute name="currentUserDisplay" required="true" %> + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+   + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ +   + +
+ ${criteriaRatings.ratingCriteria.ratingCriteriaId}-${rating.itemId} +
+
+ ${rating.userRating} +
+ + + + + + ${userRating} + + +
+ + ${rating.averageRating} + ${rating.numberOfVotes} + +
+
+
+ +
+
+ + + + +
+
+ ${criteriaRatings.ratingCriteria.ratingCriteriaId}-${rating.itemId} +
+
+ + ${rating.averageRating} + ${rating.numberOfVotes} + +
+
+
+
+ + +
+
+
+
+
+
+
+ +
+ + +
+
+   + + + +
+ +
    + + +
  • + + - + + + : +   +    + + (${rating.userRating}) + +
  • +
    +
    +
+
+
+ + +
+
+ +   + + + +
+ +
    + + +
  • + + + - + ${rating.averageRating} + + : + + +   + + + + +    + + + (${rating.userRating}) + +
  • +
    +
    +
+ + +
+ +
+ +
+
+
+ + + + + + +
+
+ <%-- Each answer column has the same length, all remaining space is taken by the question column --%> +
+ +
+ (${columnStatus.count})  +
+ +
+ (${columnStatus.count + 0.5})  +
+
+
+
+
+ + + + +
+
+ +
+ + <%-- These variables are for counting average rating for the given row --%> + + + + + <%-- Check if any other learner rated this learner for this column --%> + + + + + + + +
0}">text-bg-success"> + + + + <%-- learners see just how many rates they got from other learners --%> +
+ x ${rateCount} +
+ + <%-- teachers see also who gave the rating --%> + + + +
+ +   +
+
+
+
+
+
+ + + <%-- Check if any other learner rated this learner for this 0.5 column --%> + + + + + + + +
0}">text-bg-success"> + + + + <%-- learners see just how many rates they got from other learners --%> +
+ x ${rateCount} +
+ + <%-- teachers see also who gave the rating --%> + + + +
+ +   +
+
+
+
+
+
+
+
+ + <%-- Cell with average rating --%> +
+ + + - + + + + + +
+
+
+
+
+ + +
+ <%-- It is sufficient to take user names and columns from the first row/criterion --%> + + + + + + +
+
+ +
+ +
+
+
+ <%-- Learner profile pictures and names --%> +
+ +
+
+ +
+
+
+ + + +
+
+ <%-- Criterion "column" --%> +
+ <%-- Criterion "cell" --%> + +
+ + <%-- Columns are ordered from 1 to 5, so rate value is also the order ID of the column --%> +
+ ${columnHeaderCount - columnStatus.index} +
+
+
+ + +
+
+ +
+ +
+ ${columnHeaderCount - columnStatus.index - 0.5} +
+
+
+
+
+
+
+
+ +
+
+
+ + + + +
+ <%-- It is sufficient to take user names and columns from the first row/criterion --%> + + + + +
+
+ +
+ +
+
+
+ <%-- Each answer column has the same length, all remaining space is take by the question column --%> +
+ +
+ (${columnStatus.count})  +
+ +
+ (${columnStatus.count + 0.5})  +
+
+
+
+ + + +
+
+ +
+ + <%-- Columns are ordered from 1 to 5, so rate value is also the order ID of the column --%> +
+ +
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_central/web/css/components.scss =================================================================== diff -u -ra08fb689e1bb174869cb981d301b204d2f573590 -rd43d1e67bb589b4f565a222a3f33ea17debc68a7 --- lams_central/web/css/components.scss (.../components.scss) (revision a08fb689e1bb174869cb981d301b204d2f573590) +++ lams_central/web/css/components.scss (.../components.scss) (revision d43d1e67bb589b4f565a222a3f33ea17debc68a7) @@ -590,7 +590,19 @@ vertical-align: middle; } -// Ratings +/* fontawesome icon x-small */ +.fa-xs { + font-size: smaller; +} + +.card-subheader { + padding-bottom: 7px; + /*font-style: italic;*/ + font-weight: 500; + color: rgba(5, 112, 213,1) !important; +} + +/*----------Ratings----------------*/ .rating-comment{ background-image: none; border: $border-thin-default-light; @@ -602,9 +614,10 @@ font-size: x-small; } -/* fontawesome icon x-small */ -.fa-xs { - font-size: smaller; +/*----------collapsable-icon-left----------------*/ + +.component-page-wrapper .collapsable-icon-left button.collapsed:after { + content: "\f054"; } .component-page-wrapper .collapsable-icon-left button[data-bs-toggle="collapse"]:after { @@ -615,10 +628,25 @@ margin-right: .5rem; } -.component-page-wrapper .collapsable-icon-left button.collapsed:after { - content: "\f054"; +/*----------slider----------------*/ + +.bootstrap-slider input[type="range"] { + width: 210px; + margin: 0; } +.bootstrap-slider datalist { + display: flex; + flex-direction: column; + justify-content: space-between; + writing-mode: vertical-lr; + width: 210px; +} + +.bootstrap-slider option { + padding: 0; +} + /* Unused or used in assessment rewritten authoring */ /* Index: lams_tool_assessment/web/includes/css/assessment.scss =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -rd43d1e67bb589b4f565a222a3f33ea17debc68a7 --- lams_tool_assessment/web/includes/css/assessment.scss (.../assessment.scss) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_assessment/web/includes/css/assessment.scss (.../assessment.scss) (revision d43d1e67bb589b4f565a222a3f33ea17debc68a7) @@ -32,12 +32,6 @@ padding-right: 5px; } -.card-subheader { - padding-bottom: 7px; - //font-style: italic; - font-weight: 500; - color: rgba(5, 112, 213,1) !important; -} .question-table { width: 98%; } @@ -139,25 +133,6 @@ padding: 12px 0 !important; } -/*----------slider----------------*/ - -.bootstrap-slider input[type="range"] { - width: 210px; - margin: 0; -} - -.bootstrap-slider datalist { - display: flex; - flex-direction: column; - justify-content: space-between; - writing-mode: vertical-lr; - width: 210px; -} - -.bootstrap-slider option { - padding: 0; -} - /*----------countdown growl----------------*/ .jGrowl { font-size: 22px; Index: lams_tool_lamc/web/WEB-INF/tags/StyledRating5.tag =================================================================== diff -u --- lams_tool_lamc/web/WEB-INF/tags/StyledRating5.tag (revision 0) +++ lams_tool_lamc/web/WEB-INF/tags/StyledRating5.tag (revision d43d1e67bb589b4f565a222a3f33ea17debc68a7) @@ -0,0 +1,553 @@ +<% + /** + * 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="http://www.springframework.org/tags/form" prefix="form" %> +<%@ 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="rubricsPivotView" required="false" %> +<%@ attribute name="rubricsInBetweenColumns" required="false" %> + + + + + + + + + +<%@ attribute name="currentUserDisplay" required="true" %> + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+   + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ +   + +
+ ${criteriaRatings.ratingCriteria.ratingCriteriaId}-${rating.itemId} +
+
+ ${rating.userRating} +
+ + + + + + ${userRating} + + +
+ + ${rating.averageRating} + ${rating.numberOfVotes} + +
+
+
+ +
+
+ + + + +
+
+ ${criteriaRatings.ratingCriteria.ratingCriteriaId}-${rating.itemId} +
+
+ + ${rating.averageRating} + ${rating.numberOfVotes} + +
+
+
+
+ + +
+
+
+
+
+
+
+ +
+ + +
+
+   + + + +
+ +
    + + +
  • + + - + + + : +   +    + + (${rating.userRating}) + +
  • +
    +
    +
+
+
+ + +
+
+ +   + + + +
+ +
    + + +
  • + + + - + ${rating.averageRating} + + : + + +   + + + + +    + + + (${rating.userRating}) + +
  • +
    +
    +
+ + +
+ +
+ +
+
+
+ + + + + + +
+
+ <%-- Each answer column has the same length, all remaining space is taken by the question column --%> +
+ +
+ (${columnStatus.count})  +
+ +
+ (${columnStatus.count + 0.5})  +
+
+
+
+
+ + + + +
+
+ +
+ + <%-- These variables are for counting average rating for the given row --%> + + + + + <%-- Check if any other learner rated this learner for this column --%> + + + + + + + +
0}">text-bg-success"> + + + + <%-- learners see just how many rates they got from other learners --%> +
+ x ${rateCount} +
+ + <%-- teachers see also who gave the rating --%> + + + +
+ +   +
+
+
+
+
+
+ + + <%-- Check if any other learner rated this learner for this 0.5 column --%> + + + + + + + +
0}">text-bg-success"> + + + + <%-- learners see just how many rates they got from other learners --%> +
+ x ${rateCount} +
+ + <%-- teachers see also who gave the rating --%> + + + +
+ +   +
+
+
+
+
+
+
+
+ + <%-- Cell with average rating --%> +
+ + + - + + + + + +
+
+
+
+
+ + +
+ <%-- It is sufficient to take user names and columns from the first row/criterion --%> + + + + + + +
+
+ +
+ +
+
+
+ <%-- Learner profile pictures and names --%> +
+ +
+
+ +
+
+
+ + + +
+
+ <%-- Criterion "column" --%> +
+ <%-- Criterion "cell" --%> + +
+ + <%-- Columns are ordered from 1 to 5, so rate value is also the order ID of the column --%> +
+ ${columnHeaderCount - columnStatus.index} +
+
+
+ + +
+
+ +
+ +
+ ${columnHeaderCount - columnStatus.index - 0.5} +
+
+
+
+
+
+
+
+ +
+
+
+ + + + +
+ <%-- It is sufficient to take user names and columns from the first row/criterion --%> + + + + +
+
+ +
+ +
+
+
+ <%-- Each answer column has the same length, all remaining space is take by the question column --%> +
+ +
+ (${columnStatus.count})  +
+ +
+ (${columnStatus.count + 0.5})  +
+
+
+
+ + + +
+
+ +
+ + <%-- Columns are ordered from 1 to 5, so rate value is also the order ID of the column --%> +
+ +
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_lamc/web/learning/AnswersContent.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -rd43d1e67bb589b4f565a222a3f33ea17debc68a7 --- lams_tool_lamc/web/learning/AnswersContent.jsp (.../AnswersContent.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_lamc/web/learning/AnswersContent.jsp (.../AnswersContent.jsp) (revision d43d1e67bb589b4f565a222a3f33ea17debc68a7) @@ -8,32 +8,22 @@ - - - <fmt:message key="activity.title" /> - - + - - - - - +
- - -
+
- + - + - + ( ) - + + + + + -
+
@@ -164,14 +153,6 @@ - -

- - - -

-
- @@ -182,7 +163,5 @@
- - - - +
+ Index: lams_tool_lamc/web/learning/CombinedAnswersContent.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -rd43d1e67bb589b4f565a222a3f33ea17debc68a7 --- lams_tool_lamc/web/learning/CombinedAnswersContent.jsp (.../CombinedAnswersContent.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_lamc/web/learning/CombinedAnswersContent.jsp (.../CombinedAnswersContent.jsp) (revision d43d1e67bb589b4f565a222a3f33ea17debc68a7) @@ -1,100 +1,99 @@ <%@ include file="/common/taglibs.jsp"%> - + + + - +
+
+
+
+ ${answerDto.displayOrder}) +
+ +
+ + + + +
+ +
+
+
-
-
-
-
- - - - - - - - - - -
- ${answerDto.displayOrder}) - - - -
-
- -
- [ - - - ] -
-
-
- -
- - - - - - - - - - -
-
- checked="checked" - disabled="disabled" - > + +
+ + +
+
+
- - -
-
- +
+
+
+ + + + + +
+
+ checked="checked" + disabled="disabled" + > + + +
+
+
+
+
-
- +
+
+ +
+ +
+ value="${answerDto.confidenceLevel}" + disabled + > + + +
- -
- data-slider-value="${answerDto.confidenceLevel}" - /> -
- - -
-
-
-
+ +
+
-
- -
+ +
Fisheye: Tag d43d1e67bb589b4f565a222a3f33ea17debc68a7 refers to a dead (removed) revision in file `lams_tool_lamc/web/learning/SimpleLearnerError.jsp'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_lamc/web/learning/SingleQuestionAnswersContent.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -rd43d1e67bb589b4f565a222a3f33ea17debc68a7 --- lams_tool_lamc/web/learning/SingleQuestionAnswersContent.jsp (.../SingleQuestionAnswersContent.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_lamc/web/learning/SingleQuestionAnswersContent.jsp (.../SingleQuestionAnswersContent.jsp) (revision d43d1e67bb589b4f565a222a3f33ea17debc68a7) @@ -7,86 +7,87 @@ + + - -
-
-
-
- - - - - - - - - - -
- ${answerDto.displayOrder}) - - - -
-
- -
- [ ] -
+
+
+
+
+ ${answerDto.displayOrder})
- -
-
- - - - - - - +
+ + + + +
+ +
+
+ + + +
+ + +
+
+ + +
+
+
+ + + + + +
+
+ checked="checked" + /> + + +
+
+
+
+
- -
- - - - - -
-
- checked="checked" - /> - - -
-
-
- -
+ +
+
+ +
-
- data-slider-value="${answerDto.confidenceLevel}" - /> -
-
+
+ value="${answerDto.confidenceLevel}" + disabled + > + +
- -
+
@@ -95,20 +96,20 @@
- Index: lams_tool_lamc/web/learning/ViewAnswers.jsp =================================================================== diff -u -rbc8213e12c4e5afddd0394ad66386ef3e70d1611 -rd43d1e67bb589b4f565a222a3f33ea17debc68a7 --- lams_tool_lamc/web/learning/ViewAnswers.jsp (.../ViewAnswers.jsp) (revision bc8213e12c4e5afddd0394ad66386ef3e70d1611) +++ lams_tool_lamc/web/learning/ViewAnswers.jsp (.../ViewAnswers.jsp) (revision d43d1e67bb589b4f565a222a3f33ea17debc68a7) @@ -8,13 +8,7 @@ - - - - <fmt:message key="activity.title" /> - - - + - - - - - - +
- -

- - - -

+
-

+ @@ -83,14 +62,17 @@ -

-

+ + + + +    -

-
+ +

@@ -101,250 +83,200 @@ -
-
-
-
- - - - - -
- ${status.count}) - - - -
-
- -
+
+
+
+
+ ${status.count})
+ +
+ + + + +
+ +
+
+
+
-
+
- - - - + + + + - - - - - - - - - - -
${subEntry.key} -
-
- -
    - -
  • -
    -
-
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - + + +
    + +
  • + + ${subEntry.key} +   + -
- + + + + + + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
- -
- - - -
- - - - - - - - - -
colspan="2" + + +
+
+ +
+ +
+ + + value="${attemptEntry.value.confidenceLevel}" > -
- -
- -
- - - data-slider-value="${attemptEntry.value.confidenceLevel}" - /> - - -
-
+ + + + +
- +
+ + - - - - - -
-
-

- -

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

- - -    - -

-
-

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

- -

- -
-
-

- -

-
-
- - - - - - - - - -
-
-
-
+
-
- - - - - - +
+ + + + + + + + + + - - "/> + - - -
- - - - - - - - - - - - - - - - "/> - -
+ + +
+ + +
- + - - +
+