Visual updates to rubric
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user