mirror of
https://github.com/TakeusV1/flask_ipam.git
synced 2026-10-13 17:15:33 +02:00
V1.0
This commit is contained in:
1 parent
f11aa2d6c6
commit
85969350bc
13 files changed
+146
-29
No files matched your search
@@ -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 -->
|
||||
Reference in new issue
Block a user