diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-24 15:38:16 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-24 15:38:16 +0200 |
commit | 529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105 (patch) | |
tree | 8a50c30271b9b328cde0d907b1441f2dabdc341b /Neutron-trunk/cms-special/admin-v2/home | |
parent | 15e4724761c50b30803df1811a525c85058f70bf (diff) | |
download | electrode-529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105.tar.gz electrode-529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105.tar.bz2 electrode-529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105.zip |
Update
Diffstat (limited to 'Neutron-trunk/cms-special/admin-v2/home')
6 files changed, 339 insertions, 0 deletions
diff --git a/Neutron-trunk/cms-special/admin-v2/home/all/db.json b/Neutron-trunk/cms-special/admin-v2/home/all/db.json new file mode 100644 index 0000000..8a6ad37 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/home/all/db.json @@ -0,0 +1,178 @@ +[ + { + "name": "pages", + "id": 0, + "icon": "insert_drive_file", + "items": [ + { + "name": "list", + "id": 0, + "icon": "list_alt", + "page": "pages" + }, + { + "name": "create", + "id": 1, + "icon": "add", + "page": "pages/add" + } + ] + }, + { + "name": "gallery", + "id": 1, + "icon": "photo", + "items": [ + { + "name": "list", + "id": 2, + "icon": "photo_library", + "page": "gallery" + }, + { + "name": "add", + "id": 3, + "icon": "add_photo_alternate", + "page": "gallery/publish" + }, + { + "name": "category", + "id": 4, + "icon": "local_offer", + "page": "gallery/addcategory" + }, + { + "name": "userspace", + "id": 5, + "icon": "image_search", + "page": "../gallery" + } + ] + }, + { + "name": "calendar", + "id": 2, + "icon": "event", + "items": [ + { + "name": "all", + "id": 6, + "icon": "event", + "page": "calendar" + }, + { + "name": "create", + "id": 7, + "icon": "event_available", + "page": "calendar/add" + }, + { + "name": "userspace", + "id": 8, + "icon": "event_note", + "page": "../calendar" + } + ] + }, + { + "name": "plugins", + "id": 3, + "icon": "extension", + "items": [ + { + "name": "all", + "id": 9, + "icon": "extension", + "page": "plugins" + } + ] + }, + { + "name": "technical", + "id": 4, + "icon": "build_circle", + "items": [ + { + "name": "all", + "id": 12, + "icon": "engineering", + "page": "advanced" + }, + { + "name": "advanced", + "id": 13, + "icon": "build_circle", + "page": "advanced/jsonconf" + } + ] + }, + { + "name": "data", + "id": 5, + "icon": "pie_chart", + "items": [ + { + "name": "reset", + "id": 15, + "icon": "delete", + "page": "reset" + }, + { + "name": "stats", + "id": 16, + "icon": "pie_chart", + "page": "stats" + }, + { + "name": "logs", + "id": 17, + "icon": "subject", + "page": "logs" + } + ] + }, + { + "name": "updates", + "id": 6, + "icon": "cloud_download", + "items": [ + { + "name": "info", + "id": 19, + "icon": "info", + "page": "about" + } + ] + }, + { + "name": "apparence", + "id": 7, + "icon": "brush", + "items": [ + { + "name": "general", + "id": 22, + "icon": "brush", + "page": "appearance" + }, + { + "name": "theme", + "id": 23, + "icon": "palette", + "page": "customization" + }, + { + "name": "language", + "id": 26, + "icon": "language", + "page": "language" + }, + { + "name": "flags", + "id": 27, + "icon": "flag", + "page": "flags" + } + ] + } +] diff --git a/Neutron-trunk/cms-special/admin-v2/home/all/index.php b/Neutron-trunk/cms-special/admin-v2/home/all/index.php new file mode 100644 index 0000000..f844070 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/home/all/index.php @@ -0,0 +1,4 @@ +<?php require_once "../../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?> +<?php + +header("Location: {$GLOBALS["SYSTEM_ROOT"]}/cms-special/admin/home");
\ No newline at end of file diff --git a/Neutron-trunk/cms-special/admin-v2/home/appearance/index.php b/Neutron-trunk/cms-special/admin-v2/home/appearance/index.php new file mode 100644 index 0000000..318611a --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/home/appearance/index.php @@ -0,0 +1,45 @@ +<?php require_once "../../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?> +<?php + +$pageConfig = [ "domName" => "Tableau de bord", "headerName" => "Tableau de bord" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?> +<div style="text-align: center;"> + <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home" class="mdc-button mdc-button--outlined"> + <div class="mdc-button__ripple"></div> + <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">arrow_back</i> + <span class="mdc-button__label"><?= $lang["admin-home"]["items"][7] ?></span> + </a> + + <h1><?= $lang["admin-home"]["appearance"]['greeting'] ?></h1> + + <div id="home-grid"> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["appearance"]['items'][0] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/appearance" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">tour</a> + <br> + <?= $lang["admin-home"]["appearance"]['items'][0] ?> + </div> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["appearance"]['items'][1] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/customization" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">palette</a> + <br> + <?= $lang["admin-home"]["appearance"]['items'][1] ?> + </div> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["appearance"]['items'][3] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/language" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">language</a> + <br> + <?= $lang["admin-home"]["appearance"]['items'][3] ?> + </div> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["appearance"]['items'][4] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/plugins" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">extension</a> + <br> + <?= $lang["admin-home"]["appearance"]['items'][4] ?> + </div> + <?php /** @var boolean $__electrode */ + if (!isset($__electrode) || !$__electrode): ?> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["appearance"]['items'][5] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/flags" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">flag</a> + <br> + <?= $lang["admin-home"]["appearance"]['items'][5] ?> + </div> + <?php endif; ?> + </div> +</div> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/postcontent.php"; ?>
\ No newline at end of file diff --git a/Neutron-trunk/cms-special/admin-v2/home/data/index.php b/Neutron-trunk/cms-special/admin-v2/home/data/index.php new file mode 100644 index 0000000..29205dc --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/home/data/index.php @@ -0,0 +1,27 @@ +<?php require_once "../../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?> +<?php + +$pageConfig = [ "domName" => "Tableau de bord", "headerName" => "Tableau de bord" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?> +<div style="text-align: center;"> + <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home" class="mdc-button mdc-button--outlined"> + <div class="mdc-button__ripple"></div> + <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">arrow_back</i> + <span class="mdc-button__label"><?= $lang["admin-home"]["items"][7] ?></span> + </a> + + <h1><?= $lang["admin-home"]["data"]['greeting'] ?></h1> + + <div id="home-grid"> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["data"]['items'][0] ?>" id="home-grid-item-data" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/stats" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">pie_chart</a> + <br> + <?= $lang["admin-home"]["data"]['items'][0] ?> + </div> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["data"]['items'][1] ?>" id="home-grid-item-data" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/logs" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">text_snippet</a> + <br> + <?= $lang["admin-home"]["data"]['items'][1] ?> + </div> + </div> +</div> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/postcontent.php"; ?>
\ No newline at end of file diff --git a/Neutron-trunk/cms-special/admin-v2/home/housekeeping/index.php b/Neutron-trunk/cms-special/admin-v2/home/housekeeping/index.php new file mode 100644 index 0000000..8c0deae --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/home/housekeeping/index.php @@ -0,0 +1,27 @@ +<?php require_once "../../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?> +<?php + +$pageConfig = [ "domName" => "Tableau de bord", "headerName" => "Tableau de bord" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?> +<div style="text-align: center;"> + <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home" class="mdc-button mdc-button--outlined"> + <div class="mdc-button__ripple"></div> + <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">arrow_back</i> + <span class="mdc-button__label"><?= $lang["admin-home"]["items"][7] ?></span> + </a> + + <h1><?= $lang["admin-home"]["housekeeping"]['greeting'] ?></h1> + + <div id="home-grid"> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["housekeeping"]['items'][0] ?>" id="home-grid-item-housekeeping" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/reset" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">restore</a> + <br> + <?= $lang["admin-home"]["housekeeping"]['items'][0] ?> + </div> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["housekeeping"]['items'][1] ?>" id="home-grid-item-housekeeping" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/about" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">info</a> + <br> + <?= $lang["admin-home"]["housekeeping"]['items'][1] ?> + </div> + </div> +</div> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/postcontent.php"; ?>
\ No newline at end of file diff --git a/Neutron-trunk/cms-special/admin-v2/home/index.php b/Neutron-trunk/cms-special/admin-v2/home/index.php new file mode 100644 index 0000000..327ab36 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/home/index.php @@ -0,0 +1,58 @@ +<?php require_once "../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?> +<?php + +$pageConfig = [ "domName" => "Tableau de bord", "headerName" => "Tableau de bord" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?> +<div style="text-align: center;"> + <a title="<?= $lang["admin-home"]["language"] ?>/Switch Language" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/language" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button" id="language-selector">translate</a> + + <h1><?= $lang["admin-home"]["greeting"] ?></h1> + + <div id="home-grid"> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["items"][0] ?>" id="home-grid-item-pages" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/pages" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">layers</a> + <br> + <?= $lang["admin-home"]["items"][0] ?> + </div> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["items"][1] ?>" id="home-grid-item-calendar" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/calendar" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">event_note</a><br> + <?= $lang["admin-home"]["items"][1] ?> + </div> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["items"][2] ?>" id="home-grid-item-gallery" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/gallery" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">photo</a><br> + <?= $lang["admin-home"]["items"][2] ?> + </div> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["items"][3] ?>" id="home-grid-item-appearance" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home/appearance" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">brush</a><br> + <?= $lang["admin-home"]["items"][3] ?> + </div> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["items"][4] ?>" id="home-grid-item-data" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home/data" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">dns</a><br> + <?= $lang["admin-home"]["items"][4] ?> + </div> + <div class="home-grid-item"> + <a title="<?= $lang["admin-home"]["items"][5] ?>" id="home-grid-item-housekeeping" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/home/housekeeping" class="material-icons-outlined mdc-top-app-bar__navigation-icon mdc-icon-button home-grid-item-button">cleaning_services</a><br> + <?= $lang["admin-home"]["items"][5] ?> + </div> + </div> + + <br> + + <a onclick="document.getElementsByTagName('spotlight-bar')[0].show()" class="mdc-button mdc-button--outlined"> + <div class="mdc-button__ripple"></div> + <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">settings</i> + <span class="mdc-button__label"><?= $lang["admin-home"]["items"][6] ?></span> + </a> + + <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/logout" class="mdc-button mdc-button--outlined"> + <div class="mdc-button__ripple"></div> + <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">power_settings_new</i> + <span class="mdc-button__label"><?= $lang["admin-home"]["items"][8] ?></span> + </a> + + <a href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/?source=admin" target="_blank" class="mdc-button mdc-button--outlined"> + <div class="mdc-button__ripple"></div> + <i class="material-icons-outlined mdc-button__icon" aria-hidden="true">public</i> + <span class="mdc-button__label"><?= $lang["admin-home"]["items"][9] ?></span> + </a> +</div> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/postcontent.php"; ?> |