NewsPen/pages.php

84 lines
2.1 KiB
PHP
Raw Normal View History

2017-04-24 17:13:08 -06:00
<?php
2017-12-16 14:06:39 -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-04-24 17:13:08 -06:00
// List of pages and metadata
define("PAGES", [
"home" => [
"title" => "publications",
"navbar" => true,
"icon" => "fas fa-newspaper",
2017-11-29 21:42:45 -07:00
"styles" => [
"static/css/datatables.min.css",
"static/css/tables.css"
],
"scripts" => [
2018-02-13 22:54:25 -07:00
"static/js/shuffle.min.js",
2017-11-29 21:42:45 -07:00
"static/js/datatables.min.js",
"static/js/home.js"
],
],
"editpub" => [
"title" => "edit publication",
"navbar" => false,
"styles" => [
"static/css/themeselector.css"
],
2017-11-29 21:42:45 -07:00
"scripts" => [
"static/js/editpub.js"
],
2017-04-24 17:13:08 -06:00
],
"content" => [
2018-02-13 21:33:28 -07:00
"title" => "editor",
"navbar" => false,
2018-02-13 21:33:28 -07:00
"icon" => "fas fa-edit",
2017-12-01 01:37:39 -07:00
"styles" => [
"static/css/summernote-lite.css",
2018-02-16 12:21:15 -07:00
"static/css/range.css",
2017-12-01 01:37:39 -07:00
"static/css/content.css",
],
"scripts" => [
"static/js/summernote-lite.js",
2017-12-01 01:37:39 -07:00
"static/js/content.js"
]
],
"maillist" => [
"title" => "mailing lists",
"navbar" => true,
"icon" => "fas fa-envelope",
"styles" => [
"static/css/datatables.min.css",
"static/css/tables.css"
],
"scripts" => [
"static/js/datatables.min.js",
"static/js/maillist.js"
],
],
2018-02-03 21:08:30 -07:00
"editlist" => [
"title" => "edit list",
"navbar" => false,
2018-02-13 21:31:47 -07:00
"styles" => [
"static/css/tagsinput.css"
],
2018-02-03 21:08:30 -07:00
"scripts" => [
2018-02-13 21:31:47 -07:00
"static/js/jquery.tagsinput.min.js",
2018-02-03 21:08:30 -07:00
"static/js/editlist.js"
],
],
2018-05-21 18:06:04 -06:00
"send" => [
"title" => "send",
"navbar" => false,
"icon" => "fas fa-paper-plane",
"scripts" => [
"static/js/snarkdown.umd.js",
"static/js/send.js"
]
],
2017-04-24 17:13:08 -06:00
"404" => [
"title" => "404 error"
]
2017-11-29 21:42:45 -07:00
]);