rbrecruiter/config/adminlte.php

615 lines
20 KiB
PHP
Raw Normal View History

<?php
2020-10-10 16:30:26 +00:00
/*
* Copyright © 2020 Miguel Nogueira
*
* This file is part of Raspberry Staff Manager.
*
* Raspberry Staff Manager is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Raspberry Staff Manager is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Raspberry Staff Manager. If not, see <https://www.gnu.org/licenses/>.
*/
return [
/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
|
| Here you can change the default title of your admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#61-title
|
*/
'title' => env('APP_NAME'),
'title_prefix' => '',
'title_postfix' => '',
/*
|--------------------------------------------------------------------------
| Favicon
|--------------------------------------------------------------------------
|
| Here you can activate the favicon.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#62-favicon
|
*/
'use_ico_only' => false,
'use_full_favicon' => false,
/*
|--------------------------------------------------------------------------
| Logo
|--------------------------------------------------------------------------
|
| Here you can change the logo of your admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#63-logo
|
*/
'logo' => env('APP_NAME'),
'logo_img' => env('APP_LOGO'),
'logo_img_class' => 'brand-image img-circle elevation-3',
'logo_img_xl' => null,
'logo_img_xl_class' => 'brand-image-xs',
2020-10-10 16:30:26 +00:00
'logo_img_alt' => env('APP_NAME').'\'s Temporary Logo',
/*
|--------------------------------------------------------------------------
| User Menu
|--------------------------------------------------------------------------
|
| Here you can activate and change the user menu.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#64-user-menu
|
*/
'usermenu_enabled' => true,
'usermenu_header' => false,
'usermenu_header_class' => 'bg-primary',
'usermenu_image' => false,
'usermenu_desc' => false,
/*
|--------------------------------------------------------------------------
| Layout
|--------------------------------------------------------------------------
|
| Here we change the layout of your admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#65-layout
|
*/
'layout_topnav' => null,
'layout_boxed' => null,
'layout_fixed_sidebar' => null,
'layout_fixed_navbar' => null,
'layout_fixed_footer' => null,
/*
|--------------------------------------------------------------------------
| Extra Classes
|--------------------------------------------------------------------------
|
| Here you can change the look and behavior of the admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#66-classes
|
*/
'classes_body' => '',
'classes_brand' => '',
'classes_brand_text' => '',
'classes_content_header' => '',
'classes_content' => '',
'classes_sidebar' => 'sidebar-dark-primary elevation-4',
'classes_sidebar_nav' => '',
'classes_topnav' => 'navbar-white navbar-light',
'classes_topnav_nav' => 'navbar-expand-md',
'classes_topnav_container' => 'container',
/*
|--------------------------------------------------------------------------
| Sidebar
|--------------------------------------------------------------------------
|
| Here we can modify the sidebar of the admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#67-sidebar
|
*/
'sidebar_mini' => true,
'sidebar_collapse' => false,
'sidebar_collapse_auto_size' => false,
'sidebar_collapse_remember' => false,
'sidebar_collapse_remember_no_transition' => true,
'sidebar_scrollbar_theme' => 'os-theme-light',
'sidebar_scrollbar_auto_hide' => 'l',
'sidebar_nav_accordion' => true,
'sidebar_nav_animation_speed' => 300,
/*
|--------------------------------------------------------------------------
| Control Sidebar (Right Sidebar)
|--------------------------------------------------------------------------
|
| Here we can modify the right sidebar aka control sidebar of the admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#68-control-sidebar-right-sidebar
|
*/
'right_sidebar' => false,
'right_sidebar_icon' => 'fas fa-cogs',
'right_sidebar_theme' => 'dark',
'right_sidebar_slide' => true,
'right_sidebar_push' => true,
'right_sidebar_scrollbar_theme' => 'os-theme-light',
'right_sidebar_scrollbar_auto_hide' => 'l',
/*
|--------------------------------------------------------------------------
| URLs
|--------------------------------------------------------------------------
|
| Here we can modify the url settings of the admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#69-urls
|
*/
'use_route_url' => false,
'dashboard_url' => '/dashboard',
'logout_url' => '/auth/logout',
'login_url' => '/auth/login',
'register_url' => '/auth/register',
'password_reset_url' => '/auth/password/reset',
'password_email_url' => '/auth/password/email',
'profile_url' => false,
/*
|--------------------------------------------------------------------------
| Laravel Mix
|--------------------------------------------------------------------------
|
| Here we can enable the Laravel Mix option for the admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#610-laravel-mix
|
*/
'enabled_laravel_mix' => false,
/*
|--------------------------------------------------------------------------
| Menu Items
|--------------------------------------------------------------------------
|
| Here we can modify the sidebar/top navigation of the admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#611-menu
|
*/
'menu' => [
2020-06-27 03:49:55 +00:00
[
'text' => 'm_home',
'icon' => 'fas fa-home',
2020-10-10 16:30:26 +00:00
'url' => 'dashboard',
2020-06-27 03:49:55 +00:00
],
[
'text' => 'm_directory',
'icon' => 'fas fa-users',
'url' => 'users/directory',
2020-10-10 16:30:26 +00:00
'can' => 'profiles.view.others',
],
[
'header' => 'h_applications',
2020-10-10 16:30:26 +00:00
'can' => 'applications.view.own',
],
[
'text' => 'm_my_applications',
'icon' => 'fas fa-fw fa-list-ul',
'can' => 'applications.view.own',
'submenu' => [
[
'text' => 'm_curr_applications',
'icon' => 'fas fa-fw fa-check-double',
2020-10-10 16:30:26 +00:00
'url' => '/applications/my-applications',
],
],
],
2020-09-03 16:00:09 +00:00
[
'header' => 'h_my_profile',
],
[
'text' => 'm_profile_settings',
'url' => '/profile/settings',
2020-10-10 16:30:26 +00:00
'icon' => 'fas fa-fw fa-cog',
],
[
'text' => 'm_account_settings',
'icon' => 'fas fa-user-circle',
2020-10-10 16:30:26 +00:00
'url' => '/profile/settings/account',
],
2021-03-30 00:27:49 +00:00
[
'text' => 'Programmatic Access',
'icon' => 'fas fa-wrench',
'route' => 'keys.index'
],
[
'header' => 'h_app_management',
2020-10-10 16:30:26 +00:00
'can' => ['applications.view.all', 'applications.vote'],
],
2020-07-11 01:43:59 +00:00
[
'text' => 'm_all_apps',
'url' => 'applications/staff/all',
'icon' => 'fas fa-list-ol',
2020-10-10 16:30:26 +00:00
'can' => 'applications.view.all',
2020-07-11 01:43:59 +00:00
],
[
2020-11-03 03:00:03 +00:00
'text' => 'Teams',
'icon' => 'fas fa-user-friends',
'url' => 'teams',
'can' => 'teams.view',
'submenu' => [
[
2020-12-07 20:28:18 +00:00
'text' => 'Available Teams',
'icon' => 'fas fa-clipboard',
'url' => 'teams',
2020-11-03 03:00:03 +00:00
'can' => 'teams.view'
],
[
'text' => 'Files',
'icon' => 'fas fa-file-alt',
'url' => 'team/files',
'can' => 'teams.view'
],
]
],
[
2020-09-03 16:00:09 +00:00
'header' => 'h_admin',
'can' => [ // may need to be modified
'admin.hiring.*',
'admin.userlist',
'admin.stafflist',
'admin.hiring.*',
2020-10-10 16:30:26 +00:00
'admin.notificationsettings.*',
],
2020-05-02 19:51:36 +00:00
],
[
2020-09-03 16:22:28 +00:00
'text' => 'm_staff_m',
'icon' => 'fas fa-fw fa-users',
'url' => '/hr/staff-members',
2020-10-10 16:30:26 +00:00
'can' => 'admin.stafflist',
],
[ // players who haven't been promoted yet
'text' => 'm_reg_players',
'icon' => 'fas fa-fw fa-user-friends',
'url' => '/hr/players',
2020-10-10 16:30:26 +00:00
'can' => 'admin.userlist',
],
[
'text' => 'sm_hiring_man',
'icon' => 'far fa-calendar-plus',
'can' => 'admin.hiring.*',
'submenu' => [
[
'text' => 'm_open_pos',
'icon' => 'fas fa-box-open',
2020-10-10 16:30:26 +00:00
'url' => '/admin/positions',
],
[
'text' => 'sm_forms',
'icon' => 'fab fa-wpforms',
'submenu' => [
[
'text' => 'sm_all_forms',
'icon' => 'far fa-list-alt',
2020-10-10 16:30:26 +00:00
'url' => '/admin/forms',
],
[
'text' => 'm_form_builder',
'icon' => 'fas fa-fw fa-hammer',
2020-10-10 16:30:26 +00:00
'url' => '/admin/forms/builder',
],
],
],
],
],
[
'text' => 'sm_app_settings',
'icon' => 'fas fa-fw fa-cog',
'can' => 'admin.notificationsettings',
'submenu' => [
[
'text' => 'm_global_app_s',
2020-08-30 22:06:01 +00:00
'icon' => 'fas fa-cogs',
'url' => '/admin/settings',
2020-10-10 16:30:26 +00:00
'can' => 'admin.settings.view',
],
[
'text' => 'm_devtools',
'icon' => 'fas fa-code',
'url' => '/admin/devtools',
2020-10-10 16:30:26 +00:00
'can' => 'admin.developertools.use',
],
],
],
[
'text' => 'm_s_logs',
'url' => '/admin/maintenance/system-logs',
'icon' => 'fas fa-clipboard-list',
2020-10-10 16:30:26 +00:00
'can' => 'admin.maintenance.logs.view',
],
],
/*
|--------------------------------------------------------------------------
| Menu Filters
|--------------------------------------------------------------------------
|
| Here we can modify the menu filters of the admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#612-menu-filters
|
*/
'filters' => [
JeroenNoten\LaravelAdminLte\Menu\Filters\HrefFilter::class,
JeroenNoten\LaravelAdminLte\Menu\Filters\SearchFilter::class,
JeroenNoten\LaravelAdminLte\Menu\Filters\ActiveFilter::class,
JeroenNoten\LaravelAdminLte\Menu\Filters\ClassesFilter::class,
JeroenNoten\LaravelAdminLte\Menu\Filters\GateFilter::class,
JeroenNoten\LaravelAdminLte\Menu\Filters\LangFilter::class,
JeroenNoten\LaravelAdminLte\Menu\Filters\DataFilter::class,
],
/*
|--------------------------------------------------------------------------
| Plugins Initialization
|--------------------------------------------------------------------------
|
| Here we can modify the plugins used inside the admin panel.
|
| For more detailed instructions you can look here:
| https://github.com/jeroennoten/Laravel-AdminLTE/#613-plugins
|
*/
'plugins' => [
[
'name' => 'Datatables',
'active' => false,
'files' => [
[
'type' => 'js',
'asset' => false,
'location' => '//cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js',
],
[
'type' => 'js',
'asset' => false,
'location' => '//cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js',
],
[
'type' => 'css',
'asset' => false,
'location' => '//cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css',
],
],
],
[
'name' => 'FormBuilder',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => false,
2020-10-10 16:30:26 +00:00
'location' => '/js/formbuilder.js',
],
],
],
[
'name' => 'Select2',
'active' => false,
'files' => [
[
'type' => 'js',
'asset' => false,
'location' => '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js',
],
[
'type' => 'css',
'asset' => false,
'location' => '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.css',
],
],
],
[
'name' => 'Chartjs',
'active' => false,
'files' => [
[
'type' => 'js',
'asset' => false,
'location' => '//cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.bundle.min.js',
],
],
],
[
'name' => 'Sweetalert2',
'active' => false,
'files' => [
[
'type' => 'js',
'asset' => false,
'location' => '//cdn.jsdelivr.net/npm/sweetalert2@8',
],
],
],
[
'name' => 'Pace',
'active' => false,
'files' => [
[
'type' => 'css',
'asset' => false,
'location' => '//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/themes/blue/pace-theme-center-radar.min.css',
],
[
'type' => 'js',
'asset' => false,
'location' => '//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js',
],
],
],
[
'name' => 'Toastr',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => false,
2020-10-10 16:30:26 +00:00
'location' => 'https://cdn.jsdelivr.net/npm/toastr@2.1.4/toastr.min.js',
],
[
'type' => 'css',
'asset' => false,
2020-10-10 16:30:26 +00:00
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css',
],
],
],
[
'name' => 'GlobalTooltip',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => false,
2020-10-10 16:30:26 +00:00
'location' => '/js/globaltooltip.js',
],
],
],
[
'name' => 'DatePickApp',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => false,
2020-10-10 16:30:26 +00:00
'location' => '/js/datepick.js',
],
],
2020-06-27 03:49:55 +00:00
],
[
2020-10-10 16:30:26 +00:00
'name' => 'Fullcalendar',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => false,
'location' => 'https://cdn.jsdelivr.net/npm/fullcalendar@5.0.1/main.min.js',
],
[
'type' => 'css',
'asset' => false,
'location' => 'https://cdn.jsdelivr.net/npm/fullcalendar@5.0.1/main.min.css',
],
2020-06-27 03:49:55 +00:00
],
2020-07-16 06:11:33 +00:00
],
2020-10-03 20:36:35 +00:00
[
'name' => 'CheckboxValues',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => false,
2020-10-10 16:30:26 +00:00
'location' => '/js/switches.js',
],
],
2020-10-03 20:36:35 +00:00
],
2020-07-16 06:11:33 +00:00
[
2020-10-10 16:30:26 +00:00
'name' => 'AuthCustomisations',
'active' => true,
'files' => [
[
'type' => 'css',
'asset' => false,
'location' => '/css/authpages.css',
],
2020-10-03 20:36:35 +00:00
],
2020-10-10 16:30:26 +00:00
],
[
'name' => 'BootstrapToggleButton',
'active' => true,
'files' => [
[
'type' => 'css',
'asset' => false,
'location' => 'https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css',
],
[
'type' => 'js',
'asset' => false,
'location' => 'https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js',
],
],
],
[
'name' => 'BootstrapMultiselectDropdown',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => 'false',
2020-10-10 16:30:26 +00:00
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/js/bootstrap-multiselect.min.js',
],
[
'type' => 'css',
'asset' => false,
2020-10-10 16:30:26 +00:00
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/css/bootstrap-multiselect.css',
],
],
],
],
];