mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
Minor quiz layout improvements. Merged from MOODLE_19_STABLE.
This commit is contained in:
parent
8ad877b6ad
commit
7f2ec6b147
@ -414,7 +414,9 @@
|
||||
unset($buttonoptions);
|
||||
$buttonoptions['q'] = $quiz->id;
|
||||
$buttonoptions['forcenew'] = true;
|
||||
echo '<div class="controls">';
|
||||
print_single_button($CFG->wwwroot.'/mod/quiz/attempt.php', $buttonoptions, get_string('startagain', 'quiz'));
|
||||
echo '</div>';
|
||||
/// Notices about restrictions that would affect students.
|
||||
if ($quiz->popup) {
|
||||
notify(get_string('popupnotice', 'quiz'));
|
||||
|
@ -3737,9 +3737,10 @@ body#question-preview .quemodname, body#question-preview .controls {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#mod-quiz-attempt #page .controls,
|
||||
#mod-quiz-review #page .controls {
|
||||
text-align: center;
|
||||
margin: 1.5em auto;
|
||||
margin: 8px auto;
|
||||
}
|
||||
#mod-quiz-review .pagingbar {
|
||||
margin: 1.5em auto;
|
||||
|
Loading…
x
Reference in New Issue
Block a user