You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ManagePanel/pages.php

91 lines
2.2 KiB
PHP

<?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" => "home"
],
"users" => [
"title" => "users",
"navbar" => true,
"icon" => "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
],
"authlog" => [
"title" => "security log",
"navbar" => true,
"icon" => "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" => "id-card-o",
"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" => "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" => "download",
"scripts" => [
"static/js/export.js"
]
],
"404" => [
"title" => "404 error"
]
]);