Add notifications on work page, rebase already exists with notifications.js

This commit is contained in:
Sokurov Idar
2021-04-20 22:55:22 +03:00
parent 83939f6681
commit cff6443eca
22 changed files with 1083 additions and 46 deletions

View File

@@ -1,14 +0,0 @@
<div class="mt-5">
{% for message in messages %}
<div
class="alert alert-{{ message.tags }} alert-dismissible fade show p-2"
role="alert"
style="display: flex; align-items: center; justify-content: space-between;"
>
{{ message }}
<div>
<button type="button" class="btn btn-light p-2" data-bs-dismiss="alert" aria-label="Close">X</button>
</div>
</div>
{% endfor %}
</div>