summaryrefslogtreecommitdiff
path: root/pages/login.php
blob: 8611f5fec176e062bf3d7a67b08c214113f06ad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php

$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'; ?>