aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/400.html20
-rw-r--r--templates/403.html20
-rw-r--r--templates/404.html20
-rw-r--r--templates/500.html19
4 files changed, 79 insertions, 0 deletions
diff --git a/templates/400.html b/templates/400.html
new file mode 100644
index 0000000..89ce313
--- /dev/null
+++ b/templates/400.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+
+{# 400 bad request template #}
+
+{% block title %}
+400无效的请求 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>404 Bad Request</h2>
+ <p class="lead">Oops, 无效的请求……</p>
+ <br>
+ <p>如有问题,请与我们联系:<a href="mailto:skaschool2014@163.com"><code>skaschool2014@163.com</code></a></p>
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
diff --git a/templates/403.html b/templates/403.html
new file mode 100644
index 0000000..2e7259e
--- /dev/null
+++ b/templates/403.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+
+{# 403 HTTP Forbidden template #}
+
+{% block title %}
+403禁止访问 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>403 HTTP Forbidden</h2>
+ <p class="lead">Oops, 您没有足够的权限访问该页面……</p>
+ <br>
+ <p>如有问题,请与我们联系:<a href="mailto:skaschool2014@163.com"><code>skaschool2014@163.com</code></a></p>
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..1a75d8c
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+
+{# 404 page not found template #}
+
+{% block title %}
+404页面未找到 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>404 Page not Found</h2>
+ <p class="lead">Oops, 您想要的页面未找到……</p>
+ <br>
+ <p>如有问题,请与我们联系:<a href="mailto:skaschool2014@163.com"><code>skaschool2014@163.com</code></a></p>
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
diff --git a/templates/500.html b/templates/500.html
new file mode 100644
index 0000000..23b695e
--- /dev/null
+++ b/templates/500.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+<title>500 Server Error </title>
+</head>
+<body>
+ <h2>500 Server Error</h2>
+
+ <p>Sorry, but the requested page is unavailable due to a
+ server hiccup.</p>
+
+ <p>Our engineers have been notified, so check back later.</p>
+
+ <p>If needed please contact us: <a href="mailto:skaschool2014@163.com"><code>skaschool2014@163.com</code></a></p>
+</body>
+</html>
+
+<!-- vim: set ts=8 sw=2 tw=0 fenc= ft=html: -->