Skip to content

Commit

Permalink
Merge pull request #359 from niko-hoogeveen/MOODLE_39_STABLE-issue358
Browse files Browse the repository at this point in the history
Issue #358: Added some extra styling for outage icons
  • Loading branch information
djarran authored Jan 29, 2025
2 parents 43d8233 + 3f79129 commit aedf7a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion classes/output/manage/base_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function create_data_buttons(outage $outage, $editdelete) {
'src' => $OUTPUT->image_url('t/preview'),
'alt' => get_string('view'),
'class' => 'iconsmall',

'style' => 'width: 1.5rem; height: 1.5rem;',
]),
[
'title' => get_string('view'),
Expand All @@ -97,6 +97,7 @@ protected function create_data_buttons(outage $outage, $editdelete) {
'src' => $OUTPUT->image_url('t/edit'),
'alt' => get_string('edit'),
'class' => 'iconsmall',
'style' => 'width: 1.5rem; height: 1.5rem;',
]),
['title' => get_string('edit')]
);
Expand All @@ -109,6 +110,7 @@ protected function create_data_buttons(outage $outage, $editdelete) {
'src' => $OUTPUT->image_url('t/copy'),
'alt' => get_string('clone', 'auth_outage'),
'class' => 'iconsmall',
'style' => 'width: 1.5rem; height: 1.5rem;',

]),
['title' => get_string('clone', 'auth_outage')]
Expand All @@ -122,6 +124,7 @@ protected function create_data_buttons(outage $outage, $editdelete) {
'src' => $OUTPUT->image_url('t/check'),
'alt' => get_string('finish', 'auth_outage'),
'class' => 'iconsmall',
'style' => 'width: 1.5rem; height: 1.5rem;',
]),
['title' => get_string('finish', 'auth_outage')]
);
Expand All @@ -135,6 +138,7 @@ protected function create_data_buttons(outage $outage, $editdelete) {
'src' => $OUTPUT->image_url('t/delete'),
'alt' => get_string('delete'),
'class' => 'iconsmall',
'style' => 'width: 1.5rem; height: 1.5rem;',
]),
['title' => get_string('delete')]
);
Expand Down
1 change: 1 addition & 0 deletions views/warningbar/warningbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
'src' => $OUTPUT->image_url('t/check'),
'alt' => get_string('finish', 'auth_outage'),
'class' => 'iconsmall',
'style' => 'width: 1rem; height: 1rem;',
]).' '.get_string('finish', 'auth_outage');
$attr = [
'title' => get_string('finish', 'auth_outage'),
Expand Down

0 comments on commit aedf7a5

Please sign in to comment.