From 0bae98398202d798f69154aeaa77e99581739f13 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Fri, 1 Feb 2013 08:44:08 -0500 Subject: [PATCH] Visual updates to rubric --- lms/static/sass/course/_rubric.scss | 3 ++- lms/templates/open_ended_rubric.html | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lms/static/sass/course/_rubric.scss b/lms/static/sass/course/_rubric.scss index 9aa0ca2f2a..722a790e6d 100644 --- a/lms/static/sass/course/_rubric.scss +++ b/lms/static/sass/course/_rubric.scss @@ -35,7 +35,8 @@ right:0px; margin:10px; } - .selected-grade { + .selected-grade, + .selected-grade .rubric-label { background: #666; color: white; } diff --git a/lms/templates/open_ended_rubric.html b/lms/templates/open_ended_rubric.html index a2d8d6945c..eb3fc564b4 100644 --- a/lms/templates/open_ended_rubric.html +++ b/lms/templates/open_ended_rubric.html @@ -22,14 +22,14 @@ ${category['description']} % for j in range(len(category['options'])): <% option = category['options'][j] %> + %if option['selected']: + + %else: + % endif % if view_only: ## if this is the selected rubric block, show it highlighted - % if option['selected']: -
- % else:
- % endif ${option['text']}
% else: