MDL-12616 - Improve layout so you can distinguish the student's response to an essay question from the feedback. Merged from MOODLE_19_STABLE.

This commit is contained in:
tjhunt 2007-12-17 12:28:14 +00:00
parent 9bb19e5827
commit 46a5a85b58
2 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,7 @@ class question_essay_qtype extends default_questiontype {
$safeformatoptions->para = false;
$answer = format_text($value, FORMAT_MOODLE,
$safeformatoptions, $cmoptions->course);
$answer = '<div class="answerreview">' . $answer . '</div>';
}
include("$CFG->dirroot/question/type/essay/display.html");

View File

@ -754,6 +754,9 @@ table.message_search_results td {
.shortanswer .answer {
background-color: #EEE;
}
.essay .answerreview {
background-color: #EEE;
}
.que .feedback {
border-color: #DDD;
}