This commit is contained in:
Matthew Scragg 2014-01-13 17:07:13 -06:00
parent 99ce4acd00
commit 98c753aba6
12 changed files with 169 additions and 94 deletions

View file

@ -0,0 +1,17 @@
{% extends "layout.html" %}
{% block title %}{{ title|escape }}{% endblock %}
{% block scripts %}
{% if traceback %}
<link rel="stylesheet" href="{{ static_url('vendor/highlightjs/default.css') }}" />
<script src="{{ static_url('vendor/highlightjs/highlight.pack.js') }}"></script>
<script>hljs.initHighlightingOnLoad();</script>
{% 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 %}

View file

@ -48,9 +48,6 @@
<li><a href="{{ url_for('wiki.edit', name=name) }}">Edit Page</a></li>
<li><a href="{{ url_for('wiki.history', name=name) }}">History</a></li>
{% endif %}
<li class="divider"></li>
<li class="dropdown-header">Site Options</li>
<li><a href="{{ url_for('wiki.new') }}">Create New Site</a></li>
</ul>
</li>