Improve and simplify question layout.

This commit is contained in:
tjhunt
2007-06-22 14:07:35 +00:00
parent f9108f58de
commit 0ec4fb87e3
2 changed files with 26 additions and 29 deletions
+25 -25
View File
@@ -17,30 +17,30 @@
</div>
<div class="content">
<?php $this->print_question_formulation_and_controls($question, $state, $cmoptions, $options); ?>
<div class="grading">
<?php $this->print_question_grading_details($question, $state, $cmoptions, $options); ?>
</div>
<?php if ($comment) { ?>
<div class="comment">
<?php
echo get_string('comment', 'quiz').': ';
echo $comment;
?>
</div>
<?php }
echo $commentlink;
if ($generalfeedback) { ?>
<div class="generalfeedback">
<?php echo $generalfeedback ?>
</div>
<?php }
if ($history) { ?>
<div class="history">
<?php
print_string('history', 'quiz');
echo $history;
?>
</div>
<?php } ?>
</div>
<div class="grading">
<?php $this->print_question_grading_details($question, $state, $cmoptions, $options); ?>
</div>
<?php if ($comment) { ?>
<div class="comment">
<?php
echo get_string('comment', 'quiz').': ';
echo $comment;
?>
</div>
<?php }
echo $commentlink;
if ($generalfeedback) { ?>
<div class="generalfeedback">
<?php echo $generalfeedback ?>
</div>
<?php }
if ($history) { ?>
<div class="history">
<?php
print_string('history', 'quiz');
echo $history;
?>
</div>
<?php } ?>
</div>
+1 -4
View File
@@ -2356,7 +2356,6 @@ body#message-messages {
width: 5%;
}
.que .answer {
/* float: right; */
float: left;
width: 83%;
margin-bottom: 0.5em;
@@ -2417,9 +2416,7 @@ body#message-messages {
.que .commentlink,
.que .generalfeedback,
.que .history {
float: right;
margin: 5px;
width: 88%;
margin-top: 0.5em;
}
.importerror {