This commit is contained in:
Takeus committed 2025-02-03 01:16:13 +01:00
1 parent 0980efcd24
commit f11aa2d6c6
22 files changed
+491

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
<!-- Flash message -->
{% with errors = get_flashed_messages(with_categories=true,category_filter=["success","warning","danger","error"]) %}
{% if errors %}
{% for category, message in errors %}
<div class="alert alert-dismissible alert-{{ category }} m-0" style="position:fixed;top:5%;left:38%;z-index:10;min-width:25%;">
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
<p class="mb-0"><b>{{ message }}</b></a></p>
</div>
{% endfor %}
{% endif %}
{% endwith %}
<!-- END|Flash message -->