nopaque/web/app/templates/errors/500.html.j2
2020-10-12 13:26:35 +02:00

20 lines
755 B
Django/Jinja

{% extends 'nopaque.html.j2' %}
{% block page_content %}
<div class="container">
<h1>{{ title }}</h1>
<p class="light">{{ request.path }}</p>
<p>Alternatively, you can visit the <a href="{{ url_for('main.index') }}">Main Page</a> or read <a class="modal-trigger" href="#more-information-modal">more information</a> about this type of error.</p>
</div>
<div class="modal" id="more-information-modal">
<div class="modal-content">
<h4>{{ title }}</h4>
<p>A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.</p>
</div>
<div class="modal-footer">
<a href="#!" class="btn-flat modal-close waves-effect waves-green">Close</a>
</div>
</div>
{% endblock page_content %}