Skip to content

Commit

Permalink
Minor quiz layout improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhunt committed Dec 17, 2007
1 parent 833711e commit 860f345
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions mod/quiz/attempt.php
Expand Up @@ -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'));
Expand Down
3 changes: 2 additions & 1 deletion theme/standard/styles_layout.css
Expand Up @@ -3714,9 +3714,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;
Expand Down

0 comments on commit 860f345

Please sign in to comment.