moved display message to base.html, should have done this from the beginning (doh), and then fixed deletion errors/redirections to be moe sensible

This commit is contained in:
2020-12-26 22:19:05 +11:00
parent 80719a3657
commit de860a1319
7 changed files with 19 additions and 32 deletions

View File

@@ -75,7 +75,14 @@
</div class="collapse navbar-collapse">
</nav>
{% block main_content %}{% endblock main_content %}
{% if message|length %}
<div class="row alert alert-{{alert}}">
{{message|safe}}
{{ ClearStatus() }}
</div>
{% endif %}
{% block main_content %}
{% endblock main_content %}
<!-- code to get bootstrap & bootstrap datatable to work -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>