Visual updates to rubric

This commit is contained in:
Diana Huang
2013-02-01 08:44:08 -05:00
parent 92b7dbdc69
commit 0bae983982
2 changed files with 6 additions and 5 deletions

View File

@@ -35,7 +35,8 @@
right:0px;
margin:10px;
}
.selected-grade {
.selected-grade,
.selected-grade .rubric-label {
background: #666;
color: white;
}

View File

@@ -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: