|
|
|
@ -70,40 +70,44 @@
@@ -70,40 +70,44 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container"> |
|
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %} |
|
|
|
|
{% if messages %} |
|
|
|
|
{% for category, message in messages %} |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-10"> |
|
|
|
|
{% if category == 'message' or category == 'info' %} |
|
|
|
|
<div class="alert alert-dismissible alert-info"> |
|
|
|
|
{% elif category == 'success' %} |
|
|
|
|
<div class="alert alert-dismissible alert-success"> |
|
|
|
|
{% elif category == 'warning' %} |
|
|
|
|
<div class="alert alert-dismissible alert-warning"> |
|
|
|
|
{% elif category == 'error' %} |
|
|
|
|
<div class="alert alert-dismissible alert-danger"> |
|
|
|
|
{% endif %} |
|
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button> |
|
|
|
|
{{ message }} |
|
|
|
|
</div> |
|
|
|
|
<noscript> |
|
|
|
|
<div class="alert alert-dismissible alert-warning"> |
|
|
|
|
Biscd works best with JavaScript enabled! |
|
|
|
|
</div> |
|
|
|
|
</noscript> |
|
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %} |
|
|
|
|
{% if messages %} |
|
|
|
|
{% for category, message in messages %} |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-10"> |
|
|
|
|
{% if category == 'message' or category == 'info' %} |
|
|
|
|
<div class="alert alert-dismissible alert-info"> |
|
|
|
|
{% elif category == 'success' %} |
|
|
|
|
<div class="alert alert-dismissible alert-success"> |
|
|
|
|
{% elif category == 'warning' %} |
|
|
|
|
<div class="alert alert-dismissible alert-warning"> |
|
|
|
|
{% elif category == 'error' %} |
|
|
|
|
<div class="alert alert-dismissible alert-danger"> |
|
|
|
|
{% endif %} |
|
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button> |
|
|
|
|
{{ message }} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
{% endif %} |
|
|
|
|
{% endwith %} |
|
|
|
|
</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
{% endif %} |
|
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
|
|
{# application content needs to be provided in the app_content block #} |
|
|
|
|
{% block app_content %}{% endblock %} |
|
|
|
|
{# application content needs to be provided in the app_content block #} |
|
|
|
|
{% block app_content %}{% endblock %} |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<script src="{{url_for('static', filename='js/jquery.min.js')}}"></script> |
|
|
|
|
<script src="{{url_for('static', filename='js/popper.min.js')}}" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script> |
|
|
|
|
<script src="{{url_for('static', filename='js/bootstrap.min.js')}}"></script> |
|
|
|
|
|
|
|
|
|
{% block scripts %}{% endblock %} |
|
|
|
|
|
|
|
|
|
</body> |
|
|
|
|
</html> |