~cedric/newspipe

ref: 3ab30e029adedbd7e652552c6da1eafbeadb40cd newspipe/newspipe/templates/login.html -rw-r--r-- 1.2 KiB
3ab30e02Cédric Bonhomme chg: [ui] improved article_pub template. 1 year, 3 months ago
                                                                                
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
{% extends "layout.html" %}
{% block content %}
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <h2>{{ _('Log In') }}</h2>
            <form action="{{ url_for('login') }}" method=post>
                {{ form.hidden_tag() }}
                <div class="input-group mb-3">
                {{ form.nickmane(class_="form-control", placeholder=_('Your nickname')) }}
                </div>
                {% for message in form.nickmane.errors %}
                    <div class="alert alert-warning" role="alert">{{ message }}</div>
                {% endfor %}
                <div class="input-group mb-3">
                {{ form.password(class_="form-control", placeholder=_('Your Password')) }}
                </div>
                {% for message in form.password.errors %}
                    <div class="alert alert-warning" role="alert">{{ message }}</div>
                {% endfor %}
                {{ form.submit(class_="btn btn-primary") }}
                <a href="/signup" class="btn btn-info">{{ _('Sign up') }}</a>
            </form>
        </div>
    </div>
</div><!-- /.container -->
{% endblock %}