summaryrefslogtreecommitdiff
path: root/jimbrella/templates/auth.html
blob: 9fb1e14d368ba6b735f748d101306c3b5e168608 (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
<!DOCTYPE html>
<html>
    <head>
        <title>JI Umbrella</title>
        <link rel="stylesheet" href="/static/jimbrella.css" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
    </head>
    <body>
        {% if action == "login" %}
        <h1>Login to JI Umbrella</h1>
        {% else %}
        <h1>Register for JI Umbrella</h1>
        {% endif %}

        <div id="container">
            {% include "admin/tabs.html" %}
            <div class="banner-container">
            {% if error %}
                <div class="banner error">{{ error }}</div>
            {% endif %}
                <form method="post" action="/{{ action }}">
                    <input name="username" placeholder="Username" /> <br />
                    <input name="password" type="password" placeholder="Password" /> <br />
                    <input type="submit" value="{{ action|capitalize }}" />
                </form>
            </div>
        </div>
    </body>
</html>