Clean up the styling and make the evaluation parts collapsible.

This commit is contained in:
Diana Huang
2012-12-13 17:01:21 -05:00
committed by Vik Paruchuri
parent 54c541de45
commit 69ae1cc268
2 changed files with 19 additions and 1 deletions

View File

@@ -27,8 +27,12 @@
<input name="reload" class="reload" type="button" value="Recheck for Feedback" onclick="document.location.reload(true);" />
% endif
<div class="external-grader-message">
${msg|n}
${msg|n}
% if status in ['correct','incorrect']:
<div class="collapsible evaluation-response">
<header>
<a href="#">Respond to Feedback</a>
</header>
<section id="evaluation_${id}" class="evaluation">
How accurate do you think this grading is?
<div class="evaluation-scoring">
@@ -46,6 +50,7 @@
<input name="submit-message" class="submit-message" type="button" value="Submit your message"/>
</div>
</section>
</div>
% endif
</div>
</section>

View File

@@ -311,6 +311,15 @@ section.problem {
margin-right: 20px;
}
.evaluation-response {
header {
text-align: right;
a {
font-size: .85em;
}
}
}
.evaluation-scoring {
.scoring-list {
list-style-type: none;
@@ -670,6 +679,10 @@ section.problem {
color: #2C2C2C;
font-family: monospace;
font-size: 1em;
padding-top: 10px;
header {
font-size: 1.4em;
}
.shortform {
font-weight: bold;