diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-05 16:39:02 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-05 16:39:02 +0200 |
commit | 16131b8d835fc30bb25984f11fad08bc44b4c4b3 (patch) | |
tree | 3a3dea110e628c3291fe63c51afa3566d2782a62 /ishtar_common | |
parent | 93b02263737e5734565b9049ebe5bb2280c64a0a (diff) | |
download | Ishtar-16131b8d835fc30bb25984f11fad08bc44b4c4b3.tar.bz2 Ishtar-16131b8d835fc30bb25984f11fad08bc44b4c4b3.zip |
500 page
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/templates/404.html | 7 | ||||
-rw-r--r-- | ishtar_common/templates/500.html | 17 |
2 files changed, 19 insertions, 5 deletions
diff --git a/ishtar_common/templates/404.html b/ishtar_common/templates/404.html index 82cdd0fb4..f2c57d496 100644 --- a/ishtar_common/templates/404.html +++ b/ishtar_common/templates/404.html @@ -1,8 +1,5 @@ -{% load i18n %} -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> - +{% load i18n %}<!doctype html> +<html lang="en"> <head> <link rel="shortcut icon" href="{{STATIC_URL}}/media/images/favicon.png"> <title>{% block title %}Ishtar{% if APP_NAME %} - {{APP_NAME}}{%endif%}{% endblock %} diff --git a/ishtar_common/templates/500.html b/ishtar_common/templates/500.html new file mode 100644 index 000000000..dbe2278a7 --- /dev/null +++ b/ishtar_common/templates/500.html @@ -0,0 +1,17 @@ +{% load i18n %}<!doctype html> +<html lang="en"> +<head> + <link rel="shortcut icon" href="{{STATIC_URL}}/media/images/favicon.png"> + <title>{% block title %}Ishtar{% if APP_NAME %} - {{APP_NAME}}{%endif%}{% endblock %} + </title> + <link rel="stylesheet" href="{{STATIC_URL}}/media/style.css?ver={{VERSION}}" /> +</head> +<body> +<div> + <h3>{% trans "An error has occured. The support team has been warned." %}</h3> + <p><a href='/'>{% trans "Back to main page" %}</a></p> +</div> +</body> + +</html> + |