diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-12 17:26:00 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-12 17:26:00 +0100 |
commit | cdb9f2471046fde78765a293985b47ead815c633 (patch) | |
tree | 74d1623a966448f3d3aa510127b63b6373401c34 /newspipe/templates/layout.html | |
parent | get the search param filters (diff) | |
download | newspipe-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.html | 14 |
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">×</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">×</button> + {{ message }} + </div> + {% endfor %} </div> - {% endfor %} + </div> {% endif %} {% endwith %} {% endblock %} |