Some interface cleanup stuff for the combined open ended module.

This commit is contained in:
Diana Huang
2013-01-16 16:35:58 -05:00
parent 88427ea02f
commit 9079c66a32
4 changed files with 18 additions and 11 deletions

View File

@@ -305,6 +305,7 @@ class CombinedOpenEndedModule(XModule):
'task_count': len(self.task_xml),
'task_number': self.current_task_number + 1,
'status': self.get_status(),
'display_name': self.display_name
}
return context
@@ -603,4 +604,4 @@ class CombinedOpenEndedDescriptor(XmlDescriptor, EditingDescriptor):
for child in ['task']:
add_child(child)
return elt
return elt

View File

@@ -40,6 +40,10 @@ section.combined-open-ended {
width: 93%;
position:relative;
}
h4
{
margin-bottom:10px;
}
}
section.combined-open-ended-status {
@@ -49,15 +53,12 @@ section.combined-open-ended-status {
color: #2C2C2C;
font-family: monospace;
font-size: 1em;
padding-top: 10px;
padding: 10px;
}
.statusitem-current {
background-color: #BEBEBE;
background-color: #ccc;
color: #2C2C2C;
font-family: monospace;
font-size: 1em;
padding-top: 10px;
}
span {