MDL-76357 theme: Make sticky footer more prominent
This commit is contained in:
+3
-3
@@ -200,13 +200,13 @@ if (empty($redirectbackto)) {
|
||||
$actionbuttons = html_writer::link(
|
||||
$redirectbackto,
|
||||
get_string('cancel'),
|
||||
['class' => 'btn btn-secondary', 'role' => 'button']
|
||||
['class' => 'btn btn-secondary mx-1', 'role' => 'button']
|
||||
);
|
||||
$actionbuttons .= html_writer::empty_tag('input', [
|
||||
'type' => 'submit',
|
||||
'name' => 'saveandview',
|
||||
'value' => get_string('save'),
|
||||
'class' => 'btn btn-primary ml-2'
|
||||
'class' => 'btn btn-primary mx-1'
|
||||
]);
|
||||
|
||||
if (!$rid && ((!$data->maxentries) ||
|
||||
@@ -214,7 +214,7 @@ if (!$rid && ((!$data->maxentries) ||
|
||||
(data_numentries($data) < ($data->maxentries - 1)))) {
|
||||
$actionbuttons .= html_writer::empty_tag('input', [
|
||||
'type' => 'submit', 'name' => 'saveandadd',
|
||||
'value' => get_string('saveandadd', 'data'), 'class' => 'btn btn-primary ml-2'
|
||||
'value' => get_string('saveandadd', 'data'), 'class' => 'btn btn-primary mx-1'
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user