aboutsummaryrefslogtreecommitdiff
path: root/newspipe/templates/layout.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-12 17:26:00 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-12 17:26:00 +0100
commitcdb9f2471046fde78765a293985b47ead815c633 (patch)
tree74d1623a966448f3d3aa510127b63b6373401c34 /newspipe/templates/layout.html
parentget the search param filters (diff)
downloadnewspipe-cdb9f2471046fde78765a293985b47ead815c633.tar.gz
newspipe-cdb9f2471046fde78765a293985b47ead815c633.tar.bz2
newspipe-cdb9f2471046fde78765a293985b47ead815c633.zip
Improved login form.
Diffstat (limited to 'newspipe/templates/layout.html')
-rw-r--r--newspipe/templates/layout.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/newspipe/templates/layout.html b/newspipe/templates/layout.html
index b40b540c..459727de 100644
--- a/newspipe/templates/layout.html
+++ b/newspipe/templates/layout.html
@@ -120,12 +120,16 @@
{% block messages %}
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
- {% for category, message in messages %}
- <div class="alert alert-{{category}}">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- {{ message }}
+ <div class="row justify-content-center">
+ <div class="col-6">
+ {% for category, message in messages %}
+ <div class="alert alert-{{category}}">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ {{ message }}
+ </div>
+ {% endfor %}
</div>
- {% endfor %}
+ </div>
{% endif %}
{% endwith %}
{% endblock %}
bgstack15