Commit 1c4cdb23 by Brian Talbot

Merge pull request #156 from edx/talbs/ui-peerscores

Show Peer Scores for Each Rubric Question
parents df753bca e6703199
...@@ -65,6 +65,10 @@ ...@@ -65,6 +65,10 @@
<span class="answer__content"> <span class="answer__content">
{{ part.option.explanation }} {{ part.option.explanation }}
</span> </span>
<span class="answer__score">
<span class="label sr">Score Earned: </span>
<span class="value">{{ part.option.points }} points</span>
</span>
</li> </li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
...@@ -148,5 +152,5 @@ ...@@ -148,5 +152,5 @@
</form> </form>
</div> </div>
</div> </div>
</li> </li>
{% endspaceless %} {% endspaceless %}
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -935,12 +935,12 @@ ...@@ -935,12 +935,12 @@
.question__title__copy { .question__title__copy {
@extend %hd-4; @extend %hd-4;
@extend %t-weight3; @extend %t-weight3;
// float: left;
} }
.question__score { .question__score {
@extend %copy-6; @extend %hd-7;
@extend %t-titlecase; @extend %t-titlecase;
@extend %t-weight4;
float: right; float: right;
position: relative; position: relative;
bottom: -(($baseline-v/4)); bottom: -(($baseline-v/4));
...@@ -951,7 +951,7 @@ ...@@ -951,7 +951,7 @@
} }
.question__score__value { .question__score__value {
color: $color-complete; color: $heading-primary-color;
&:after { &:after {
content: "/"; content: "/";
...@@ -1012,6 +1012,16 @@ ...@@ -1012,6 +1012,16 @@
color: $heading-primary-color; color: $heading-primary-color;
} }
.answer__score {
@extend %hd-7;
@extend %t-titlecase;
@extend %t-weight4;
display: block;
padding: ($baseline-v/4) ($baseline-h/4);
background: $color-decorative-tertiary;
color: $heading-primary-color;
}
.answer__content { .answer__content {
@extend %copy-4; @extend %copy-4;
display: block; display: block;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment