diff options
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/templates/base_macro.html | 8 | ||||
-rwxr-xr-x | gn2/wqflask/templates/index_page.html | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/gn2/wqflask/templates/base_macro.html b/gn2/wqflask/templates/base_macro.html index 7fcb6fe7..4cb8e1b7 100644 --- a/gn2/wqflask/templates/base_macro.html +++ b/gn2/wqflask/templates/base_macro.html @@ -1,11 +1,9 @@ {% macro flash_me() -%} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} - <div class="container"> - {% for category, message in messages %} - <div class="alert {{ category }}" role="alert">{{ message }}</div> - {% endfor %} - </div> + {% for category, message in messages %} + <div class="alert {{ category }}" role="alert">{{ message }}</div> + {% endfor %} {% endif %} {% endwith %} {% endmacro %} diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html index bacf7557..3fdfee60 100755 --- a/gn2/wqflask/templates/index_page.html +++ b/gn2/wqflask/templates/index_page.html @@ -61,8 +61,8 @@ {% include "gsearch.html" %} {% endblock %} {% block content %} +{{ flash_me() }} <div class="container-fluid" style="min-width: 1210px;"> - {{ flash_me() }} {% if anon_collections | length > 0 %} <div class="panel panel-warning"> <div class="panel-heading"> |