adminlte.php 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Title
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here you can change the default title of your admin panel.
  9. |
  10. | For detailed instructions you can look the title section here:
  11. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
  12. |
  13. */
  14. 'title' => 'AdminLTE 3',
  15. 'title_prefix' => '',
  16. 'title_postfix' => '',
  17. /*
  18. |--------------------------------------------------------------------------
  19. | Favicon
  20. |--------------------------------------------------------------------------
  21. |
  22. | Here you can activate the favicon.
  23. |
  24. | For detailed instructions you can look the favicon section here:
  25. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
  26. |
  27. */
  28. 'use_ico_only' => false,
  29. 'use_full_favicon' => false,
  30. /*
  31. |--------------------------------------------------------------------------
  32. | Google Fonts
  33. |--------------------------------------------------------------------------
  34. |
  35. | Here you can allow or not the use of external google fonts. Disabling the
  36. | google fonts may be useful if your admin panel internet access is
  37. | restricted somehow.
  38. |
  39. | For detailed instructions you can look the google fonts section here:
  40. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
  41. |
  42. */
  43. 'google_fonts' => [
  44. 'allowed' => true,
  45. ],
  46. /*
  47. |--------------------------------------------------------------------------
  48. | Admin Panel Logo
  49. |--------------------------------------------------------------------------
  50. |
  51. | Here you can change the logo of your admin panel.
  52. |
  53. | For detailed instructions you can look the logo section here:
  54. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
  55. |
  56. */
  57. 'logo' => '<b>Admin</b>LTE',
  58. 'logo_img' => 'vendor/adminlte/dist/img/AdminLTELogo.png',
  59. 'logo_img_class' => 'brand-image img-circle elevation-3',
  60. 'logo_img_xl' => null,
  61. 'logo_img_xl_class' => 'brand-image-xs',
  62. 'logo_img_alt' => 'Admin Logo',
  63. /*
  64. |--------------------------------------------------------------------------
  65. | Authentication Logo
  66. |--------------------------------------------------------------------------
  67. |
  68. | Here you can setup an alternative logo to use on your login and register
  69. | screens. When disabled, the admin panel logo will be used instead.
  70. |
  71. | For detailed instructions you can look the auth logo section here:
  72. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
  73. |
  74. */
  75. 'auth_logo' => [
  76. 'enabled' => false,
  77. 'img' => [
  78. 'path' => 'vendor/adminlte/dist/img/AdminLTELogo.png',
  79. 'alt' => 'Auth Logo',
  80. 'class' => '',
  81. 'width' => 50,
  82. 'height' => 50,
  83. ],
  84. ],
  85. /*
  86. |--------------------------------------------------------------------------
  87. | Preloader Animation
  88. |--------------------------------------------------------------------------
  89. |
  90. | Here you can change the preloader animation configuration. Currently, two
  91. | modes are supported: 'fullscreen' for a fullscreen preloader animation
  92. | and 'cwrapper' to attach the preloader animation into the content-wrapper
  93. | element and avoid overlapping it with the sidebars and the top navbar.
  94. |
  95. | For detailed instructions you can look the preloader section here:
  96. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
  97. |
  98. */
  99. 'preloader' => [
  100. 'enabled' => true,
  101. 'mode' => 'fullscreen',
  102. 'img' => [
  103. 'path' => 'vendor/adminlte/dist/img/AdminLTELogo.png',
  104. 'alt' => 'AdminLTE Preloader Image',
  105. 'effect' => 'animation__shake',
  106. 'width' => 60,
  107. 'height' => 60,
  108. ],
  109. ],
  110. /*
  111. |--------------------------------------------------------------------------
  112. | User Menu
  113. |--------------------------------------------------------------------------
  114. |
  115. | Here you can activate and change the user menu.
  116. |
  117. | For detailed instructions you can look the user menu section here:
  118. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
  119. |
  120. */
  121. 'usermenu_enabled' => true,
  122. 'usermenu_header' => false,
  123. 'usermenu_header_class' => 'bg-primary',
  124. 'usermenu_image' => false,
  125. 'usermenu_desc' => false,
  126. 'usermenu_profile_url' => false,
  127. /*
  128. |--------------------------------------------------------------------------
  129. | Layout
  130. |--------------------------------------------------------------------------
  131. |
  132. | Here we change the layout of your admin panel.
  133. |
  134. | For detailed instructions you can look the layout section here:
  135. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
  136. |
  137. */
  138. 'layout_topnav' => null,
  139. 'layout_boxed' => null,
  140. 'layout_fixed_sidebar' => null,
  141. 'layout_fixed_navbar' => null,
  142. 'layout_fixed_footer' => null,
  143. 'layout_dark_mode' => null,
  144. /*
  145. |--------------------------------------------------------------------------
  146. | Authentication Views Classes
  147. |--------------------------------------------------------------------------
  148. |
  149. | Here you can change the look and behavior of the authentication views.
  150. |
  151. | For detailed instructions you can look the auth classes section here:
  152. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
  153. |
  154. */
  155. 'classes_auth_card' => 'card-outline card-primary',
  156. 'classes_auth_header' => '',
  157. 'classes_auth_body' => '',
  158. 'classes_auth_footer' => '',
  159. 'classes_auth_icon' => '',
  160. 'classes_auth_btn' => 'btn-flat btn-primary',
  161. /*
  162. |--------------------------------------------------------------------------
  163. | Admin Panel Classes
  164. |--------------------------------------------------------------------------
  165. |
  166. | Here you can change the look and behavior of the admin panel.
  167. |
  168. | For detailed instructions you can look the admin panel classes here:
  169. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
  170. |
  171. */
  172. 'classes_body' => '',
  173. 'classes_brand' => '',
  174. 'classes_brand_text' => '',
  175. 'classes_content_wrapper' => '',
  176. 'classes_content_header' => '',
  177. 'classes_content' => '',
  178. 'classes_sidebar' => 'sidebar-dark-primary elevation-4',
  179. 'classes_sidebar_nav' => '',
  180. 'classes_topnav' => 'navbar-white navbar-light',
  181. 'classes_topnav_nav' => 'navbar-expand',
  182. 'classes_topnav_container' => 'container',
  183. /*
  184. |--------------------------------------------------------------------------
  185. | Sidebar
  186. |--------------------------------------------------------------------------
  187. |
  188. | Here we can modify the sidebar of the admin panel.
  189. |
  190. | For detailed instructions you can look the sidebar section here:
  191. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
  192. |
  193. */
  194. 'sidebar_mini' => 'lg',
  195. 'sidebar_collapse' => false,
  196. 'sidebar_collapse_auto_size' => false,
  197. 'sidebar_collapse_remember' => false,
  198. 'sidebar_collapse_remember_no_transition' => true,
  199. 'sidebar_scrollbar_theme' => 'os-theme-light',
  200. 'sidebar_scrollbar_auto_hide' => 'l',
  201. 'sidebar_nav_accordion' => true,
  202. 'sidebar_nav_animation_speed' => 300,
  203. /*
  204. |--------------------------------------------------------------------------
  205. | Control Sidebar (Right Sidebar)
  206. |--------------------------------------------------------------------------
  207. |
  208. | Here we can modify the right sidebar aka control sidebar of the admin panel.
  209. |
  210. | For detailed instructions you can look the right sidebar section here:
  211. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
  212. |
  213. */
  214. 'right_sidebar' => false,
  215. 'right_sidebar_icon' => 'fas fa-cogs',
  216. 'right_sidebar_theme' => 'dark',
  217. 'right_sidebar_slide' => true,
  218. 'right_sidebar_push' => true,
  219. 'right_sidebar_scrollbar_theme' => 'os-theme-light',
  220. 'right_sidebar_scrollbar_auto_hide' => 'l',
  221. /*
  222. |--------------------------------------------------------------------------
  223. | URLs
  224. |--------------------------------------------------------------------------
  225. |
  226. | Here we can modify the url settings of the admin panel.
  227. |
  228. | For detailed instructions you can look the urls section here:
  229. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
  230. |
  231. */
  232. 'use_route_url' => false,
  233. 'dashboard_url' => 'admin',
  234. 'logout_url' => 'admin/logout',
  235. 'login_url' => 'admin/login',
  236. 'register_url' => 'register',
  237. 'password_reset_url' => 'password/reset',
  238. 'password_email_url' => 'password/email',
  239. 'profile_url' => false,
  240. 'disable_darkmode_routes' => false,
  241. /*
  242. |--------------------------------------------------------------------------
  243. | Laravel Asset Bundling
  244. |--------------------------------------------------------------------------
  245. |
  246. | Here we can enable the Laravel Asset Bundling option for the admin panel.
  247. | Currently, the next modes are supported: 'mix', 'vite' and 'vite_js_only'.
  248. | When using 'vite_js_only', it's expected that your CSS is imported using
  249. | JavaScript. Typically, in your application's 'resources/js/app.js' file.
  250. | If you are not using any of these, leave it as 'false'.
  251. |
  252. | For detailed instructions you can look the asset bundling section here:
  253. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration
  254. |
  255. */
  256. 'laravel_asset_bundling' => false,
  257. 'laravel_css_path' => 'css/app.css',
  258. 'laravel_js_path' => 'js/app.js',
  259. /*
  260. |--------------------------------------------------------------------------
  261. | Menu Items
  262. |--------------------------------------------------------------------------
  263. |
  264. | Here we can modify the sidebar/top navigation of the admin panel.
  265. |
  266. | For detailed instructions you can look here:
  267. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Menu-Configuration
  268. |
  269. */
  270. 'menu' => [
  271. // Navbar items (правый верхний угол):
  272. [
  273. 'type' => 'fullscreen-widget',
  274. 'topnav_right' => true,
  275. ],
  276. // Sidebar items:
  277. [
  278. 'type' => 'sidebar-menu-search',
  279. 'text' => 'search',
  280. ],
  281. ['header' => 'УПРАВЛЕНИЕ'],
  282. [
  283. 'text' => 'Дашборд',
  284. 'url' => 'admin',
  285. 'icon' => 'fas fa-fw fa-tachometer-alt',
  286. 'active' => ['admin'],
  287. ],
  288. ['header' => 'АВТОМОБИЛИ'],
  289. [
  290. 'text' => 'Автомобили',
  291. 'icon' => 'fas fa-fw fa-car',
  292. 'can' => 'cars.view',
  293. 'submenu' => [
  294. [
  295. 'text' => 'Все автомобили',
  296. 'url' => 'admin/cars',
  297. 'icon' => 'fas fa-fw fa-list',
  298. 'can' => 'cars.view',
  299. ],
  300. [
  301. 'text' => 'Добавить',
  302. 'url' => 'admin/cars/create',
  303. 'icon' => 'fas fa-fw fa-plus',
  304. 'can' => 'cars.edit',
  305. ],
  306. ],
  307. ],
  308. ['header' => 'ДОП ИНФОРМАЦИЯ'],
  309. [
  310. 'text' => 'Справочники',
  311. 'url' => 'admin/manuals',
  312. 'icon' => 'fas fa-fw fa-book',
  313. 'can' => 'manuals.view',
  314. ],
  315. [
  316. 'text' => 'Ссылки для парсера',
  317. 'url' => 'admin/parser-links',
  318. 'icon' => 'fas fa-fw fa-link',
  319. 'can' => 'settings.view',
  320. ],
  321. ['header' => 'КОНТЕНТ САЙТА'],
  322. [
  323. 'text' => 'Страницы',
  324. 'url' => 'admin/pages',
  325. 'icon' => 'fas fa-fw fa-file-alt',
  326. 'can' => 'pages.view',
  327. ],
  328. [
  329. 'text' => 'Блоки',
  330. 'url' => 'admin/blocks',
  331. 'icon' => 'fas fa-fw fa-th-large',
  332. 'can' => 'blocks.view',
  333. ],
  334. [
  335. 'text' => 'Услуги',
  336. 'url' => 'admin/services',
  337. 'icon' => 'fas fa-fw fa-concierge-bell',
  338. 'can' => 'blocks.view',
  339. ],
  340. [
  341. 'text' => 'Отзывы',
  342. 'url' => 'admin/reviews',
  343. 'icon' => 'fas fa-fw fa-star',
  344. 'can' => 'blocks.view',
  345. ],
  346. ['header' => 'ЗАЯВКИ'],
  347. [
  348. 'text' => 'Заявки и формы',
  349. 'icon' => 'fas fa-fw fa-paper-plane',
  350. 'can' => 'settings.view',
  351. 'submenu' => [
  352. [
  353. 'text' => 'Веб-формы',
  354. 'url' => 'admin/forms',
  355. 'icon' => 'fas fa-fw fa-list-alt',
  356. 'can' => 'settings.view',
  357. ],
  358. [
  359. 'text' => 'Заявки',
  360. 'url' => 'admin/leads',
  361. 'icon' => 'fas fa-fw fa-inbox',
  362. 'can' => 'settings.view',
  363. ],
  364. ],
  365. ],
  366. ['header' => 'СИСТЕМА'],
  367. [
  368. 'text' => 'Настройки',
  369. 'url' => 'admin/settings',
  370. 'icon' => 'fas fa-fw fa-cog',
  371. 'can' => 'settings.view',
  372. ],
  373. [
  374. 'text' => 'Пользователи',
  375. 'url' => 'admin/users',
  376. 'icon' => 'fas fa-fw fa-users',
  377. 'can' => 'users.view',
  378. ],
  379. ],
  380. /*
  381. |--------------------------------------------------------------------------
  382. | Menu Filters
  383. |--------------------------------------------------------------------------
  384. |
  385. | Here we can modify the menu filters of the admin panel.
  386. |
  387. | For detailed instructions you can look the menu filters section here:
  388. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Menu-Configuration
  389. |
  390. */
  391. 'filters' => [
  392. JeroenNoten\LaravelAdminLte\Menu\Filters\GateFilter::class,
  393. JeroenNoten\LaravelAdminLte\Menu\Filters\HrefFilter::class,
  394. JeroenNoten\LaravelAdminLte\Menu\Filters\SearchFilter::class,
  395. JeroenNoten\LaravelAdminLte\Menu\Filters\ActiveFilter::class,
  396. JeroenNoten\LaravelAdminLte\Menu\Filters\ClassesFilter::class,
  397. JeroenNoten\LaravelAdminLte\Menu\Filters\LangFilter::class,
  398. JeroenNoten\LaravelAdminLte\Menu\Filters\DataFilter::class,
  399. ],
  400. /*
  401. |--------------------------------------------------------------------------
  402. | Plugins Initialization
  403. |--------------------------------------------------------------------------
  404. |
  405. | Here we can modify the plugins used inside the admin panel.
  406. |
  407. | For detailed instructions you can look the plugins section here:
  408. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Plugins-Configuration
  409. |
  410. */
  411. 'plugins' => [
  412. 'Datatables' => [
  413. 'active' => false,
  414. 'files' => [
  415. [
  416. 'type' => 'js',
  417. 'asset' => false,
  418. 'location' => '//cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js',
  419. ],
  420. [
  421. 'type' => 'js',
  422. 'asset' => false,
  423. 'location' => '//cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js',
  424. ],
  425. [
  426. 'type' => 'css',
  427. 'asset' => false,
  428. 'location' => '//cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css',
  429. ],
  430. ],
  431. ],
  432. 'Select2' => [
  433. 'active' => false,
  434. 'files' => [
  435. [
  436. 'type' => 'js',
  437. 'asset' => false,
  438. 'location' => '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js',
  439. ],
  440. [
  441. 'type' => 'css',
  442. 'asset' => false,
  443. 'location' => '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.css',
  444. ],
  445. ],
  446. ],
  447. 'Chartjs' => [
  448. 'active' => false,
  449. 'files' => [
  450. [
  451. 'type' => 'js',
  452. 'asset' => false,
  453. 'location' => '//cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.bundle.min.js',
  454. ],
  455. ],
  456. ],
  457. 'Sweetalert2' => [
  458. 'active' => false,
  459. 'files' => [
  460. [
  461. 'type' => 'js',
  462. 'asset' => false,
  463. 'location' => '//cdn.jsdelivr.net/npm/sweetalert2@8',
  464. ],
  465. ],
  466. ],
  467. 'Pace' => [
  468. 'active' => false,
  469. 'files' => [
  470. [
  471. 'type' => 'css',
  472. 'asset' => false,
  473. 'location' => '//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/themes/blue/pace-theme-center-radar.min.css',
  474. ],
  475. [
  476. 'type' => 'js',
  477. 'asset' => false,
  478. 'location' => '//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js',
  479. ],
  480. ],
  481. ],
  482. // Summernote — WYSIWYG-редактор для Bootstrap 4 (с русской локализацией)
  483. 'Summernote' => [
  484. 'active' => false,
  485. 'files' => [
  486. [
  487. 'type' => 'css',
  488. 'asset' => false,
  489. 'location' => 'https://cdn.jsdelivr.net/npm/summernote@0.8.20/dist/summernote-bs4.min.css',
  490. ],
  491. [
  492. 'type' => 'js',
  493. 'asset' => false,
  494. 'location' => 'https://cdn.jsdelivr.net/npm/summernote@0.8.20/dist/summernote-bs4.min.js',
  495. ],
  496. [
  497. 'type' => 'js',
  498. 'asset' => false,
  499. 'location' => 'https://cdn.jsdelivr.net/npm/summernote@0.8.20/dist/lang/summernote-ru-RU.min.js',
  500. ],
  501. ],
  502. ],
  503. ],
  504. /*
  505. |--------------------------------------------------------------------------
  506. | IFrame
  507. |--------------------------------------------------------------------------
  508. |
  509. | Here we change the IFrame mode configuration. Note these changes will
  510. | only apply to the view that extends and enable the IFrame mode.
  511. |
  512. | For detailed instructions you can look the iframe mode section here:
  513. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/IFrame-Mode-Configuration
  514. |
  515. */
  516. 'iframe' => [
  517. 'default_tab' => [
  518. 'url' => null,
  519. 'title' => null,
  520. ],
  521. 'buttons' => [
  522. 'close' => true,
  523. 'close_all' => true,
  524. 'close_all_other' => true,
  525. 'scroll_left' => true,
  526. 'scroll_right' => true,
  527. 'fullscreen' => true,
  528. ],
  529. 'options' => [
  530. 'loading_screen' => 1000,
  531. 'auto_show_new_tab' => true,
  532. 'use_navbar_items' => true,
  533. ],
  534. ],
  535. /*
  536. |--------------------------------------------------------------------------
  537. | Livewire
  538. |--------------------------------------------------------------------------
  539. |
  540. | Here we can enable the Livewire support.
  541. |
  542. | For detailed instructions you can look the livewire here:
  543. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration
  544. |
  545. */
  546. 'livewire' => false,
  547. ];