diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-18 16:57:31 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-18 16:57:31 +0000 |
| commit | a3184c5d142848b5147811ed246e39545e978805 (patch) | |
| tree | c3b1d0e87dcbc2c8aad3ed531c81f9bc4117a992 /app/templates/auth | |
| parent | use bootstrap (diff) | |
| download | AnnotateChange-a3184c5d142848b5147811ed246e39545e978805.tar.gz AnnotateChange-a3184c5d142848b5147811ed246e39545e978805.zip | |
refactor
Diffstat (limited to 'app/templates/auth')
| -rw-r--r-- | app/templates/auth/login.html | 16 | ||||
| -rw-r--r-- | app/templates/auth/register.html | 11 | ||||
| -rw-r--r-- | app/templates/auth/reset_password.html | 11 | ||||
| -rw-r--r-- | app/templates/auth/reset_password_request.html | 11 |
4 files changed, 49 insertions, 0 deletions
diff --git a/app/templates/auth/login.html b/app/templates/auth/login.html new file mode 100644 index 0000000..27268b2 --- /dev/null +++ b/app/templates/auth/login.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} +{% import 'bootstrap/wtf.html' as wtf %} + +{% block app_content %} +<h1>Sign In</h1> +<div class="row"> + <div class="col-md-4"> + {{ wtf.quick_form(form) }} + </div> +</div> +<p>New User? <a href="{{ url_for('auth.register') }}">Click to Register!</a></p> +<p> +Forgot your password? +<a href="{{ url_for('auth.reset_password_request') }}">Click here to reset it</a> +</p> +{% endblock %} diff --git a/app/templates/auth/register.html b/app/templates/auth/register.html new file mode 100644 index 0000000..c430b38 --- /dev/null +++ b/app/templates/auth/register.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% import 'bootstrap/wtf.html' as wtf %} + +{% block app_content %} +<h1>Register</h1> +<div class="row"> + <div class="col-md-4"> + {{ wtf.quick_form(form) }} + </div> +</div> +{% endblock %} diff --git a/app/templates/auth/reset_password.html b/app/templates/auth/reset_password.html new file mode 100644 index 0000000..cab00c9 --- /dev/null +++ b/app/templates/auth/reset_password.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% import 'bootstrap/wtf.html' as wtf %} + +{% block app_content %} +<h1>Reset Your Password</h1> +<div class="row"> + <div class="col-md-4"> + {{ wtf.quick_form(form) }} + </div> +</div> +{% endblock %} diff --git a/app/templates/auth/reset_password_request.html b/app/templates/auth/reset_password_request.html new file mode 100644 index 0000000..c516141 --- /dev/null +++ b/app/templates/auth/reset_password_request.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% import 'bootstrap/wtf.html' as wtf %} + +{% block app_content %} +<h1>Reset Password</h1> +<div class="row"> + <div class="col-md-4"> + {{ wtf.quick_form(form) }} + </div> +</div> +{% endblock %} |
