Integrate minimal rubric display

This commit is contained in:
Vik Paruchuri
2013-01-11 12:43:57 -05:00
parent 52164f58ff
commit 7febe2c2c8
4 changed files with 170 additions and 2 deletions

View File

@@ -12,5 +12,6 @@
<div class="result-output">
${ feedback | n}
</div>
${rubric_feedback | n}
</div>
</section>

View File

@@ -0,0 +1,17 @@
<table class="rubric">
% for i in range(len(categories)):
<% category = categories[i] %>
<tr>
<th>${category['description']}</th>
% for j in range(len(category['options'])):
<% option = category['options'][j] %>
<td>
<div class="view-only">
${option['text']}
<div class="grade">[${option['points']} points]</div>
</div>
</td>
% endfor
</tr>
% endfor
</table>