summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Zapke-Gründemann <info@keimlink.de>2011-12-30 13:45:20 +0100
committerMarkus Zapke-Gründemann <info@keimlink.de>2011-12-30 13:45:20 +0100
commitb185a58abffbc6ba7e7f64025031c8b823a6607c (patch)
treecf50822fddcf994e5fae26a52a72a7a439c0a1bb
parentb4e228f3edabda26806e8c6ce3e7fb19c53697eb (diff)
Improved error templates.
-rw-r--r--sublab_project/templates/404.html26
-rw-r--r--sublab_project/templates/500.html129
2 files changed, 19 insertions, 136 deletions
diff --git a/sublab_project/templates/404.html b/sublab_project/templates/404.html
index 0aab876..3543977 100644
--- a/sublab_project/templates/404.html
+++ b/sublab_project/templates/404.html
@@ -1,13 +1,13 @@
-{% extends 'base.html' %}
-
-{% block title %}sublab - page not found{% endblock %}
-
-{# {% block motd %}{% endblock %} #}
-{% block content %}
- Leider konnten wir die Datei zu Deiner Anfrage nicht finden. Eventuell
- ist der Link den Du benutzt hast fehlerhaft oder veraltet. Falls Du der
- Meinung bist, dass dieser Link funktionieren sollte, kontaktiere bitte
- kontakt [at] sublab.org.
-
- Hier geht es zur <a href="/">Startseite</a>.
-{% endblock %}
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <title>sublab - page not found</title>
+ <meta name="robots" content="noindex,nofollow">
+ </head>
+ <body>
+ <h1>page not found</h1>
+ <p>Hier nix <code>{{ request_path }}</code>.</p>
+ <p>Nach hause <a href="/">telefonieren</a>.</p>
+ </body>
+</html>
diff --git a/sublab_project/templates/500.html b/sublab_project/templates/500.html
index 76ab090..35c8e66 100644
--- a/sublab_project/templates/500.html
+++ b/sublab_project/templates/500.html
@@ -2,129 +2,12 @@
<html>
<head>
<meta charset="UTF-8">
- <title>sublab - page not found</title>
-
- <meta name="author" content="sublab e.V.">
- <meta name="robots" content="index,follow">
-
- <meta name="keywords" content="sublab, Hackerspace, Leipzig, Computer, Linux, Freie Software">
- {# <meta name="description" lang="de" content="$template_desc_de"> #}
- {# <meta name="description" lang="en" content="$template_desc_en"> #}
-
- <link rel="stylesheet" href="{{ STATIC_URL }}css/sublab-2011-11-02.css" type="text/css">
- <link rel="stylesheet" href="{{ STATIC_URL }}css/taifun.status.css" type="text/css">
- <link rel="stylesheet" href="{{ STATIC_URL }}css/trieste.status.css" type="text/css">
- <link rel="stylesheet" href="{{ STATIC_URL }}css/nautilus.status.css" type="text/css">
- <link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.png">
+ <title>sublab - error</title>
+ <meta name="robots" content="noindex,nofollow">
</head>
-
<body>
- <div class="hiddenframe">
- <div class="frame">
-
- <div class="logo">
- </div>
-
- <div class="image">
- <p class="header">
- <span class="header">[ <a href="/mate">mate</a> und technik ]</span>
- </p>
- <h1>
- Das sublab - ein Hackerspace in Leipzig
- </h1>
- </div>
-
- <div class="menu">
- <ul id="menu">
- <li>
- <a href="/">Home</a>
- </li>
- <li>
- <a href="/neues">Neues</a>
- </li>
- <li>
- <a href="/termine">Termine</a>
- </li>
- <li>
- <a href="/raeume">Räume</a>
- </li>
- <li>
- <a href="/webcam">Webcams</a>
- </li>
- <li>
- <a href="/lage">Lage</a>
- </li>
- <li>
- <a href="/medien">Medien</a>
- </li>
- <li>
- <a href="http://wiki.sublab.org">Wiki</a>
- </li>
- <li>
- <a href="/kontakt">Kontakt</a>
- </li>
- <li>
- <a href="/verein">Verein</a>
- </li>
- <li>
- <a href="/impressum">Impressum</a>
- </li>
- </ul>
- </div>
-
- <div class="info">
-
- <h4>
- Statusdisplay
- </h4>
- <hr>
- <div class="status">
- <table>
- <tr>
- <td class="status">
- Taifun:
- </td>
- <td class="statusinfo">
- <span class="taifunonline">Online</span>&nbsp;&nbsp;<span class="taifunoffline">Offline</span>
- </td>
- </tr>
- <tr>
- <td class="status">
- Trieste:
- </td>
- <td class="status">
- <span class="triesteonline">Online</span>&nbsp;&nbsp;<span class="triesteoffline">Offline</span>
- </td>
- </tr>
- <tr>
- <td class="status">
- Nautilus:
- </td>
- <td class="status">
- <span class="nautilusonline">Online</span>&nbsp;&nbsp;<span class="nautilusoffline">Offline</span>
- </td>
- </tr>
- </table>
- </div>
- <hr>
- <p class="member">
- <a href="inc/sublab_ev_mitgliedsantrag.pdf">Mitglied werden</a>
- </p>
- </div>
-
- <div class="content">
- Bei der Verarbeitung deiner Anfrage ist ein Fehler aufgetreten. Falls Du der
- Meinung bist, dass das dieser Vorgang funktionieren sollte, kontaktiere bitte
- kontakt [at] sublab.org.<br />
- Hier geht es zur <a href="/">Startseite</a>.
- <hr>
- </div>
-
- <div class="footer">
- </div>
-
- </div>
- </div>
-</body>
-
+ <h1>kaputt!</h1>
+ <p><code>sublab.exe</code> hat ein Problem festgestellt und musste beendet werden:</p>
+ <pre>500 Server error</pre>
+ </body>
</html>