tracman-server/views/error.html

12 lines
541 B
HTML
Raw Normal View History

2016-03-31 17:06:21 -06:00
{% extends 'templates/base.html' %}
{% block title %}{{super()}} | Error{% endblock %}
2016-03-31 17:06:21 -06:00
{% block main %}
<section class='container'>
{% if code %}<h2>{{code}}</h2>{% endif %}
{% if message %}<h3>{{message}}</h3>{% endif %}
{% if stack %}<p>{{stack}}</p>{% endif %}
{% if not stack %}<p>I would really appreciate it if you would <a href="https://github.com/Tracman-org/Server/issues/new">report this error</a>. </p>{% endif %}
{% if code %}<img style="width:100%" src="https://http.cat/{{code}}.jpg">{% endif %}
2016-03-31 17:06:21 -06:00
</section>
2016-05-01 23:03:55 -06:00
{% endblock %}