From 7f2ec6b1476eeed54efe4cb39bb9d300f8378924 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Mon, 17 Dec 2007 16:56:42 +0000 Subject: [PATCH] Minor quiz layout improvements. Merged from MOODLE_19_STABLE. --- mod/quiz/attempt.php | 2 ++ theme/standard/styles_layout.css | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mod/quiz/attempt.php b/mod/quiz/attempt.php index aa7c8f1f0f..56c16f01ec 100644 --- a/mod/quiz/attempt.php +++ b/mod/quiz/attempt.php @@ -414,7 +414,9 @@ unset($buttonoptions); $buttonoptions['q'] = $quiz->id; $buttonoptions['forcenew'] = true; + echo '
'; print_single_button($CFG->wwwroot.'/mod/quiz/attempt.php', $buttonoptions, get_string('startagain', 'quiz')); + echo '
'; /// Notices about restrictions that would affect students. if ($quiz->popup) { notify(get_string('popupnotice', 'quiz')); diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index cd740a727a..0e411d6e04 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -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; -- 2.39.5