Burathar
4 years ago
11 changed files with 100 additions and 53 deletions
@ -0,0 +1,23 @@
@@ -0,0 +1,23 @@
|
||||
{% extends "base.html" %} |
||||
{% import 'bootstrap/wtf.html' as wtf %} |
||||
|
||||
{% block app_content %} |
||||
|
||||
<div class="row"> |
||||
<div class="col-xs-0 col-md-1"></div> |
||||
<div class="col-xs-8 col-md-4"> |
||||
<h1>Sign In</h1> |
||||
<br> |
||||
<form action="" method="post" class="form" role="form"> |
||||
{{ form.hidden_tag() }} |
||||
{{ wtf.form_field(form.username) }} |
||||
{{ wtf.form_field(form.password) }} |
||||
{{ wtf.form_field(form.remember_me) }} |
||||
{{ wtf.form_field(form.submit, class='btn btn-primary') }} |
||||
</form> |
||||
<br> |
||||
<p>New User? <a href="{{ url_for('register') }}">Click to Register!</a></p> |
||||
</div> |
||||
<div class="col-xs-0 col-md-7"></div> |
||||
</div> |
||||
{% endblock %} |
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
{% extends "base.html" %} |
||||
{% import 'bootstrap/wtf.html' as wtf %} |
||||
|
||||
{% block app_content %} |
||||
<div class="row"> |
||||
<div class="col-xs-0 col-md-1"></div> |
||||
<div class="col-xs-8 col-md-4"> |
||||
<h1>Register</h1> |
||||
{{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} |
||||
<br> |
||||
<p>Already have an account? <a href="{{ url_for('login') }}">Click to Sign In!</a></p> |
||||
</div> |
||||
<div class="col-xs-0 col-md-7"></div> |
||||
</div> |
||||
{% endblock %} |
Loading…
Reference in new issue