aboutsummaryrefslogtreecommitdiffstats
path: root/page
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-24 00:50:44 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-24 00:50:44 +0800
commit92507b3dcd7671f6e61d9aade1b4e862a6b4ccb3 (patch)
tree0e99e2162712330b5f7d90318ee5f48da2693756 /page
parentce26313905fa5d5c141cc7a871d37e1740765df1 (diff)
downloaddjango-skaschool-92507b3dcd7671f6e61d9aade1b4e862a6b4ccb3.tar.bz2
* added blank templates of needed pages
* added urls in pages.urls * updated links in navbar.html
Diffstat (limited to 'page')
-rw-r--r--page/templates/page/about.html20
-rw-r--r--page/templates/page/accommodation.html20
-rw-r--r--page/templates/page/committee.html20
-rw-r--r--page/templates/page/contact.html20
-rw-r--r--page/templates/page/program.html20
-rw-r--r--page/templates/page/sponsor.html20
-rw-r--r--page/templates/page/traffic.html20
-rw-r--r--page/urls.py31
8 files changed, 170 insertions, 1 deletions
diff --git a/page/templates/page/about.html b/page/templates/page/about.html
new file mode 100644
index 0000000..2f6369e
--- /dev/null
+++ b/page/templates/page/about.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+{% load bootstrap3 %}
+
+{# about template #}
+
+{% block title %}
+关于 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>关于</h2>
+ <br>
+ TODO
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
diff --git a/page/templates/page/accommodation.html b/page/templates/page/accommodation.html
new file mode 100644
index 0000000..8d8f61e
--- /dev/null
+++ b/page/templates/page/accommodation.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+{% load bootstrap3 %}
+
+{# accommodation template #}
+
+{% block title %}
+住宿 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>住宿情况</h2>
+ <br>
+ TODO
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
diff --git a/page/templates/page/committee.html b/page/templates/page/committee.html
new file mode 100644
index 0000000..733735c
--- /dev/null
+++ b/page/templates/page/committee.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+{% load bootstrap3 %}
+
+{# committee template #}
+
+{% block title %}
+组委会 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>组委会</h2>
+ <br>
+ TODO ... style similar to 'notice' page
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
diff --git a/page/templates/page/contact.html b/page/templates/page/contact.html
new file mode 100644
index 0000000..ca347d5
--- /dev/null
+++ b/page/templates/page/contact.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+{% load bootstrap3 %}
+
+{# contact template #}
+
+{% block title %}
+联系我们 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>联系我们</h2>
+ <br>
+ TODO
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
diff --git a/page/templates/page/program.html b/page/templates/page/program.html
new file mode 100644
index 0000000..3ac31a9
--- /dev/null
+++ b/page/templates/page/program.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+{% load bootstrap3 %}
+
+{# program template #}
+
+{% block title %}
+日程 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>2014 SKA 暑期学校日程安排</h2>
+ <br>
+ TODO
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
diff --git a/page/templates/page/sponsor.html b/page/templates/page/sponsor.html
new file mode 100644
index 0000000..aabad56
--- /dev/null
+++ b/page/templates/page/sponsor.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+{% load bootstrap3 %}
+
+{# sponsor template #}
+
+{% block title %}
+赞助方 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>赞助方</h2>
+ <br>
+ TODO
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
diff --git a/page/templates/page/traffic.html b/page/templates/page/traffic.html
new file mode 100644
index 0000000..372b1c1
--- /dev/null
+++ b/page/templates/page/traffic.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% load staticfiles %}
+{% load url from future %}
+{% load bootstrap3 %}
+
+{# traffic template #}
+
+{% block title %}
+交通 | 2014 SKA Summer School
+{% endblock %}
+
+{% block content %}
+ <div class="container">
+ <h2>交通情况</h2>
+ <br>
+ TODO
+ </div>
+{% endblock %}
+
+{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
diff --git a/page/urls.py b/page/urls.py
index d8825e5..79ae696 100644
--- a/page/urls.py
+++ b/page/urls.py
@@ -11,7 +11,36 @@ urlpatterns = patterns('',
# index page
url(r'^$', RedirectView.as_view(url=reverse_lazy('index'))),
# introduction page
- url(r'^introduction/$', TemplateView.as_view(template_name='page/introduction.html'),
+ url(r'^introduction/$',
+ TemplateView.as_view(template_name='page/introduction.html'),
name='introduction'),
+ # program page
+ url(r'^program/$',
+ TemplateView.as_view(template_name='page/program.html'),
+ name='program'),
+ # committee page
+ url(r'^committee/$',
+ TemplateView.as_view(template_name='page/committee.html'),
+ name='committee'),
+ # sponsor page
+ url(r'^sponsor/$',
+ TemplateView.as_view(template_name='page/sponsor.html'),
+ name='sponsor'),
+ # traffic page
+ url(r'^traffic/$',
+ TemplateView.as_view(template_name='page/traffic.html'),
+ name='traffic'),
+ # accommodation page
+ url(r'^accommodation/$',
+ TemplateView.as_view(template_name='page/accommodation.html'),
+ name='accommodation'),
+ # contact page
+ url(r'^contact/$',
+ TemplateView.as_view(template_name='page/contact.html'),
+ name='contact'),
+ # about page
+ url(r'^about/$',
+ TemplateView.as_view(template_name='page/about.html'),
+ name='about'),
)