mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
gradebook MDL-22716 made the categories and items table usable on narrow screens
This commit is contained in:
parent
9543632ff8
commit
42e5b74426
2 changed files with 3 additions and 1 deletions
|
@ -105,9 +105,11 @@ if (!is_null($category) && !is_null($aggregationtype) && confirm_sesskey()) {
|
||||||
if (!$grade_category = grade_category::fetch(array('id'=>$category, 'courseid'=>$courseid))) {
|
if (!$grade_category = grade_category::fetch(array('id'=>$category, 'courseid'=>$courseid))) {
|
||||||
print_error('invalidcategoryid');
|
print_error('invalidcategoryid');
|
||||||
}
|
}
|
||||||
|
|
||||||
$data->aggregation = $aggregationtype;
|
$data->aggregation = $aggregationtype;
|
||||||
grade_category::set_properties($grade_category, $data);
|
grade_category::set_properties($grade_category, $data);
|
||||||
$grade_category->update();
|
$grade_category->update();
|
||||||
|
|
||||||
grade_regrade_final_grades($courseid);
|
grade_regrade_final_grades($courseid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ td.grade div.overridden {background-color: #DDDDDD;}
|
||||||
.path-grade-report-grader table#user-grades td.clickable {cursor: pointer;}
|
.path-grade-report-grader table#user-grades td.clickable {cursor: pointer;}
|
||||||
|
|
||||||
.path-grade-edit-tree .moving {background-color: #E8EEF7;}
|
.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,
|
.path-grade-edit-scale .scale_options,
|
||||||
#page-admin-grade-edit-scale-index .scale_options {font-size: 0.8em;}
|
#page-admin-grade-edit-scale-index .scale_options {font-size: 0.8em;}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue