diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-07-10 19:15:04 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-07-10 19:15:04 -0400 |
commit | b49526d6226a48fc157a72d60a2e948c001ca521 (patch) | |
tree | bfce966ce040dd849e8cc35a012d18f7632ad6b1 /templates/404.html | |
parent | f0524f6614d145ee8031cf381342c56e1f065335 (diff) | |
download | askbot-b49526d6226a48fc157a72d60a2e948c001ca521.tar.gz askbot-b49526d6226a48fc157a72d60a2e948c001ca521.tar.bz2 askbot-b49526d6226a48fc157a72d60a2e948c001ca521.zip |
adding all files again
Diffstat (limited to 'templates/404.html')
-rw-r--r-- | templates/404.html | 49 |
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 --> |