diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-05-21 22:42:02 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-05-21 22:42:02 +0100 |
| commit | 5b056e8aabe9e6a8e003cbd24ed71e8a0f9de6ed (patch) | |
| tree | 46ca3d91fc9a769495eab9265789be8ea9d1e531 /app/templates/flask_user | |
| parent | 4841c66602b0fdc35a78d6335583fd1d8f3e1dad (diff) | |
| download | cheatdb-5b056e8aabe9e6a8e003cbd24ed71e8a0f9de6ed.tar.xz | |
Fix .box spacing issues
Diffstat (limited to 'app/templates/flask_user')
| -rw-r--r-- | app/templates/flask_user/login.html | 29 | ||||
| -rw-r--r-- | app/templates/flask_user/public_base.html | 1 |
2 files changed, 15 insertions, 15 deletions
diff --git a/app/templates/flask_user/login.html b/app/templates/flask_user/login.html index 24ea95e..29f457d 100644 --- a/app/templates/flask_user/login.html +++ b/app/templates/flask_user/login.html @@ -10,7 +10,7 @@ Sign in {% from "flask_user/_macros.html" import render_field, render_checkbox_field, render_submit_field %} <h2>{%trans%}Sign in{%endtrans%}</h2> - <form action="" method="POST" class="form" role="form" class="box-body"> + <form action="" method="POST" class="form box-body" role="form"> <a href="{{ url_for('github_signin_page') }}">GitHub</a> @@ -46,25 +46,24 @@ Sign in <a href="{{ url_for('user.forgot_password') }}" tabindex='195'> {%trans%}Forgot your Password?{%endtrans%}</a> {% endif %} - </div> </div> - {{ field(class_='form-control', tabindex=120) }} - {% if field.errors %} - {% for e in field.errors %} - <p class="help-block">{{ e }}</p> - {% endfor %} - {% endif %} </div> - - {# Remember me #} - {% if user_manager.enable_remember_me %} - {{ render_checkbox_field(login_form.remember_me, tabindex=130) }} + {{ field(class_='form-control', tabindex=120) }} + {% if field.errors %} + {% for e in field.errors %} + <p class="help-block">{{ e }}</p> + {% endfor %} {% endif %} + </div> - {# Submit button #} - {{ render_submit_field(form.submit, tabindex=180) }} - </form> + {# Remember me #} + {% if user_manager.enable_remember_me %} + {{ render_checkbox_field(login_form.remember_me, tabindex=130) }} + {% endif %} + {# Submit button #} + {{ render_submit_field(form.submit, tabindex=180) }} + </form> </div> <div class="right"> diff --git a/app/templates/flask_user/public_base.html b/app/templates/flask_user/public_base.html index 3db49fe..60cafee 100644 --- a/app/templates/flask_user/public_base.html +++ b/app/templates/flask_user/public_base.html @@ -3,6 +3,7 @@ {% block container %} <main> <div class="box box_grey"> + <!-- <h2>{{ self.title() }}</h2> --> <div class="box-body"> {% block content %} {% endblock %} |
