AccountHub/pages.php

52 lines
1.0 KiB
PHP
Raw Normal View History

<?php
2017-12-16 13:27:09 -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/. */
// List of pages and metadata
define("PAGES", [
"home" => [
"title" => "home",
"navbar" => true,
"icon" => "home"
],
"security" => [
2018-01-03 21:12:04 -07:00
"title" => "account security",
"navbar" => true,
2018-01-03 21:12:04 -07:00
"icon" => "lock"
],
"sync" => [
"title" => "sync",
"navbar" => true,
"icon" => "mobile"
],
"404" => [
"title" => "404 error",
"navbar" => false
]
]);
// Which apps to load on a given page
define("APPS", [
"home" => [
"taskfloor_tasks",
2017-06-19 00:37:53 -06:00
"qwikclock_inout",
"taskfloor_messages",
2017-05-30 13:24:46 -06:00
"inventory_link",
2017-05-13 17:24:52 -06:00
"account_security"
],
"security" => [
"change_password",
2018-01-03 21:12:04 -07:00
"change_pin",
2017-12-30 14:29:20 -07:00
"setup_2fa",
2018-01-03 21:12:04 -07:00
],
"sync" => [
"sync_mobile",
],
"404" => [
"404_error"
]
]);