diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 9de4c1a0a..c6f07a55e 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -27,7 +27,7 @@ class AuthServiceProvider extends ServiceProvider * @var array */ protected $policies = [ - 'Lara\Model' => 'Lara\Policies\ModelPolicy', + //'Lara\Model' => 'Lara\Policies\ModelPolicy', User::class => UserPolicy::class, Role::class => RolePolicy::class, ClubEvent::class => ClubEventPolicy::class, @@ -61,6 +61,6 @@ public function boot() return true; }); - + } } diff --git a/app/Status.php b/app/Status.php index 0d98148c3..2249a826d 100644 --- a/app/Status.php +++ b/app/Status.php @@ -50,17 +50,17 @@ public static function style($status, $section = NULL) } switch ($status) { case STATUS::CANDIDATE: - return ["status" => "fas fa-adjust", "style" => "color:yellowgreen;", "title" => "Kandidat"]; + return ["status" => "fa-solid fa-adjust", "style" => "color:yellowgreen;", "title" => "Kandidat"]; case STATUS::VETERAN: - return ["status" => "fas fa-star", "style" => "color:gold;", "title" => "Veteran"]; + return ["status" => "fa-solid fa-star", "style" => "color:gold;", "title" => "Veteran"]; case STATUS::MEMBER: - return ["status" => "fas fa-circle", "style" => "color:forestgreen;", "title" => "Aktiv"]; + return ["status" => "fa-solid fa-circle", "style" => "color:forestgreen;", "title" => "Aktiv"]; case STATUS::EXMEMBER: - return ["status" => "fas fa-user-times", "style" => "color:#CD7F32;", "title" => "ex-Mitglied"]; + return ["status" => "fa-solid fa-user-times", "style" => "color:#CD7F32;", "title" => "ex-Mitglied"]; case STATUS::EXCANDIDATE: - return ["status"=>"fas fa-circle", "style"=>"color:lightgrey;", "title"=>"ex-Kandidat"]; + return ["status"=>"fa-solid fa-circle", "style"=>"color:lightgrey;", "title"=>"ex-Kandidat"]; default: - return ["status" => "fas fa-circle", "style" => "color:lightgrey;", "title" => "Extern"]; + return ["status" => "fa-solid fa-circle", "style" => "color:lightgrey;", "title" => "Extern"]; } } diff --git a/resources/assets/sass/imports.scss b/resources/assets/sass/imports.scss index c0537ccad..e5e2b2701 100644 --- a/resources/assets/sass/imports.scss +++ b/resources/assets/sass/imports.scss @@ -1,7 +1,7 @@ @import "~bootstrap-select/sass/variables"; @import "~bootstrap-select/sass/bootstrap-select"; @import "~bootstrap-table/dist/bootstrap-table"; -@import "~tempusdominus-bootstrap-4/src/sass/tempusdominus-bootstrap-4"; +//@import "~tempusdominus-bootstrap-4/src/sass/tempusdominus-bootstrap-4"; $fa-font-path: '~@fortawesome/fontawesome-free/webfonts'; @import "~@fortawesome/fontawesome-free/scss/fontawesome"; diff --git a/resources/assets/sass/nav/navbar.scss b/resources/assets/sass/nav/navbar.scss index bdf1df77d..4bc13b7cb 100644 --- a/resources/assets/sass/nav/navbar.scss +++ b/resources/assets/sass/nav/navbar.scss @@ -2,7 +2,7 @@ @media screen and (max-height: 720px) { max-height: 200px; - overflow: scroll; + // overflow: scroll; } - overflow: visible; + //overflow: visible; } diff --git a/resources/assets/ts/ShiftType.ts b/resources/assets/ts/ShiftType.ts index c854a5332..d300168fe 100644 --- a/resources/assets/ts/ShiftType.ts +++ b/resources/assets/ts/ShiftType.ts @@ -38,11 +38,11 @@ $('.shiftTypeReplaceSelector').change((event) => { message: '
' + translate('replaceShiftTypeConfirmation') + '
' + shiftName + '
', buttons: { confirm: { - label: '' + translate('replaceAll'), + label: '' + translate('replaceAll'), className: 'btn-success' }, cancel: { - label: '', + label: '', className: 'btn-secondary' } }, diff --git a/resources/assets/ts/shifts/autocomplete.ts b/resources/assets/ts/shifts/autocomplete.ts index 92d9c3867..d33fc93a4 100644 --- a/resources/assets/ts/shifts/autocomplete.ts +++ b/resources/assets/ts/shifts/autocomplete.ts @@ -286,16 +286,16 @@ $(() => { // Switch comment icon in week view if ($commentInput.val() == "") { - $commentInput.parent().children().children("button").children("i").removeClass().addClass("fas fa-comment-alt"); + $commentInput.parent().children().children("button").children("i").removeClass().addClass("fa-solid fa-comment-alt"); } else { $commentInput.parent().children().children("button").children("i").removeClass().addClass("fa fa-comment"); } // Switch comment in event view if ($commentInput.val() == "") { - $commentInput.parent().children("span").children("i").removeClass().addClass("fas fa-comment-alt"); + $commentInput.parent().children("span").children("i").removeClass().addClass("fa-solid fa-comment-alt"); } else { - $commentInput.parent().children("span").children("i").removeClass().addClass("fas fa-comment"); + $commentInput.parent().children("span").children("i").removeClass().addClass("fa-solid fa-comment"); } let $colorDiv = $userNameInput.closest('.shiftRow').find("div.shift_title"); diff --git a/resources/assets/ts/statistics/StatisticsView.ts b/resources/assets/ts/statistics/StatisticsView.ts index 8be1011a2..415684259 100644 --- a/resources/assets/ts/statistics/StatisticsView.ts +++ b/resources/assets/ts/statistics/StatisticsView.ts @@ -162,7 +162,7 @@ $('[name^=show-stats-person]').click(function(e) { const dialog =' + translate('loading') + '
', + message: '' + translate('loading') + '
', onEscape: () => {} }); diff --git a/resources/assets/ts/template/templateOverView.ts b/resources/assets/ts/template/templateOverView.ts index 0a8c264ee..f6b449a09 100644 --- a/resources/assets/ts/template/templateOverView.ts +++ b/resources/assets/ts/template/templateOverView.ts @@ -21,11 +21,11 @@ $(()=>{ message: '' + translate('deleteTemplateMessage') + '
'+ templateName + '
', buttons: { confirm: { - label:'', + label:'', className:'btn-danger' }, cancel: { - label:'', + label:'', className: 'btn-success' } }, diff --git a/resources/assets/ts/usersOverview.ts b/resources/assets/ts/usersOverview.ts index 9059288c6..d4ac4f647 100644 --- a/resources/assets/ts/usersOverview.ts +++ b/resources/assets/ts/usersOverview.ts @@ -26,16 +26,16 @@ $(() => { const selectedValue = $(target).val(); bootbox.confirm({ - title: '' + translate('changeUserStatus') + '
' + userName + '
' + selectedValue + '
', buttons: { confirm: { - label: '', + label: '', className: 'btn-danger' }, cancel: { - label: '', + label: '', className: 'btn-success' } }, @@ -54,16 +54,16 @@ $(() => { const userName = $(target).data('name'); bootbox.confirm({ - title: '' + translate('deleteUser') + '
' + userName + '
', buttons: { confirm: { - label: '', + label: '', className: 'btn-danger' }, cancel: { - label: '', + label: '', className: 'btn-success' } }, diff --git a/resources/views/clubevent/createClubEventView.blade.php b/resources/views/clubevent/createClubEventView.blade.php index e1605933a..046a61b34 100644 --- a/resources/views/clubevent/createClubEventView.blade.php +++ b/resources/views/clubevent/createClubEventView.blade.php @@ -171,43 +171,43 @@ class="col-form-label col-12 col-md-2">{{ trans('mainLang.template') }}:
{{ trans('mainLang.internalEventP') }}
- - {{ utf8_encode(strftime("%a, %d. %b", strtotime($clubEvent->evnt_date_start))) }} + + {{ utf8_encode(strftime("%a, %d. %b", strtotime($clubEvent->evnt_date_start))) }} DV: {{ date("H:i", strtotime($clubEvent->getSchedule->schdl_time_preparation_start)) }} @@ -13,12 +13,12 @@ - {{ date("H:i", strtotime($clubEvent->evnt_time_end)) }} - {{ $clubEvent->section->title }} + {{ $clubEvent->section->title }}- + {{ trans('mainLang.internalSurvey') }}
@@ -23,12 +23,12 @@- + {{ $survey->title }}
- + {{ utf8_encode(strftime("%a, %d. %b", strtotime($survey->deadline))) }}