Merge pull request #359 from niko-hoogeveen/MOODLE_39_STABLE-issue358

Issue #358: Added some extra styling for outage icons
This commit is contained in:
Djarran Cotleanu
2025-01-30 09:25:36 +10:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ class base_table extends flexible_table {
'src' => $OUTPUT->image_url('t/preview'),
'alt' => get_string('view'),
'class' => 'iconsmall',
'style' => 'width: 1.5rem; height: 1.5rem;',
]),
[
'title' => get_string('view'),
@@ -97,6 +97,7 @@ class base_table extends flexible_table {
'src' => $OUTPUT->image_url('t/edit'),
'alt' => get_string('edit'),
'class' => 'iconsmall',
'style' => 'width: 1.5rem; height: 1.5rem;',
]),
['title' => get_string('edit')]
);
@@ -109,6 +110,7 @@ class base_table extends flexible_table {
'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')]
@@ -122,6 +124,7 @@ class base_table extends flexible_table {
'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')]
);
@@ -135,6 +138,7 @@ class base_table extends flexible_table {
'src' => $OUTPUT->image_url('t/delete'),
'alt' => get_string('delete'),
'class' => 'iconsmall',
'style' => 'width: 1.5rem; height: 1.5rem;',
]),
['title' => get_string('delete')]
);

View File

@@ -52,6 +52,7 @@ if (!$viewbag['static']) {
'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'),