MDL-11835 Alternating row colours for grader report

This commit is contained in:
nicolasconnault 2007-12-07 09:47:10 +00:00
parent 292e3e12ee
commit a47d38f294
2 changed files with 11 additions and 0 deletions

View File

@ -645,6 +645,8 @@ class grade_report_grader extends grade_report {
$row_classes = array(' even ', ' odd '); $row_classes = array(' even ', ' odd ');
$row_classes = array(' even ', ' odd ');
foreach ($this->users as $userid => $user) { foreach ($this->users as $userid => $user) {
if ($this->canviewhidden) { if ($this->canviewhidden) {

View File

@ -40,6 +40,15 @@
background-color: #efefff; background-color: #efefff;
} }
.grade-report-grader table#user-grades tr.odd td.cell {
background-color: #efefef;
}
.grade-report-grader table#user-grades tr.odd th.header {
background-color: #efefef;
background-image: none;
}
.grade-report-grader table#user-grades tr.groupavg td.cell { .grade-report-grader table#user-grades tr.groupavg td.cell {
background-color: #efffef; background-color: #efffef;
} }