realms-wiki/realms/templates/errors/error.html

17 lines
885 B
HTML
Raw Normal View History

2014-01-14 01:07:13 +02:00
{% extends "layout.html" %}
{% block title %}{{ title|escape }}{% endblock %}
{% block scripts %}
{% if traceback %}
2014-09-05 00:35:28 +03:00
<link rel="stylesheet" href="{{ static_url('vendor/highlightjs/default.css') }}" />
<script src="{{ static_url('vendor/highlightjs/highlight.pack.js') }}"></script>
<script>hljs.initHighlightingOnLoad();</script>
2014-01-14 01:07:13 +02:00
{% endif %}
{% endblock %}
{% block content %}
<div class="page-header"><h1>{{ title }} <small>{{ status_code }}</small></h1></div>
{% if message %}<div class="alert alert-error">{{ message|escape }}</div>{% endif %}
{% if traceback %}<pre><code>{{ traceback|escape }}</code></pre>{% endif %}
<a href="{{ url_for('home.index') }}" class="btn btn-danger btn-large">&larr; Back to Safety</a>
<hr />
<div class="help-block">Think you know what happened? Please <a href="mailto:support@realms.io">email</a> us.</div>
{% endblock %}