gradebook MDL-22716 made the categories and items table usable on narrow screens

This commit is contained in:
Andrew Davis 2010-06-10 03:00:04 +00:00
parent 9543632ff8
commit 42e5b74426
2 changed files with 3 additions and 1 deletions

View File

@ -105,9 +105,11 @@ if (!is_null($category) && !is_null($aggregationtype) && confirm_sesskey()) {
if (!$grade_category = grade_category::fetch(array('id'=>$category, 'courseid'=>$courseid))) {
print_error('invalidcategoryid');
}
$data->aggregation = $aggregationtype;
grade_category::set_properties($grade_category, $data);
$grade_category->update();
grade_regrade_final_grades($courseid);
}

View File

@ -17,7 +17,7 @@ td.grade div.overridden {background-color: #DDDDDD;}
.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;}
.path-grade-edit-tree .gradetreebox {width:70%;padding-bottom:15px;overflow-x:auto;overflow-y:hidden;}
.path-grade-edit-scale .scale_options,
#page-admin-grade-edit-scale-index .scale_options {font-size: 0.8em;}