From c3045e07ce0c6915744224432682dd3dbaa550af Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 10 Sep 2021 14:30:16 +0200 Subject: [PATCH] minor css class changes --- includes/pages/user_shifts.php | 2 +- includes/sys_template.php | 4 ++-- includes/view/Rooms_view.php | 2 +- includes/view/ShiftCalendarShiftRenderer.php | 8 ++++---- includes/view/UserDriverLicenses_view.php | 2 +- includes/view/User_view.php | 2 +- resources/views/admin/schedule/index.twig | 4 ++-- resources/views/macros/form.twig | 2 +- resources/views/pages/news/news.twig | 4 ++-- resources/views/pages/questions/overview.twig | 2 +- resources/views/pages/settings/oauth.twig | 4 ++-- 11 files changed, 18 insertions(+), 18 deletions(-) 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) %}