Merge pull request #1119 from MITx/diana/open-ended-response-styling

Updates to the styling of open ended problems
This commit is contained in:
Victor Shnayder
2012-12-10 11:36:04 -08:00
4 changed files with 21 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
<section id="openended_${id}" class="openended">
<textarea rows="${rows}" cols="${cols}" name="input_${id}" id="input_${id}"
<textarea rows="${rows}" cols="${cols}" name="input_${id}" class="short-form-response" id="input_${id}"
% if hidden:
style="display:none;"
% endif
@@ -23,6 +23,9 @@
<span id="answer_${id}"></span>
% if status == 'queued':
<input name="reload" class="reload" type="button" value="Recheck for Feedback" onclick="document.location.reload(true);" />
% endif
<div class="external-grader-message">
${msg|n}
</div>

View File

@@ -240,6 +240,13 @@ section.problem {
}
}
.reload
{
float:right;
margin: 10px;
}
.grader-status {
padding: 9px;
background: #F6F6F6;
@@ -257,6 +264,8 @@ section.problem {
}
.grading {
background: url('../images/info-icon.png') left center no-repeat;
padding-left: 25px;
text-indent: 0px;
margin: 0px 7px 0 0;
}