-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathnavigation.global.php
More file actions
100 lines (98 loc) · 3.9 KB
/
Copy pathnavigation.global.php
File metadata and controls
100 lines (98 loc) · 3.9 KB
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
<?php
declare(strict_types=1);
return [
'dot_navigation' => [
//enable menu item active if any child is active
'active_recursion' => true,
'containers' => [
'main_menu' => [
'type' => 'ArrayProvider',
'options' => [
'items' => [
[
'options' => [
'label' => 'Dashboard',
'uri' => '/',
'route' => [
'route_name' => 'dashboard',
],
'icon' => 'c-blue-500 ti-home',
],
],
[
'options' => [
'label' => 'Manage admins',
'route' => [],
'icon' => 'c-teal-500 ti-view-list-alt ',
],
'pages' => [
[
'options' => [
'label' => 'Admins',
'uri' => '/admin/manage',
],
],
[
'options' => [
'label' => 'Logins',
'uri' => '/admin/logins',
],
],
[
'options' => [
'label' => 'View logins v2',
'uri' => '/admin/simple-logins',
'icon' => 'c-pink-500 ti-palette',
],
],
],
],
[
'options' => [
'label' => 'Components',
'uri' => '/page/components',
'route' => [
'route_name' => 'page',
],
'icon' => 'c-pink-500 ti-palette',
],
],
],
],
],
'account_menu' => [
'type' => 'ArrayProvider',
'options' => [
'items' => [
[
'options' => [
'label' => 'Profile',
'route' => [
'route_name' => 'admin',
'route_params' => [
'action' => 'account',
],
],
'icon' => 'ti-user',
],
],
[
'options' => [
'label' => 'Logout',
'route' => [
'route_name' => 'admin',
'route_params' => [
'action' => 'logout',
],
],
'icon' => 'ti-power-off',
],
],
],
],
],
],
//register custom providers here
'provider_manager' => [],
],
];