Skip to content

Commit

Permalink
MDL-20438 colorize the maturity warning at the admin notifications page
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Mar 30, 2012
1 parent 00ea11f commit 37f75ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion admin/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ protected function maturity_info($maturity) {
return $this->box(
get_string('maturitycoreinfo', 'admin', $maturitylevel) . ' ' .
$this->doc_link('admin/versions', get_string('morehelp')),
'generalbox adminwarning maturityinfo');
'generalbox adminwarning maturityinfo maturity'.$maturity);
}

/**
Expand Down
4 changes: 4 additions & 0 deletions theme/base/style/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;}
Expand Down

0 comments on commit 37f75ad

Please sign in to comment.