diff options
author | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-07-05 10:06:37 -0400 |
---|---|---|
committer | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-07-05 10:06:37 -0400 |
commit | f52d3f0058a94df827b1f49dbf9a54c63683aeaf (patch) | |
tree | 8b71e364f65497bcb3cfda71d34c02c083714802 | |
parent | f8525d34328e48a1238e8962338c3dcbf021e94a (diff) | |
download | hyperkitty-f52d3f0058a94df827b1f49dbf9a54c63683aeaf.tar.gz hyperkitty-f52d3f0058a94df827b1f49dbf9a54c63683aeaf.tar.xz hyperkitty-f52d3f0058a94df827b1f49dbf9a54c63683aeaf.zip |
Added ErrorTemplates to avoid errors when debug=false
-rw-r--r-- | templates/404.html | 37 | ||||
-rw-r--r-- | templates/500.html | 37 | ||||
-rw-r--r-- | templates/thread.html | 1 |
3 files changed, 75 insertions, 0 deletions
diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..dbc98cb --- /dev/null +++ b/templates/404.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} +{% load i18n %} +{% block content %} + <style> + #contentBox + { + padding:10px; + font-family: 'Times New Roman'; + font-size:20px; + color:#444; + margin-left:300px; + margin-top:100px; + } + .hello + { + font-size:100px; + color:#444; + font-family: 'Times New Roman'; + } + a + { + color:#323232; + } + </style> + + <div style="margin: 60px 40px 0 40px;"> + <div id="contentBox" style="width:50%; "> + <span class="hello"> 404 </span> + <br/><br/> + <span style="font-size:60px; color:#444;font-family: 'Times New Roman';"> Oh! Snap </span> + <br/><br/> + This is not the page you were looking for right! + <a href ="/">Fix This </a> + </div> + </div> + +{% endblock %}
\ No newline at end of file diff --git a/templates/500.html b/templates/500.html new file mode 100644 index 0000000..6c156d7 --- /dev/null +++ b/templates/500.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} +{% load i18n %} +{% block content %} + <style> + #contentBox + { + padding:10px; + font-family: 'Times New Roman'; + font-size:20px; + color:#444; + margin-left:300px; + margin-top:100px; + } + .hello + { + font-size:100px; + color:#444; + font-family: 'Times New Roman'; + } + a + { + color:#323232; + } + </style> + + <div style="margin: 60px 40px 0 40px;"> + <div id="contentBox" style="width:50%; "> + <span class="hello"> 500 </span> + <br/><br/> + <span style="font-size:60px; color:#444;font-family: 'Times New Roman';"> Oh! Snap </span> + <br/><br/> + This is not the page you were looking for right! + <a href ="/">Fix This </a> + </div> + </div> + +{% endblock %}
\ No newline at end of file diff --git a/templates/thread.html b/templates/thread.html index 4168b3e..abf6747 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -23,6 +23,7 @@ {% include 'messages/message.html' %} <!-- End of email --> </div> + {% endfor %} </section> |