diff options
Diffstat (limited to 'admin/panes/denied.php')
-rw-r--r-- | admin/panes/denied.php | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/admin/panes/denied.php b/admin/panes/denied.php deleted file mode 100644 index 9a29fcb..0000000 --- a/admin/panes/denied.php +++ /dev/null @@ -1,62 +0,0 @@ -<?php require $_SERVER['DOCUMENT_ROOT'] . "/admin/private/header.php";/** @var array $_DATA */ ?>
-
-<style>
- ::-webkit-scrollbar {
- width: 5px;
- }
-
- ::-webkit-scrollbar-track {
- border-radius: 9999px;
- background: transparent;
- }
-
- ::-webkit-scrollbar-thumb {
- border-radius: 9999px;
- background-color: rgba(136, 136, 136, 0.5);
- transition: background 200ms;
- }
-
- ::-webkit-scrollbar-thumb:hover {
- background-color: rgba(85, 85, 85, 0.75);
- }
-
- ::-webkit-scrollbar-thumb:active {
- background-color: #222;
- }
-
- .list-group-item {
- background: #34373c;
- }
-
- body {
- background: #5f1b1b !important;
- }
-</style>
-
-<div class="container" style="color:white;padding-top:15vh;padding-bottom:15vh;display: flex;align-items:center;justify-content: center;height:100%;">
- <div>
- <p style="text-align: center;">
- <!--suppress CheckImageSize -->
- <img src="/static/admin/locked.svg" style="width:96px;filter:invert(1);">
- </p>
- <br>
- <h2 style="text-align:center;"><?= l("Access is denied", "Accès refusé") ?></h2>
-
- <h4 style="text-align:center;"><?= l("You don't have the", "Vous ne disposez pas de la permission") ?> <code>admin.<?= strip_tags($_GET['_'] ?? "*") ?></code><?= l(" permission, which is required to access this resource", ", qui est nécessaire pour accéder à ce contenu") ?>.</h4><br>
-
- <div id="homebtn" style="text-align: center;width:max-content;margin-left:auto;margin-right:auto;">
- <p class="btn-group">
- <a onclick="window.parent.activity('activity-home', '/admin/panes/home.php', window.parent.document.getElementById('activity-home'));" class="btn btn-outline-light"><?= l("Home", "Accueil") ?></a>
- </p>
- </div>
- <script>
- if (window.parent === window) document.getElementById("homebtn").style.display = "none";
- </script>
-
- <small><p style="text-align: center;">
- <?= l("If you believe this is an error", "Si vous pensez qu'il s'agit d'une erreur") ?>, <a href="/contact" target="_blank"><?= l("contact Minteck", "contactez Minteck") ?></a>
- </p></small>
- </div>
-</div>
-
-<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/admin/private/footer.php"; ?>
\ No newline at end of file |