summaryrefslogtreecommitdiff
path: root/pages/login.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-08-26 22:29:23 +0200
committerMinteck <contact@minteck.org>2022-08-26 22:29:23 +0200
commit09bd0164ebc020a54b944b7326dcba496fb5d82c (patch)
tree0c5e765e627ecc94e534ccb6e2bc83917d58dc4c /pages/login.php
parenta2df9a69dcc14cb70118cda2ded499055e7ee358 (diff)
downloadpluralconnect-09bd0164ebc020a54b944b7326dcba496fb5d82c.tar.gz
pluralconnect-09bd0164ebc020a54b944b7326dcba496fb5d82c.tar.bz2
pluralconnect-09bd0164ebc020a54b944b7326dcba496fb5d82c.zip
idk when was the last commit so I'm making a new one - Violet Dawn
Diffstat (limited to 'pages/login.php')
-rw-r--r--pages/login.php42
1 files changed, 41 insertions, 1 deletions
diff --git a/pages/login.php b/pages/login.php
index a6f075f..8611f5f 100644
--- a/pages/login.php
+++ b/pages/login.php
@@ -1,2 +1,42 @@
<?php
-header("Location: /Authentication/Start") and die(); \ No newline at end of file
+
+$title = "Login"; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php';
+
+?>
+
+<br>
+<div class="container">
+ <div>
+ <h2>Login</h2>
+ <?php global $isLoggedIn; if ($isLoggedIn): ?>
+ <div class="alert alert-warning">
+ <b>You are already logged in.</b> If you want to login to a different account or using a different authentication method, you may do so now.
+ </div>
+ <?php endif; ?>
+ <p>Select how you want to log into Cold Haze.</p>
+ <div class="row">
+ <div class="col-md-6">
+ <div class="card" style="margin-bottom:10px;text-align: center;">
+ <div class="card-body">
+ <img src="https://git.equestria.dev/equestria.dev/design/raw/branch/mane/logo/dark/banner.svg" style="height:48px;" alt="">
+ <h4 class="card-title" style="margin-top:15px;">Equestria.dev Private Authentication</h4>
+ <p>For website administrators, allows to change content and access private information.</p>
+ <a href="/Authentication/Start" class="btn btn-primary">Continue</a>
+ </div>
+ </div>
+ </div>
+ <div class="col-md-6">
+ <div class="card" style="margin-bottom:10px;text-align: center;">
+ <div class="card-body">
+ <img src="https://equestria.horse/assets/favicon.png" style="height:48px;" alt=""><img src="/assets/logo/gitlab.svg" style="height:48px;margin-left:15px;" alt=""><img src="/assets/logo/github.svg" style="height:48px;margin-left:15px;" alt="">
+ <h4 class="card-title" style="margin-top:15px;">Equestria.horse/GitLab/GitHub</h4>
+ <p>For website users, allows to view more content, ask questions, and set notes for members.</p>
+ <a href="#" class="btn btn-primary disabled">Continue</a>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+
+<?php require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php'; ?>