diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index 9f719434..3fde65e2 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -365,7 +365,7 @@ function make_select($items, $selected, $name, $title = null, $additionalButtons . '' - . (!isset($i['enabled']) || $i['enabled'] ? '' : icon('lock')) + . (!isset($i['enabled']) || $i['enabled'] ? '' : icon('book')) . ''; } $html .= '
' . "\n"; diff --git a/includes/sys_template.php b/includes/sys_template.php index c5eb3835..9468355f 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -222,8 +222,8 @@ function toolbar_dropdown_item_divider(): string function toolbar_dropdown($icon, $label, $submenu, $class = ''): string { $template =<< -
'; } diff --git a/includes/view/UserDriverLicenses_view.php b/includes/view/UserDriverLicenses_view.php index d43b6b03..46653d3a 100644 --- a/includes/view/UserDriverLicenses_view.php +++ b/includes/view/UserDriverLicenses_view.php @@ -69,5 +69,5 @@ function UserDriverLicense_edit_view($user_source, $wants_to_drive, $user_driver }); ' - ]); + ], true); } diff --git a/includes/view/User_view.php b/includes/view/User_view.php index 74e0aa17..54329db9 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -615,7 +615,7 @@ function User_view( . (config('enable_user_name') ? ' ' . $user_name . '' : ''), [ msg(), - div('row m-3', [ + div('row', [ div('col-md-12', [ buttons([ $admin_user_privilege ? button( diff --git a/resources/views/admin/schedule/index.twig b/resources/views/admin/schedule/index.twig index d2c8425e..2d6b00cd 100644 --- a/resources/views/admin/schedule/index.twig +++ b/resources/views/admin/schedule/index.twig @@ -40,12 +40,12 @@
+ class="btn btn-sm btn-secondary"> {{ __('form.import') }} + class="btn btn-sm btn-secondary"> {{ __('form.edit') }}
diff --git a/resources/views/macros/form.twig b/resources/views/macros/form.twig index cc9c7b45..9fed02b5 100644 --- a/resources/views/macros/form.twig +++ b/resources/views/macros/form.twig @@ -68,7 +68,7 @@ {% macro button(label, opt) %}