-
Notifications
You must be signed in to change notification settings - Fork 3
/
adminlte.php
171 lines (145 loc) · 5.33 KB
/
adminlte.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<?php
return [
/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
|
| The default title of your admin panel, this goes into the title tag
| of your page. You can override it per page with the title section.
| You can optionally also specify a title prefix and/or postfix.
|
*/
'title' => 'Laracommerce',
'title_prefix' => '',
'title_postfix' => '',
/*
|--------------------------------------------------------------------------
| Logo
|--------------------------------------------------------------------------
|
| This logo is displayed at the upper left corner of your admin panel.
| You can use basic HTML here if you want. The logo has also a mini
| variant, used for the mini side bar. Make it 3 letters or so
|
*/
'logo' => 'Laracommerce',
'logo_mini' => 'Lc',
/*
|--------------------------------------------------------------------------
| Skin Color
|--------------------------------------------------------------------------
|
| Choose a skin color for your admin panel. The available skin colors:
| blue, black, purple, yellow, red, and green. Each skin also has a
| ligth variant: blue-light, purple-light, purple-light, etc.
|
*/
'skin' => 'green-light',
/*
|--------------------------------------------------------------------------
| Layout
|--------------------------------------------------------------------------
|
| Choose a layout for your admin panel. The available layout options:
| null, 'boxed', 'fixed', 'top-nav'. null is the default, top-nav
| removes the sidebar and places your menu in the top navbar
|
*/
'layout' => null,
/*
|--------------------------------------------------------------------------
| Collapse Sidebar
|--------------------------------------------------------------------------
|
| Here we choose and option to be able to start with a collapsed side
| bar. To adjust your sidebar layout simply set this either true
| this is compatible with layouts except top-nav layout option
|
*/
'collapse_sidebar' => false,
/*
|--------------------------------------------------------------------------
| URLs
|--------------------------------------------------------------------------
|
| Register here your dashboard, logout, login and register URLs. The
| logout URL automatically sends a POST request in Laravel 5.3 or higher.
| You can set the request to a GET or POST with logout_method.
| Set register_url to null if you don't want a register link.
|
*/
'dashboard_url' => '/',
'logout_url' => 'logout',
'logout_method' => null,
'login_url' => 'login',
'register_url' => 'register',
/*
|--------------------------------------------------------------------------
| Menu Items
|--------------------------------------------------------------------------
|
| Specify your menu items to display in the left sidebar. Each menu item
| should have a text and and a URL. You can also specify an icon from
| Font Awesome. A string instead of an array represents a header in sidebar
| layout. The 'can' is a filter on Laravel's built in Gate functionality.
|
*/
'menu' => [
[
'text' => 'Dashboard',
'url' => 'admin',
'icon' => 'dashboard',
],
'SITE SETTINGS',
[
'text' => 'General',
'url' => 'admin/general',
'icon' => 'globe',
],
[
'text' => 'Locale',
'url' => 'admin/localization',
'icon' => 'flag',
],
'CONTENT SETTINGS',
[
'text' => 'Category',
'url' => 'admin/category',
'icon' => 'file',
],
],
/*
|--------------------------------------------------------------------------
| Menu Filters
|--------------------------------------------------------------------------
|
| Choose what filters you want to include for rendering the menu.
| You can add your own filters to this array after you've created them.
| You can comment out the GateFilter if you don't want to use Laravel's
| built in Gate functionality
|
*/
'filters' => [
JeroenNoten\LaravelAdminLte\Menu\Filters\HrefFilter::class,
JeroenNoten\LaravelAdminLte\Menu\Filters\ActiveFilter::class,
JeroenNoten\LaravelAdminLte\Menu\Filters\SubmenuFilter::class,
JeroenNoten\LaravelAdminLte\Menu\Filters\ClassesFilter::class,
JeroenNoten\LaravelAdminLte\Menu\Filters\GateFilter::class,
],
/*
|--------------------------------------------------------------------------
| Plugins Initialization
|--------------------------------------------------------------------------
|
| Choose which JavaScript plugins should be included. At this moment,
| only DataTables is supported as a plugin. Set the value to true
| to include the JavaScript file from a CDN via a script tag.
|
*/
'plugins' => [
'datatables' => true,
'select2' => true,
'chartjs' => true,
],
];