2018-09-16 23:14:07 +02:00
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
|
|
{% if messages %}
|
|
|
|
{% for category, message in messages %}
|
|
|
|
<div class="alert {{ category }}" style="top: {{ loop.index * 70 - 45 }}px;" onclick="close_important(this)">
|
|
|
|
<svg style='width:24px;height:24px' viewBox='0 0 24 24'>
|
|
|
|
<path fill="#727272" d="M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"></path>
|
|
|
|
</svg>
|
|
|
|
<span>
|
|
|
|
{{ message }}
|
|
|
|
</span>
|
|
|
|
<input type="button" class="flat" value="MASQUER"></input>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endwith %}
|