Improve and simplify question layout.
This commit is contained in:
+25
-25
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user