batman
This commit is contained in:
commit
acb3c7642a
23 changed files with 3940 additions and 0 deletions
42
app/templates/auth/login.html
Normal file
42
app/templates/auth/login.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Sign In - Flask Files{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="auth-container">
|
||||
<h2>Sign In</h2>
|
||||
|
||||
<form method="POST" action="{{ url_for('auth.login') }}" class="auth-form">
|
||||
{{ form.hidden_tag() }}
|
||||
|
||||
<div class="form-group">
|
||||
{{ form.username.label }}
|
||||
{{ form.username(size=32, class="form-control") }}
|
||||
{% for error in form.username.errors %}
|
||||
<span class="error">{{ error }}</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{{ form.password.label }}
|
||||
{{ form.password(size=32, class="form-control") }}
|
||||
{% for error in form.password.errors %}
|
||||
<span class="error">{{ error }}</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="form-group checkbox">
|
||||
{{ form.remember_me() }}
|
||||
{{ form.remember_me.label }}
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
{{ form.submit(class="btn primary") }}
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="auth-links">
|
||||
<p>Don't have an account? <a href="{{ url_for('auth.register') }}">Register here</a></p>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue