refactor: code style changes

Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
2023-01-15 00:04:00 +00:00
parent 25155bff2e
commit 3727c84f3e
146 changed files with 1013 additions and 1341 deletions

View File

@@ -235,7 +235,7 @@ return [
[
'text' => 'Dashboard',
'icon' => 'fas fa-tachometer-alt',
'url' => '/dashboard'
'url' => '/dashboard',
],
[
'header' => 'h_applications',
@@ -243,7 +243,7 @@ return [
],
[
'text' => 'm_my_applications',
'icon' => 'fas fa-fw fa-list-ul',
'icon' => 'fas fa-fw fa-list-ul',
'can' => 'applications.view.own',
'submenu' => [
[
@@ -269,7 +269,7 @@ return [
],
[
'header' => 'Human Resources',
'can' => 'reviewer.requestAbsence'
'can' => 'reviewer.requestAbsence',
],
[
'text' => 'Absence Management',
@@ -280,13 +280,13 @@ return [
'text' => 'New request',
'icon' => 'fas fa-plus',
'can' => 'reviewer.requestAbsence',
'route' => 'absences.create'
'route' => 'absences.create',
],
[
'text' => 'My requests',
'icon' => 'fas fa-business-time',
'can' => 'reviewer.viewAbsence',
'route' => 'showUserAbsences'
'route' => 'showUserAbsences',
],
],
@@ -295,7 +295,7 @@ return [
'text' => 'Absence requests',
'icon' => 'fas fa-address-card',
'can' => 'admin.manageAbsences',
'route' => 'absences.index'
'route' => 'absences.index',
],
[
'header' => 'h_app_management',
@@ -317,15 +317,15 @@ return [
'text' => 'Available Teams',
'icon' => 'fas fa-clipboard',
'url' => 'teams',
'can' => 'teams.view'
'can' => 'teams.view',
],
[
'text' => 'Files',
'icon' => 'fas fa-file-alt',
'url' => 'team/files',
'can' => 'teams.view'
'can' => 'teams.view',
],
]
],
],
[
'header' => 'h_admin',
@@ -583,24 +583,24 @@ return [
'location' => '/css/authpages.css',
],
],
],
[
'name' => 'BootstrapMultiselectDropdown',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => 'false',
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/js/bootstrap-multiselect.min.js',
],
[
'type' => 'css',
'asset' => false,
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/css/bootstrap-multiselect.css',
],
],
[
'name' => 'BootstrapMultiselectDropdown',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => 'false',
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/js/bootstrap-multiselect.min.js',
],
[
'type' => 'css',
'asset' => false,
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/css/bootstrap-multiselect.css',
],
],
],
[
'name' => 'BootstrapToggleButton',
'active' => true,
@@ -624,14 +624,14 @@ return [
[
'type' => 'css',
'asset' => false,
'location' => 'https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css'
'location' => 'https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css',
],
[
'type' => 'js',
'asset' => false,
'location' => 'https://cdn.jsdelivr.net/npm/flatpickr'
]
]
'location' => 'https://cdn.jsdelivr.net/npm/flatpickr',
],
],
],
[
'name' => 'Pusher',
@@ -640,9 +640,9 @@ return [
[
'type' => 'js',
'asset' => false,
'location' => 'https://js.pusher.com/beams/1.0/push-notifications-cdn.js'
]
]
]
'location' => 'https://js.pusher.com/beams/1.0/push-notifications-cdn.js',
],
],
],
],
];