adminlte.php 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  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' => 'home',
  234. 'logout_url' => 'logout',
  235. 'login_url' => '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' => 'navbar-search',
  274. 'text' => 'search',
  275. 'topnav_right' => true,
  276. ],
  277. [
  278. 'type' => 'fullscreen-widget',
  279. 'topnav_right' => true,
  280. ],
  281. // Sidebar items:
  282. [
  283. 'type' => 'sidebar-menu-search',
  284. 'text' => 'search',
  285. ],
  286. [
  287. 'text' => 'blog',
  288. 'url' => 'admin/blog',
  289. 'can' => 'manage-blog',
  290. ],
  291. [
  292. 'text' => 'pages',
  293. 'url' => 'admin/pages',
  294. 'icon' => 'far fa-fw fa-file',
  295. 'label' => 4,
  296. 'label_color' => 'success',
  297. ],
  298. ['header' => 'account_settings'],
  299. [
  300. 'text' => 'profile',
  301. 'url' => 'admin/settings',
  302. 'icon' => 'fas fa-fw fa-user',
  303. ],
  304. [
  305. 'text' => 'change_password',
  306. 'url' => 'admin/settings',
  307. 'icon' => 'fas fa-fw fa-lock',
  308. ],
  309. [
  310. 'text' => 'multilevel',
  311. 'icon' => 'fas fa-fw fa-share',
  312. 'submenu' => [
  313. [
  314. 'text' => 'level_one',
  315. 'url' => '#',
  316. ],
  317. [
  318. 'text' => 'level_one',
  319. 'url' => '#',
  320. 'submenu' => [
  321. [
  322. 'text' => 'level_two',
  323. 'url' => '#',
  324. ],
  325. [
  326. 'text' => 'level_two',
  327. 'url' => '#',
  328. 'submenu' => [
  329. [
  330. 'text' => 'level_three',
  331. 'url' => '#',
  332. ],
  333. [
  334. 'text' => 'level_three',
  335. 'url' => '#',
  336. ],
  337. ],
  338. ],
  339. ],
  340. ],
  341. [
  342. 'text' => 'level_one',
  343. 'url' => '#',
  344. ],
  345. ],
  346. ],
  347. ['header' => 'labels'],
  348. [
  349. 'text' => 'important',
  350. 'icon_color' => 'red',
  351. 'url' => '#',
  352. ],
  353. [
  354. 'text' => 'warning',
  355. 'icon_color' => 'yellow',
  356. 'url' => '#',
  357. ],
  358. [
  359. 'text' => 'information',
  360. 'icon_color' => 'cyan',
  361. 'url' => '#',
  362. ],
  363. ],
  364. /*
  365. |--------------------------------------------------------------------------
  366. | Menu Filters
  367. |--------------------------------------------------------------------------
  368. |
  369. | Here we can modify the menu filters of the admin panel.
  370. |
  371. | For detailed instructions you can look the menu filters section here:
  372. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Menu-Configuration
  373. |
  374. */
  375. 'filters' => [
  376. JeroenNoten\LaravelAdminLte\Menu\Filters\GateFilter::class,
  377. JeroenNoten\LaravelAdminLte\Menu\Filters\HrefFilter::class,
  378. JeroenNoten\LaravelAdminLte\Menu\Filters\SearchFilter::class,
  379. JeroenNoten\LaravelAdminLte\Menu\Filters\ActiveFilter::class,
  380. JeroenNoten\LaravelAdminLte\Menu\Filters\ClassesFilter::class,
  381. JeroenNoten\LaravelAdminLte\Menu\Filters\LangFilter::class,
  382. JeroenNoten\LaravelAdminLte\Menu\Filters\DataFilter::class,
  383. ],
  384. /*
  385. |--------------------------------------------------------------------------
  386. | Plugins Initialization
  387. |--------------------------------------------------------------------------
  388. |
  389. | Here we can modify the plugins used inside the admin panel.
  390. |
  391. | For detailed instructions you can look the plugins section here:
  392. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Plugins-Configuration
  393. |
  394. */
  395. 'plugins' => [
  396. 'Datatables' => [
  397. 'active' => false,
  398. 'files' => [
  399. [
  400. 'type' => 'js',
  401. 'asset' => false,
  402. 'location' => '//cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js',
  403. ],
  404. [
  405. 'type' => 'js',
  406. 'asset' => false,
  407. 'location' => '//cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js',
  408. ],
  409. [
  410. 'type' => 'css',
  411. 'asset' => false,
  412. 'location' => '//cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css',
  413. ],
  414. ],
  415. ],
  416. 'Select2' => [
  417. 'active' => false,
  418. 'files' => [
  419. [
  420. 'type' => 'js',
  421. 'asset' => false,
  422. 'location' => '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js',
  423. ],
  424. [
  425. 'type' => 'css',
  426. 'asset' => false,
  427. 'location' => '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.css',
  428. ],
  429. ],
  430. ],
  431. 'Chartjs' => [
  432. 'active' => false,
  433. 'files' => [
  434. [
  435. 'type' => 'js',
  436. 'asset' => false,
  437. 'location' => '//cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.bundle.min.js',
  438. ],
  439. ],
  440. ],
  441. 'Sweetalert2' => [
  442. 'active' => false,
  443. 'files' => [
  444. [
  445. 'type' => 'js',
  446. 'asset' => false,
  447. 'location' => '//cdn.jsdelivr.net/npm/sweetalert2@8',
  448. ],
  449. ],
  450. ],
  451. 'Pace' => [
  452. 'active' => false,
  453. 'files' => [
  454. [
  455. 'type' => 'css',
  456. 'asset' => false,
  457. 'location' => '//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/themes/blue/pace-theme-center-radar.min.css',
  458. ],
  459. [
  460. 'type' => 'js',
  461. 'asset' => false,
  462. 'location' => '//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js',
  463. ],
  464. ],
  465. ],
  466. ],
  467. /*
  468. |--------------------------------------------------------------------------
  469. | IFrame
  470. |--------------------------------------------------------------------------
  471. |
  472. | Here we change the IFrame mode configuration. Note these changes will
  473. | only apply to the view that extends and enable the IFrame mode.
  474. |
  475. | For detailed instructions you can look the iframe mode section here:
  476. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/IFrame-Mode-Configuration
  477. |
  478. */
  479. 'iframe' => [
  480. 'default_tab' => [
  481. 'url' => null,
  482. 'title' => null,
  483. ],
  484. 'buttons' => [
  485. 'close' => true,
  486. 'close_all' => true,
  487. 'close_all_other' => true,
  488. 'scroll_left' => true,
  489. 'scroll_right' => true,
  490. 'fullscreen' => true,
  491. ],
  492. 'options' => [
  493. 'loading_screen' => 1000,
  494. 'auto_show_new_tab' => true,
  495. 'use_navbar_items' => true,
  496. ],
  497. ],
  498. /*
  499. |--------------------------------------------------------------------------
  500. | Livewire
  501. |--------------------------------------------------------------------------
  502. |
  503. | Here we can enable the Livewire support.
  504. |
  505. | For detailed instructions you can look the livewire here:
  506. | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration
  507. |
  508. */
  509. 'livewire' => false,
  510. ];