Revised the indent of the flashed success messages in the base template of the test site.
This commit is contained in:
parent
b397515457
commit
08fdf59844
@ -121,10 +121,10 @@ First written: 2023/1/27
|
|||||||
{% if messages %}
|
{% if messages %}
|
||||||
{% for category, message in messages %}
|
{% for category, message in messages %}
|
||||||
{% if category == "success" %}
|
{% if category == "success" %}
|
||||||
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
||||||
{{ message }}
|
{{ message }}
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||||
</div>
|
</div>
|
||||||
{% elif category == "error" %}
|
{% elif category == "error" %}
|
||||||
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||||
<strong>{{ _("Error:") }}</strong> {{ message }}
|
<strong>{{ _("Error:") }}</strong> {{ message }}
|
||||||
|
Loading…
Reference in New Issue
Block a user