summaryrefslogtreecommitdiffstats
path: root/nfsw/templates/register.html
blob: 1c9c27c64570c65556ae51f9460f9e3e79f01b0c (plain) (blame)
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
43
44
45
46
47
48
49

{% extends 'base.html' %}

{% block title %}Register{% endblock %}

{% block content %}

<div  class="auth-grid">
    <div class="auth-grid-item">
        <header>
            <h1>NFSW - Register</h1>
        </header>

        <div class="msg-block">
            <div class="content">
                {% for m in get_flashed_messages() %}
                <p>{{ m }}</p>
                {% endfor %}
            </div>
        </div>

        <form method="post">
            <div class="form-group">
                <label for="username">Username</label>
                <input type="text" id="username"
                       name="username" class="username" required>
            </div>

            <div class="form-group">
                <label for="password">Password</label>
                <input type="password" id="password"
                       name="password" class="password" required>
            </div>

            <div class="button-group">
                <input type="submit" value="Register">
            </div>

            <div class="button-group">
                <div class="back"><a href="/">&#11013;</a></div>
            </div>
        </form>
    </div>
</div>
{% endblock %}

{% block css %}
<link rel="stylesheet" href="{{ url_for('static', filename='auth.css') }}">
{% endblock %}