2016-03-31 17:06:21 -06:00
|
|
|
{% extends 'templates/base.html' %}
|
2017-05-08 12:00:51 -06:00
|
|
|
{% block title %}{{super()}} | {% if code %}{{code}}{% endif %}{% if message %}: {{message}}{% else %} Error{% endif%}{% endblock %}
|
2016-03-31 17:06:21 -06:00
|
|
|
|
|
|
|
{% block main %}
|
2017-04-13 16:53:18 -06:00
|
|
|
<section class='container'>
|
2017-04-26 13:10:07 -06:00
|
|
|
{% if message %}<h2>❌️ {{message}}</h2>{% endif %}
|
2017-04-20 19:54:21 -06:00
|
|
|
{% if stack %}<p>{{stack}}</p>{% else %}
|
2017-04-20 20:02:15 -06:00
|
|
|
{% if code == '404' %}<p>This page does not exist. Maybe you followed a dead link here. </p>
|
2017-05-08 12:00:51 -06:00
|
|
|
{% elif code == '401' %}<p>You aren't allowed in here. Shoo. </p>
|
2017-04-20 20:02:15 -06:00
|
|
|
{% else %}<p>Would you please <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 %}{% endif %}
|
2016-03-31 17:06:21 -06:00
|
|
|
</section>
|
2016-05-01 23:03:55 -06:00
|
|
|
{% endblock %}
|