500 error page should have minimal reliance on the backend (so it doesn't error itself)

This commit is contained in:
str4d
2012-12-17 21:31:55 +00:00
parent 6772b46563
commit a665d6153f

View File

@@ -1,12 +1,21 @@
{% extends "global/layout.html" %}
{% block title -%}
{% trans -%}
Server error
{%- endtrans %}
{%- endblock %}
{% block content %}
{% trans -%}
Umm... the server encountered some sort of error.
{%- endtrans %}
{% endblock %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{% trans %}Server error{% endtrans %} - I2P</title>
<link rel="stylesheet" type="text/css" href="/_static/styles/duck.css" title="duck" />
<link rel="shortcut icon" type="image/x-icon" href="/_static/favicon.ico" />
<meta name="robots" content="NOODP" />
</head>
<body>
<div id="branding">
<h1 id="logo"><a href="/"><img src="/_static/images/logo_medium.png" alt="I2P" /></a></h1>
<div class="title">{% trans %}500 Server error{% endtrans %}</div>
</div>
<div id="content">
<div class="inner">
{% trans %}Umm... the server encountered some sort of error.{% endtrans %}
</div>
</div>
</body>
</html>