mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-14 23:59:04 +00:00
CRUD for tasks, dirs and options.
Added flash messages
This commit is contained in:
@@ -35,9 +35,9 @@
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
{# .info-table tr:nth-child(even) {#}
|
||||
{# background-color: #fafafa;#}
|
||||
{# }#}
|
||||
{# .info-table tr:nth-child(even) {#}
|
||||
{# background-color: #fafafa;#}
|
||||
{# }#}
|
||||
|
||||
{# todo: box-shadow 0 1px 10px 1px #1AC8DE#}
|
||||
</style>
|
||||
@@ -69,6 +69,22 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% block alert_messages %}
|
||||
|
||||
|
||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages %}
|
||||
<div class="container">
|
||||
{% for category, message in messages %}
|
||||
<div class="alert alert-{{ category }}">
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
|
||||
{{ message | safe }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% endblock body %}
|
||||
|
||||
Reference in New Issue
Block a user