MDL-75423 gradereport_singleview: Styling fixes.

This commit is contained in:
Ilya Tregubov 2022-10-26 10:11:54 +03:00 committed by Mihail Geshoski
parent aa747024fc
commit 678a2bc29b
6 changed files with 15 additions and 7 deletions

View file

@ -110,7 +110,8 @@ class checkbox_attribute extends element {
html_writer::empty_tag('input', $hidden)
);
} else if ($this->ischecked) {
return $OUTPUT->pix_icon('i/checked', get_string('selected', 'core_form'));
return $OUTPUT->pix_icon('i/checked', get_string('selected', 'core_form'),
'moodle', ['class' => 'overrideexcludecheck']);
} else {
return '';
}

View file

@ -142,7 +142,7 @@ class singleview extends grade_report {
}
/**
* Function used to set the the appropriate item selector (raw HTML) based on the selected single view item type.
* Function used to set the appropriate item selector (raw HTML) based on the selected single view item type.
*
* @param string $itemtype The single view item type.
* @param int|null $itemid The item ID.

View file

@ -121,7 +121,7 @@ if ($itemtype == 'user') {
true, null, null, $report->screen->item, $actionbar);
} else {
print_grade_page_head($course->id, 'report', 'singleview', $reportname, false, $button,
true, null, null, null, $actionbar);
true, null, null, null, $actionbar, false);
}
if ($data = data_submitted()) {

View file

@ -24,7 +24,7 @@
}
.path-grade-report-singleview div.reporttable form div {
text-align: center;
text-align: left;
}
.path-grade-report-singleview .singleview_buttons {
@ -32,7 +32,14 @@
}
.path-grade-report-singleview div.reporttable h2 {
text-align: center;
text-align: left;
}
.overrideexcludecheck {
width: 14.75px;
height: 12px;
color: #2ca14f;
}
.path-grade-report-singleview .reporttable tbody th,