summaryrefslogtreecommitdiffstats
path: root/templates/404.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-07-10 19:15:28 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-07-10 19:15:28 -0400
commit35b666224a05fbd249b1c51a0a48fb95b246fe9a (patch)
treebfce966ce040dd849e8cc35a012d18f7632ad6b1 /templates/404.html
parent5b45e526c74faf55110ff0afdcba19797d7e0f4d (diff)
downloadaskbot-35b666224a05fbd249b1c51a0a48fb95b246fe9a.tar.gz
askbot-35b666224a05fbd249b1c51a0a48fb95b246fe9a.tar.bz2
askbot-35b666224a05fbd249b1c51a0a48fb95b246fe9a.zip
adding all files again
Diffstat (limited to 'templates/404.html')
-rw-r--r--templates/404.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 00000000..d24edaf0
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,49 @@
+<!-- template 404.html -->
+{% extends "base_content.html" %}
+{% load i18n %}
+{% block title %}{% spaceless %}404 Error{% endspaceless %}{% endblock %}
+{% block forestyle%}
+ <style type="text/css">
+ form input { margin-right: 5px; }
+ </style>
+{% endblock %}
+{% block forejs %}
+ <script type="text/javascript">
+ $().ready(function(){
+ $("#linkPrevious").bind("click", back=function(){history.go(-1);})
+ });
+
+ </script>
+{% endblock %}
+{% block content %}
+<div id="main-bar" class="headNormal">
+ 404 Not Found
+</div>
+<div id="main-body" class="">
+ <div style="padding:5px 0px 10px 0;line-height:25px;">
+ <h3>{% trans "Sorry, could not find the page you requested." %}</h3>
+ <div style="margin-top:5px">
+ {% trans "This might have happened for the following reasons:" %}<br>
+ <ul>
+ <li>{% trans "this question or answer has been deleted;" %}</li>
+ <li>{% trans "url has error - please check it;" %}</li>
+ <li>{% trans "the page you tried to visit is protected or you don't have sufficient points, see" %} <a href="/faq"> faq</a>;</li>
+ <li>{% trans "if you believe this error 404 should not have occured, please" %}
+ <a href="{{feedback_site_url}}" target="_blank">{% trans "report this problem" %}</a></li>
+ </u>
+ </div>
+ <script type="text/javascript">
+ var GOOG_FIXURL_LANG = 'zh-cn';
+ var GOOG_FIXURL_SITE = '{{site_url}}';
+ </script>
+ <script type="text/javascript" src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
+ <ul>
+ <li><a href="#" id="linkPrevious">{% trans "back to previous page" %} » </li>
+ <li><a href="/questions">{% trans "see all questions" %} » </a></li>
+ <li><a href="/tags/">{% trans "see all tags" %} » </a></li>
+ </u>
+ </div>
+
+</div>
+{% endblock %}
+<!-- end template 404.html -->