Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add error templates for DEBUG=False

  • Loading branch information...
commit 052a292dc81183e0bfe739198a89d1ec35ccf07d 1 parent 2606e31
authored May 20, 2011
17  webif/templates/404.html
... ...
@@ -0,0 +1,17 @@
  1
+{% extends "base.html" %}
  2
+{% load tabs %}
  3
+{% block menubar %}
  4
+{{ block.super }}
  5
+{% endblock %}
  6
+
  7
+{% block content %}
  8
+      <div> 
  9
+        <h1> 
  10
+          <div class="subtitle">Error</div> 
  11
+          Page not found
  12
+        </h1>
  13
+<br />
  14
+<p>Page not found.</p>
  15
+      </div>
  16
+{% endblock %}
  17
+
17  webif/templates/500.html
... ...
@@ -0,0 +1,17 @@
  1
+{% extends "base.html" %}
  2
+{% load tabs %}
  3
+{% block menubar %}
  4
+{{ block.super }}
  5
+{% endblock %}
  6
+
  7
+{% block content %}
  8
+      <div> 
  9
+        <h1> 
  10
+          <div class="subtitle">Error</div> 
  11
+          Internal Server Error
  12
+        </h1>
  13
+<br />
  14
+<p>Internal Server Error.</p>
  15
+      </div>
  16
+{% endblock %}
  17
+

0 notes on commit 052a292

Please sign in to comment.
Something went wrong with that request. Please try again.