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.
147 lines
4.0 KiB
PHP
147 lines
4.0 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" => "fas fa-home",
|
|
"scripts" => [
|
|
"static/js/home.js"
|
|
]
|
|
],
|
|
"404" => [
|
|
"title" => "404 error"
|
|
],
|
|
"punches" => [
|
|
"title" => "punches",
|
|
"navbar" => true,
|
|
"icon" => "fas fa-clock",
|
|
"styles" => [
|
|
"static/css/datatables.min.css",
|
|
"static/css/tables.css"
|
|
],
|
|
"scripts" => [
|
|
"static/js/datatables.min.js",
|
|
"static/js/punches.js"
|
|
]
|
|
],
|
|
"jobs" => [
|
|
"title" => "jobs",
|
|
"navbar" => true,
|
|
"icon" => "fas fa-briefcase",
|
|
"styles" => [
|
|
"static/css/datatables.min.css",
|
|
"static/css/tables.css"
|
|
],
|
|
"scripts" => [
|
|
"static/js/datatables.min.js",
|
|
"static/js/jobs.js"
|
|
]
|
|
],
|
|
"editjobs" => [
|
|
"title" => "jobs",
|
|
"navbar" => false,
|
|
"icon" => "fas fa-briefcase",
|
|
"styles" => [
|
|
"static/css/datatables.min.css",
|
|
"static/css/tables.css"
|
|
],
|
|
"scripts" => [
|
|
"static/js/datatables.min.js",
|
|
"static/js/editjobs.js"
|
|
]
|
|
],
|
|
"editjob" => [
|
|
"title" => "edit job",
|
|
"navbar" => false,
|
|
"scripts" => [
|
|
"static/js/editjob.js"
|
|
]
|
|
],
|
|
"editjobhistory" => [
|
|
"title" => "edit job",
|
|
"navbar" => false,
|
|
"styles" => [
|
|
"static/css/tempusdominus-bootstrap-4.min.css",
|
|
"static/css/easy-autocomplete.min.css"
|
|
],
|
|
"scripts" => [
|
|
"static/js/moment.min.js",
|
|
"static/js/tempusdominus-bootstrap-4.min.js",
|
|
"static/js/jquery.easy-autocomplete.min.js",
|
|
"static/js/editjobhistory.js"
|
|
]
|
|
],
|
|
"shifts" => [
|
|
"title" => "shifts",
|
|
"navbar" => true,
|
|
"icon" => "fas fa-calendar",
|
|
"styles" => [
|
|
"static/css/datatables.min.css",
|
|
"static/css/tables.css"
|
|
],
|
|
"scripts" => [
|
|
"static/js/datatables.min.js",
|
|
"static/js/shifts.js"
|
|
]
|
|
],
|
|
"editshift" => [
|
|
"title" => "new shift",
|
|
"navbar" => false,
|
|
"styles" => [
|
|
"static/css/tempusdominus-bootstrap-4.min.css"
|
|
],
|
|
"scripts" => [
|
|
"static/js/moment.min.js",
|
|
"static/js/tempusdominus-bootstrap-4.min.js",
|
|
"static/js/editshift.js"
|
|
]
|
|
],
|
|
"editpunch" => [
|
|
"title" => "edit punch",
|
|
"navbar" => false,
|
|
"styles" => [
|
|
"static/css/tempusdominus-bootstrap-4.min.css",
|
|
"static/css/easy-autocomplete.min.css"
|
|
],
|
|
"scripts" => [
|
|
"static/js/moment.min.js",
|
|
"static/js/tempusdominus-bootstrap-4.min.js",
|
|
"static/js/jquery.easy-autocomplete.min.js",
|
|
"static/js/editpunch.js"
|
|
]
|
|
],
|
|
"export" => [
|
|
"title" => "reports",
|
|
"navbar" => true,
|
|
"icon" => "fas fa-download",
|
|
"styles" => [
|
|
"static/css/tempusdominus-bootstrap-4.min.css",
|
|
"static/css/easy-autocomplete.min.css"
|
|
],
|
|
"scripts" => [
|
|
"static/js/moment.min.js",
|
|
"static/js/tempusdominus-bootstrap-4.min.js",
|
|
"static/js/jquery.easy-autocomplete.min.js",
|
|
"static/js/export.js"
|
|
]
|
|
],
|
|
"assignshift" => [
|
|
"title" => "assign shift",
|
|
"navbar" => false,
|
|
"styles" => [
|
|
"static/css/easy-autocomplete.min.css"
|
|
],
|
|
"scripts" => [
|
|
"static/js/jquery.easy-autocomplete.min.js",
|
|
"static/js/jquery.color-2.1.2.min.js",
|
|
"static/js/assignshift.js"
|
|
]
|
|
],
|
|
]);
|