diff options
Diffstat (limited to 'page')
-rw-r--r-- | page/templates/page/about.html | 20 | ||||
-rw-r--r-- | page/templates/page/accommodation.html | 20 | ||||
-rw-r--r-- | page/templates/page/committee.html | 20 | ||||
-rw-r--r-- | page/templates/page/contact.html | 20 | ||||
-rw-r--r-- | page/templates/page/program.html | 20 | ||||
-rw-r--r-- | page/templates/page/sponsor.html | 20 | ||||
-rw-r--r-- | page/templates/page/traffic.html | 20 | ||||
-rw-r--r-- | page/urls.py | 31 |
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'), ) |