Fix colors on legend, add random assessment

This commit is contained in:
Vik Paruchuri
2013-02-08 23:59:39 -05:00
parent 8ef45915df
commit 0feb8f66bc
4 changed files with 4 additions and 2 deletions

View File

@@ -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',

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

View File

@@ -1,5 +1,6 @@
<section class="legend-container">
<div class="legenditem">
Legend
</div>
% for i in xrange(0,len(legend_list)):
<%legend_title=legend_list[i]['name'] %>