Some interface cleanup stuff for the combined open ended module.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user