Commit 0bae9839 by Diana Huang

Visual updates to rubric

parent 92b7dbdc
......@@ -35,7 +35,8 @@
right:0px;
margin:10px;
}
.selected-grade {
.selected-grade,
.selected-grade .rubric-label {
background: #666;
color: white;
}
......
......@@ -22,14 +22,14 @@
<th>${category['description']}</th>
% for j in range(len(category['options'])):
<% option = category['options'][j] %>
%if option['selected']:
<td class="selected-grade">
%else:
<td>
% endif
% if view_only:
## if this is the selected rubric block, show it highlighted
% if option['selected']:
<div class="rubric-label selected-grade">
% else:
<div class="rubric-label">
% endif
${option['text']}
</div>
% else:
......
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