Commit 0feb8f66 by Vik Paruchuri

Fix colors on legend, add random assessment

parent 8ef45915
......@@ -4,6 +4,7 @@ from lxml import etree
log = logging.getLogger(__name__)
GRADER_TYPE_IMAGE_DICT = {
'8B' : '/static/images/random_grading_icon.png',
'SA' : '/static/images/self_assessment_icon.png',
'PE' : '/static/images/peer_grading_icon.png',
'ML' : '/static/images/ml_grading_icon.png',
......@@ -12,6 +13,7 @@ GRADER_TYPE_IMAGE_DICT = {
}
HUMAN_GRADER_TYPE = {
'8B' : 'Magic-8-Ball-Assessment',
'SA' : 'Self-Assessment',
'PE' : 'Peer-Assessment',
'IN' : 'Instructor-Assessment',
......
......@@ -45,8 +45,7 @@ section.combined-open-ended {
section.legend-container {
.legenditem {
color: #FFFFFF;
background-color : #000000;
background-color : #d4d4d4;
font-size: .9em;
padding: 2px;
display: inline;
......
<section class="legend-container">
<div class="legenditem">
Legend
</div>
% for i in xrange(0,len(legend_list)):
<%legend_title=legend_list[i]['name'] %>
......
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