gradebook MDL-22587 made grader report change the mouse pointer to indicate that clickable table cells are clickable

This commit is contained in:
Andrew Davis 2010-06-02 02:30:50 +00:00
parent 722b4ce18c
commit 6712973f27
2 changed files with 5 additions and 0 deletions

View File

@ -962,6 +962,10 @@ class grade_report_grader extends grade_report {
$itemcell->attributes['class'] .= ' grade_type_text';
}
if ($this->get_pref('enableajax')) {
$itemcell->attributes['class'] .= ' clickable';
}
if ($item->needsupdate) {
$itemcell->text .= html_writer::tag('span', get_string('error'), array('class'=>"gradingerror$hidden$gradepass"));
} else {

View File

@ -14,6 +14,7 @@ td.grade div.overridden {background-color: #DDDDDD;}
.path-grade-report-grader table#user-grades td.cell span.gradepass {background-color: #C2EBBD;}
.path-grade-report-grader table#user-grades td.cell span.gradefail {background-color: #EBC4BD;}
.path-grade-report-grader table#user-grades td.clickable {cursor: pointer;}
.path-grade-edit-tree .moving {background-color: #E8EEF7;}
.path-grade-edit-tree .gradetreebox {width:70%;padding-bottom:15px;}