Fix login width
This commit is contained in:
parent
6c4d549c0a
commit
d3564a6ba5
|
@ -4,12 +4,9 @@
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<main>
|
<main>
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<section class="section register min-vh-100 d-flex flex-column align-items-center justify-content-center py-4">
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-lg-4 col-md-6 d-flex flex-column align-items-center justify-content-center">
|
<div class="d-flex max-vh-100 flex-column align-items-center" style="max-width: 400px;">
|
||||||
|
|
||||||
<div class="d-flex justify-content-center py-4">
|
<div class="d-flex justify-content-center py-4">
|
||||||
<a href="{{ url_for('core.login') }}" class="logo d-flex align-items-center w-auto">
|
<a href="{{ url_for('core.login') }}" class="logo d-flex align-items-center w-auto">
|
||||||
|
@ -27,7 +24,7 @@
|
||||||
{% if form.form_errors %}
|
{% if form.form_errors %}
|
||||||
<p class="text-danger">
|
<p class="text-danger">
|
||||||
{% for error in form.form_errors %}
|
{% for error in form.form_errors %}
|
||||||
{{ error }}<br/>
|
{{ error }}<br />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -38,7 +35,8 @@
|
||||||
|
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<label for="yourEmail" class="form-label">Email</label>
|
<label for="yourEmail" class="form-label">Email</label>
|
||||||
<input type="email" name="email" class="form-control" id="yourEmail" required value="{{ form.email.data|default('', true) }}">
|
<input type="email" name="email" class="form-control" id="yourEmail" required
|
||||||
|
value="{{ form.email.data|default('', true) }}">
|
||||||
<div class="invalid-feedback">Please enter your email.</div>
|
<div class="invalid-feedback">Please enter your email.</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -78,9 +76,5 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</main><!-- End #main -->
|
</main><!-- End #main -->
|
||||||
{% endblock body %}
|
{% endblock body %}
|
Reference in New Issue