Create better error pages for 404 and 500.

(imported from commit c2903b630131c55b9e14369ca0b7f1a8f0fe765c)
This commit is contained in:
Luke Faraone 2012-10-04 15:14:38 -04:00
parent 802b51de8c
commit 29555559d2
2 changed files with 22 additions and 6 deletions

View File

@ -1,3 +1,11 @@
<html>
<body><h1>404 Not Found</h1></body>
</html>
{% extends "zephyr/content_base.html" %}
{% block for_you %} got a bit lost there. {% endblock %}
{% block more_content %}
<br/>
<p class="lead">404: Page not found.<p>
<p>We know this is stressful, but we still love you. You might want to <a href="#" onclick="history.back()">go back</a> and try something else.</p>
{% endblock %}

View File

@ -1,3 +1,11 @@
<html>
<body><h1>500 Internal Server Error</h1></body>
</html>
{% extends "zephyr/content_base.html" %}
{% block for_you %} isn't feeing too good. {% endblock %}
{% block more_content %}
<br/>
<p class="lead">500: Internal server error.<p>
<p>Well oops. This one's our fault, probably. Try again in a little bit or <a href="mailto:support@humbughq.com?Subject=500%20error%20on%20%7Bwhich%20URL%3F%7D&Body=Hi%20there%21%0A%0AI%20was%20trying%20to%20do%20%7Bwhat%20were%20you%20trying%20to%20do%3F%7D%20at%20around%20%7Bwhen%20was%20this%3F%7D%20when%20I%20got%20a%20500%20error%20while%20accessing%20%7Bwhich%20URL%3F%7D.%0A%0AWhat%20gives%3F%0A%0ASincerely%2C%20%0A%0A%7BYour%20name%7D">drop us a line</a> to let us know what happened.</p>
{% endblock %}