forked from ScoDoc/ScoDoc
flashed messages
This commit is contained in:
parent
d79f376b24
commit
f555122989
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
{{super()}}
|
{{super()}}
|
||||||
<link type="text/css" rel="stylesheet" href="/ScoDoc/static/libjs/jquery-ui-1.10.4.custom/css/smoothness/jquery-ui-1.10.4.custom.min.css" />
|
<link type="text/css" rel="stylesheet"
|
||||||
|
href="/ScoDoc/static/libjs/jquery-ui-1.10.4.custom/css/smoothness/jquery-ui-1.10.4.custom.min.css" />
|
||||||
<link rel="stylesheet" href="/ScoDoc/static/css/scodoc.css">
|
<link rel="stylesheet" href="/ScoDoc/static/css/scodoc.css">
|
||||||
<link href="/ScoDoc/static/css/menu.css" rel="stylesheet" type="text/css" />
|
<link href="/ScoDoc/static/css/menu.css" rel="stylesheet" type="text/css" />
|
||||||
<link href="/ScoDoc/static/css/gt_table.css" rel="stylesheet" type="text/css" />
|
<link href="/ScoDoc/static/css/gt_table.css" rel="stylesheet" type="text/css" />
|
||||||
@ -20,6 +21,15 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
<div id="gtrcontent" class="gtrcontent_std">
|
<div id="gtrcontent" class="gtrcontent_std">
|
||||||
|
<div class="container">
|
||||||
|
{% with messages = get_flashed_messages() %}
|
||||||
|
{% if messages %}
|
||||||
|
{% for message in messages %}
|
||||||
|
<div class="alert alert-info" role="alert">{{ message }}</div>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% endwith %}
|
||||||
|
</div>
|
||||||
{% if sco.sem %}
|
{% if sco.sem %}
|
||||||
{% block formsemestre_header %}
|
{% block formsemestre_header %}
|
||||||
{% include "formsemestre_header.html" %}
|
{% include "formsemestre_header.html" %}
|
||||||
|
Loading…
Reference in New Issue
Block a user