MDL-20438 colorize the maturity warning at the admin notifications page

This commit is contained in:
David Mudrak 2012-03-16 22:15:51 +01:00
parent 00ea11f82e
commit 37f75ad459
2 changed files with 5 additions and 1 deletions

View File

@ -397,7 +397,7 @@ class core_admin_renderer extends plugin_renderer_base {
return $this->box(
get_string('maturitycoreinfo', 'admin', $maturitylevel) . ' ' .
$this->doc_link('admin/versions', get_string('morehelp')),
'generalbox adminwarning maturityinfo');
'generalbox adminwarning maturityinfo maturity'.$maturity);
}
/**

View File

@ -84,6 +84,10 @@
#page-admin-index .adminwarning .singlebutton,
#page-admin-index #layout-table .singlebutton {margin:20px;}
#page-admin-index .adminwarning.maturityinfo.maturity50 {background-color:#ffd3d9;}
#page-admin-index .adminwarning.maturityinfo.maturity100,
#page-admin-index .adminwarning.maturityinfo.maturity150 {background-color:#f3f2aa;}
#page-admin-user-user_bulk #users .fgroup {white-space: nowrap;}
#page-admin-report-stats-index .graph {text-align: center;margin-bottom: 1em;}
#page-admin-report-courseoverview-index .graph {text-align: center;margin-bottom: 1em;}