From: moodler Date: Tue, 20 Jan 2009 06:01:05 +0000 (+0000) Subject: maintenance mode MDL-15700 Just some little tidyups of the maintenance mode page X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f3a36b620d151884910db8e0cd6ec36f7380cc94;p=moodle.git maintenance mode MDL-15700 Just some little tidyups of the maintenance mode page --- diff --git a/admin/maintenance.php b/admin/maintenance.php index 1364ba4752..755a06c248 100644 --- a/admin/maintenance.php +++ b/admin/maintenance.php @@ -33,33 +33,42 @@ admin_externalpage_print_header(); + print_heading(get_string('sitemaintenancemode', 'admin')); + + print_box_start(); + /// Print the appropriate form if (file_exists($filename)) { // We are in maintenance mode - echo '
'; + echo '
'; + echo '

'.get_string('sitemaintenanceon', 'admin').'

'; echo '
'; + echo '
'; echo ''; echo ''; echo '

'; + echo '
'; echo '
'; echo '
'; } else { // We are not in maintenance mode $usehtmleditor = can_use_html_editor(); - echo '
'; + echo '
'; echo '
'; echo '
'; echo ''; echo ''; echo '

'; echo '

'.get_string('optionalmaintenancemessage', 'admin').':

'; - echo '
'; + echo '
'; // contains the editor print_textarea($usehtmleditor, 20, 50, 600, 400, "text"); - echo '
'; + echo '
'; echo '
'; echo ''; echo '
'; } + print_box_end(); + admin_externalpage_print_footer(); ?> diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 6f8fce6e78..e13347c560 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -1013,6 +1013,10 @@ body#admin-modules table.generaltable td.c0 text-align: center; } +#admin-maintenance .buttons { + text-align:center; +} + #admin-report-unittest-index .exception pre { padding: 8px; }