mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 08:56:17 +00:00
Better display of flashed messages
This commit is contained in:
parent
b82e7d68ae
commit
84bc079a72
@ -1,12 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<title>Supysonic</title>
|
||||
<style>
|
||||
.flash {
|
||||
border: dashed 1px red;
|
||||
padding: 2px;
|
||||
margin: 10px;
|
||||
}
|
||||
.flash p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
<div class="page">
|
||||
<h1>Supysonic</h1>
|
||||
|
||||
{% if get_flashed_messages() %}
|
||||
<div class="flash">
|
||||
{% for message in get_flashed_messages() %}
|
||||
<p>{{ message }}</p>
|
||||
<p>{{ message }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user