summaryrefslogtreecommitdiff
path: root/app/emergency/index.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-08-21 17:31:56 +0200
committerMinteck <contact@minteck.org>2022-08-21 17:31:56 +0200
commita2df9a69dcc14cb70118cda2ded499055e7ee358 (patch)
tree6dd283e4e9452d38bce81ddaaae49b5335755842 /app/emergency/index.php
parent84dd0735820b16b60f600284d35183d76547a71f (diff)
downloadpluralconnect-a2df9a69dcc14cb70118cda2ded499055e7ee358.tar.gz
pluralconnect-a2df9a69dcc14cb70118cda2ded499055e7ee358.tar.bz2
pluralconnect-a2df9a69dcc14cb70118cda2ded499055e7ee358.zip
m. update
Diffstat (limited to 'app/emergency/index.php')
-rw-r--r--app/emergency/index.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/app/emergency/index.php b/app/emergency/index.php
new file mode 100644
index 0000000..395f0d9
--- /dev/null
+++ b/app/emergency/index.php
@@ -0,0 +1,32 @@
+<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn; if (!$isLoggedIn) header("Location: /login") and die(); ?>
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Emergency</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
+ <style>
+ body {
+ background-color: black !important;
+ color: white;
+ }
+
+ .alert, .alert .btn, .alert code {
+ filter: hue-rotate(180deg);
+ }
+
+ .alert {
+ filter: invert(1) hue-rotate(180deg);
+ }
+ </style>
+</head>
+<body>
+ <div class="container">
+ <br>
+ <?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/emergency.php"; ?>
+ </div>
+</body>
+</html> \ No newline at end of file