PCv5/app/templates/base/alerts.html.j2

15 lines
516 B
Django/Jinja

{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<div class="alert error" style="top: 95px;" 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" onclick="setCookie('pc_notif_2', 'true');"></input>
</div>
{% endfor %}
{% endif %}
{% endwith %}