frontend: Redesign templates/5xx error page.

This commit is contained in:
Vaida Plankyte 2017-07-12 11:59:42 +02:00 committed by Tim Abbott
parent 098569ccb4
commit 86d86245f8
1 changed files with 15 additions and 5 deletions

View File

@ -7,11 +7,21 @@
{% block portico_content %}
<br/>
<p class="lead">Internal server error.</p>
<div class="error_page" style="padding-bottom: 60px;">
<div class="container">
<div class="row-fluid">
<img src="/static/images/500art.svg" alt=""/>
<div class="errorbox">
<div class="errorcontent">
<h1 class="lead">Internal server error</h1>
<p>This Zulip server is currently experiencing some technical difficulties. Sorry about that!</p>
<p>The page will reload automatically soon after service is restored.</p>
<p>If you'd like, you can <a href="mailto:{{ support_email }}?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%0AThanks!%0A%0ASincerely%2C%20%0A%0A%7BYour%20name%7D">drop us a line</a> to let us know what happened.</p>
</div>
<p>Well oops. This one's probably our fault. Sorry about that!</p>
<p>If you'd like, you can <a href="mailto:{{ support_email }}?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%0AThanks!%0A%0ASincerely%2C%20%0A%0A%7BYour%20name%7D">drop us a line</a> to let us know what happened.</p>
</div>
</div>
</div>
</div>
{% endblock %}