mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
MDL-75423 gradereport_singleview: Styling fixes.
This commit is contained in:
parent
aa747024fc
commit
678a2bc29b
6 changed files with 15 additions and 7 deletions
|
@ -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 '';
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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()) {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue