-
Notifications
You must be signed in to change notification settings - Fork 1
/
kontour.php
177 lines (151 loc) · 4.94 KB
/
kontour.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
172
173
174
175
176
177
<?php
return [
/*
|--------------------------------------------------------------------------
| Route registration
|--------------------------------------------------------------------------
|
| The Kontour service provider registers admin auth and dashboard routes
| unless turned off here.
|
*/
'register_routes' => true,
/*
|--------------------------------------------------------------------------
| Admin Title
|--------------------------------------------------------------------------
|
| Display name for header and page title of admin pages
|
*/
'title' => 'Kontour ' . env('APP_NAME') . ' ' . env('APP_ENV'),
/*
|--------------------------------------------------------------------------
| Admin Authentication Guard
|--------------------------------------------------------------------------
|
| Name of the default Guard used for admin tools.
|
| If you've added a configuration for a separate Guard for admin pages in
| your app's config/auth.php you should set that guard's name here.
|
*/
'guard' => 'web',
/*
|--------------------------------------------------------------------------
| Resetting Passwords
|--------------------------------------------------------------------------
|
| Name of the configuration for admin password resets.
|
| If you want to use another password configuration than the default, add
| the configuration to 'passwords' in your app's config/auth.php and set
| the configuration name here.
|
*/
//'passwords' => 'users',
/*
|--------------------------------------------------------------------------
| URL Prefix
|--------------------------------------------------------------------------
|
| Common prefix for the admin urls.
|
*/
'url_prefix' => 'admin',
/*
|--------------------------------------------------------------------------
| Domain
|--------------------------------------------------------------------------
|
| Domain name for admin routes.
|
| Set a domain name here if your admin pages should reside on another
| domain or sub-domain than the rest of your app.
|
*/
'domain' => null,
/*
|--------------------------------------------------------------------------
| Stylesheets & javascripts
|--------------------------------------------------------------------------
|
| Stylesheets & javascripts that load on all admin pages.
| Can be full or relative urls.
|
*/
'stylesheets' => [
//'css/kontour.css',
],
'javascripts' => [
//'js/kontour.js',
],
/*
|--------------------------------------------------------------------------
| Widgets
|--------------------------------------------------------------------------
|
| Configure the widgets to load on all admin-pages.
|
*/
'global_widgets' => [
\Kontenta\Kontour\Contracts\MenuWidget::class => 'kontourNav',
\Kontenta\Kontour\Contracts\UserAccountWidget::class => 'kontourHeader',
\Kontenta\Kontour\Contracts\PersonalRecentVisitsWidget::class => 'kontourWidgets',
\Kontenta\Kontour\Contracts\TeamRecentVisitsWidget::class => 'kontourWidgets',
],
/*
|--------------------------------------------------------------------------
| Recent visits
|--------------------------------------------------------------------------
|
| Number of links to show in recent visits widgets.
|
*/
'max_recent_visits' => [
'personal' => 7,
'team' => 9,
],
/*
|--------------------------------------------------------------------------
| Menu overrides
|--------------------------------------------------------------------------
|
| Restructure the menu, overriding menu item positions.
|
*/
// Move all links from one heading to another
'menu_heading_names' => [
//'Design' => 'Style', //Any links put in heading 'Design' will end up under heading 'Style'
],
// Move specific links to another heading
'menu_item_headings' => [
//'Admin users' => 'Admin', //The 'Admin users' link will end up under heading 'Admin'
],
// Reorder headings
'menu_heading_order' => [
//'Design',
//'Management',
],
// Reorder links relative each other
'menu_item_order' => [
//'Roles',
//'Admin users',
],
// Remove links altogether
'menu_hidden_items' => [
//'Roles'
],
/*
|--------------------------------------------------------------------------
| Time format
|--------------------------------------------------------------------------
|
| The default time format is used for displaying non-relative times.
| Example:
| D, M j, Y H:i T
| Mon, Mar 25, 2019 10:51 UTC
|
*/
'time_format' => 'D, M j, Y H:i T',
];