2017-05-22 03:04:32 -06:00
|
|
|
<?php
|
|
|
|
|
2017-12-16 13:54:00 -07:00
|
|
|
/* 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/. */
|
|
|
|
|
2017-05-22 03:04:32 -06:00
|
|
|
// List of pages and metadata
|
|
|
|
define("PAGES", [
|
|
|
|
"home" => [
|
2018-12-20 23:24:47 -07:00
|
|
|
"title" => "Home",
|
2017-05-22 03:04:32 -06:00
|
|
|
"navbar" => true,
|
2018-01-28 23:54:27 -07:00
|
|
|
"icon" => "fas fa-home"
|
2017-05-22 03:04:32 -06:00
|
|
|
],
|
2017-05-23 01:17:03 -06:00
|
|
|
"users" => [
|
2019-01-02 23:52:41 -07:00
|
|
|
"title" => "Users",
|
2017-05-23 01:17:03 -06:00
|
|
|
"navbar" => true,
|
2018-01-28 23:54:27 -07:00
|
|
|
"icon" => "fas fa-users",
|
2017-05-23 01:17:03 -06:00
|
|
|
"styles" => [
|
|
|
|
"static/css/datatables.min.css",
|
|
|
|
"static/css/tables.css"
|
|
|
|
],
|
|
|
|
"scripts" => [
|
|
|
|
"static/js/datatables.min.js",
|
|
|
|
"static/js/users.js"
|
|
|
|
],
|
|
|
|
],
|
2017-05-26 00:09:42 -06:00
|
|
|
"edituser" => [
|
|
|
|
"title" => "edit user",
|
|
|
|
"navbar" => false,
|
|
|
|
"scripts" => [
|
|
|
|
"static/js/edituser.js"
|
|
|
|
]
|
|
|
|
],
|
2017-05-27 19:32:12 -06:00
|
|
|
"deluser" => [
|
|
|
|
"title" => "delete user",
|
|
|
|
"navbar" => false
|
|
|
|
],
|
2017-12-22 01:19:12 -07:00
|
|
|
"groups" => [
|
2019-01-02 23:52:41 -07:00
|
|
|
"title" => "Groups",
|
2017-12-22 01:19:12 -07:00
|
|
|
"navbar" => true,
|
2018-01-28 23:54:27 -07:00
|
|
|
"icon" => "fas fa-object-group",
|
2017-12-22 01:19:12 -07:00
|
|
|
"styles" => [
|
|
|
|
"static/css/easy-autocomplete.min.css"
|
|
|
|
],
|
|
|
|
"scripts" => [
|
|
|
|
"static/js/jquery.easy-autocomplete.min.js",
|
|
|
|
"static/js/groups.js"
|
|
|
|
],
|
|
|
|
],
|
2017-05-27 19:32:12 -06:00
|
|
|
"authlog" => [
|
2019-01-02 23:52:41 -07:00
|
|
|
"title" => "Security Log",
|
2017-05-27 19:32:12 -06:00
|
|
|
"navbar" => true,
|
2018-01-28 23:54:27 -07:00
|
|
|
"icon" => "fas fa-list",
|
2017-05-27 19:32:12 -06:00
|
|
|
"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
|
|
|
|
],
|
2017-05-27 23:55:19 -06:00
|
|
|
"managers" => [
|
2019-01-02 23:52:41 -07:00
|
|
|
"title" => "Managers",
|
2017-05-27 23:55:19 -06:00
|
|
|
"navbar" => true,
|
2018-01-28 23:54:27 -07:00
|
|
|
"icon" => "fas fa-id-card",
|
2017-05-27 23:55:19 -06:00
|
|
|
"styles" => [
|
|
|
|
"static/css/easy-autocomplete.min.css"
|
|
|
|
],
|
|
|
|
"scripts" => [
|
|
|
|
"static/js/jquery.easy-autocomplete.min.js",
|
2017-10-10 20:20:30 -06:00
|
|
|
"static/js/managers.js"
|
2017-05-27 23:55:19 -06:00
|
|
|
]
|
|
|
|
],
|
2017-05-28 23:24:56 -06:00
|
|
|
"permissions" => [
|
2019-01-02 23:52:41 -07:00
|
|
|
"title" => "Permissions",
|
2017-05-28 23:24:56 -06:00
|
|
|
"navbar" => true,
|
2018-01-28 23:54:27 -07:00
|
|
|
"icon" => "fas fa-key",
|
2017-05-28 23:24:56 -06:00
|
|
|
"styles" => [
|
|
|
|
"static/css/easy-autocomplete.min.css"
|
|
|
|
],
|
|
|
|
"scripts" => [
|
|
|
|
"static/js/jquery.easy-autocomplete.min.js",
|
2017-12-16 13:38:20 -07:00
|
|
|
"static/js/permissions.js"
|
|
|
|
],
|
2017-05-28 23:24:56 -06:00
|
|
|
],
|
2017-10-10 22:09:14 -06:00
|
|
|
"export" => [
|
|
|
|
"title" => "report export",
|
|
|
|
"navbar" => true,
|
2018-01-28 23:54:27 -07:00
|
|
|
"icon" => "fas fa-download",
|
2017-11-13 16:26:29 -07:00
|
|
|
"scripts" => [
|
|
|
|
"static/js/export.js"
|
|
|
|
]
|
2017-10-10 22:09:14 -06:00
|
|
|
],
|
2019-02-13 22:07:15 -07:00
|
|
|
"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
|
|
|
|
],
|
2017-05-22 03:04:32 -06:00
|
|
|
"404" => [
|
|
|
|
"title" => "404 error"
|
|
|
|
]
|
2017-12-22 01:19:12 -07:00
|
|
|
]);
|