-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages.php
119 lines (117 loc) · 2.98 KB
/
pages.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
<?php
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// List of pages and metadata
define("PAGES", [
"home" => [
"title" => "Home",
"navbar" => true,
"icon" => "fas fa-home"
],
"users" => [
"title" => "Users",
"navbar" => true,
"icon" => "fas fa-users",
"styles" => [
"static/css/datatables.min.css",
"static/css/tables.css"
],
"scripts" => [
"static/js/datatables.min.js",
"static/js/users.js"
],
],
"edituser" => [
"title" => "edit user",
"navbar" => false,
"scripts" => [
"static/js/edituser.js"
]
],
"deluser" => [
"title" => "delete user",
"navbar" => false
],
"groups" => [
"title" => "Groups",
"navbar" => true,
"icon" => "fas fa-object-group",
"styles" => [
"static/css/easy-autocomplete.min.css"
],
"scripts" => [
"static/js/jquery.easy-autocomplete.min.js",
"static/js/groups.js"
],
],
"authlog" => [
"title" => "Security Log",
"navbar" => true,
"icon" => "fas fa-list",
"styles" => [
"static/css/datatables.min.css",
"static/css/tables.css"
],
"scripts" => [
"static/js/datatables.min.js",
"static/js/authlog.js"
],
],
"clearlog" => [
"title" => "clear log",
"navbar" => false
],
"managers" => [
"title" => "Managers",
"navbar" => true,
"icon" => "fas fa-id-card",
"styles" => [
"static/css/easy-autocomplete.min.css"
],
"scripts" => [
"static/js/jquery.easy-autocomplete.min.js",
"static/js/managers.js"
]
],
"permissions" => [
"title" => "Permissions",
"navbar" => true,
"icon" => "fas fa-key",
"styles" => [
"static/css/easy-autocomplete.min.css"
],
"scripts" => [
"static/js/jquery.easy-autocomplete.min.js",
"static/js/permissions.js"
],
],
"export" => [
"title" => "report export",
"navbar" => true,
"icon" => "fas fa-download",
"scripts" => [
"static/js/export.js"
]
],
"apikeys" => [
"title" => "API Keys",
"navbar" => true,
"icon" => "fas fa-server",
"styles" => [
"static/css/datatables.min.css",
"static/css/tables.css"
],
"scripts" => [
"static/js/datatables.min.js",
"static/js/apikeys.js"
],
],
"addapikey" => [
"title" => "Add Key",
"navbar" => false
],
"404" => [
"title" => "404 error"
]
]);