CRUD for tasks, dirs and options.

Added flash messages
This commit is contained in:
simon
2018-03-07 20:00:10 -05:00
parent 1602f47b4e
commit eab21fbfe6
9 changed files with 251 additions and 65 deletions

View File

@@ -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">&times;</a>
{{ message | safe }}
</div>
{% endfor %}
</div>
{% endif %}
{% endwith %}
{% endblock %}
{% block body %}
{% endblock body %}