diff --git a/app/static/css/scodoc.css b/app/static/css/scodoc.css
index 18b80a8b..0648fa52 100644
--- a/app/static/css/scodoc.css
+++ b/app/static/css/scodoc.css
@@ -64,11 +64,22 @@ div#gtrcontent {
display: None;
}
+div.flashes {
+ transition: opacity 0.5s ease;
+ margin-top: 8px;
+ left: 50%;
+ position: fixed;
+ top: 8px;
+ transform: translateX(-50%);
+ width: auto;
+ z-index: 1000;
+}
+
div.alert {
- z-index: 9;
+ /*
position: absolute;
top: 10px;
- right: 10px;
+ right: 10px; */
}
div.alert-info {
diff --git a/app/templates/base.j2 b/app/templates/base.j2
index 19388ebc..a496c4c5 100644
--- a/app/templates/base.j2
+++ b/app/templates/base.j2
@@ -63,12 +63,7 @@
{% block content %}
- {% with messages = get_flashed_messages(with_categories=true) %}
- {% for category, message in messages %}
-
{{ message }}
- {% endfor %}
- {% endwith %}
-
+ {% include "flashed_messages.j2" %}
{# application content needs to be provided in the app_content block #}
{% block app_content %}{% endblock %}
diff --git a/app/templates/but/bulletin.j2 b/app/templates/but/bulletin.j2
index 1efd03d0..ddf337b3 100644
--- a/app/templates/but/bulletin.j2
+++ b/app/templates/but/bulletin.j2
@@ -10,7 +10,7 @@
{% include 'bul_head.j2' %}
-
+
{% include 'bul_foot.j2' %}
diff --git a/app/templates/but/refcomp_show.j2 b/app/templates/but/refcomp_show.j2
index d06f8cad..5b69da1f 100644
--- a/app/templates/but/refcomp_show.j2
+++ b/app/templates/but/refcomp_show.j2
@@ -2,7 +2,7 @@
{% extends "sco_page.j2" %}
{% block styles %}
{{super()}}
-
+
{% endblock %}
{% block app_content %}
@@ -19,7 +19,7 @@
-
+
{% include "but/refcomp_parcours_niveaux.j2" %}
diff --git a/app/templates/sco_page.j2 b/app/templates/sco_page.j2
index a6e200d6..cb3ec8b2 100644
--- a/app/templates/sco_page.j2
+++ b/app/templates/sco_page.j2
@@ -4,14 +4,14 @@
{% block styles %}
{{super()}}
-
-
-
-
+ href="{{scu.STATIC_DIR}}/libjs/jquery-ui-1.10.4.custom/css/smoothness/jquery-ui-1.10.4.custom.min.css" />
+
+
+
+
{#
- #}
-
+ #}
+
{% endblock %}
{% block title %}
@@ -41,16 +41,16 @@
{{ super() }}
{{ moment.include_moment() }}
{{ moment.lang(g.locale) }}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+