Commit 0bae9839 by Diana Huang

Visual updates to rubric

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