Lighten the project by supporting sqlite3 and also handling email using only python threads
18 lines
829 B
HTML
18 lines
829 B
HTML
|
|
{% if messages %}
|
|
{% for message in messages %}
|
|
{% if message.tags == 'error' %}
|
|
<div class="alert py-2 alert-danger d-flex align-items-center">
|
|
<i class="fas fa-exclamation-circle me-2" style="min-width: 35px;"></i><span>{{ message }}</span>
|
|
</div>
|
|
{% elif message.tags == 'warning' %}
|
|
<div class="alert py-2 alert-warning d-flex align-items-center">
|
|
<i class="fas fa-exclamation-circle me-2" style="min-width: 35px;"></i><span>{{ message }}</span>
|
|
</div>
|
|
{% else %}
|
|
<div class="alert py-2 alert-success d-flex align-items-center">
|
|
<i class="fas fa-check-circle me-2" style="min-width: 35px;"></i><span>{{ message }}</span>
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %} |