aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorzsloan2024-10-25 16:16:04 +0000
committerzsloan2024-10-25 16:16:04 +0000
commit095a3dcdc799163c0b8af3bac9c0819b5adeb879 (patch)
tree6b5d54114947e175133519b52a414c18955a1592 /gn2
parent05eab16f9e034d99bf74a224eb55b5856a4e7e15 (diff)
downloadgenenetwork2-095a3dcdc799163c0b8af3bac9c0819b5adeb879.tar.gz
Change the way the flash_me functions such that there's no margin
flash_me handles displaying various notifications and error messages (like when you log out, or when you token expires)
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/templates/base_macro.html8
-rwxr-xr-xgn2/wqflask/templates/index_page.html2
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">