From 88c4fa2c87138d9f4707ad7193662953f9de725f Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Tue, 24 Jun 2014 23:09:43 +0800 Subject: Added schedule.html template for app 'schedule'. * added 'schedule.views.ScheduleView' * added 'schedule.html' template, with 'schedule.css' and 'schedule.js' * added 'schedule.urls', updated django_skaschool.urls * added tools/templatetags/dict_utils.py * converted schedule models to south-based * removed original 'page/templates/page/program.html', related urls * updated navbar.html --- page/templates/page/program.html | 20 -------------------- page/urls.py | 4 ---- 2 files changed, 24 deletions(-) delete mode 100644 page/templates/page/program.html (limited to 'page') diff --git a/page/templates/page/program.html b/page/templates/page/program.html deleted file mode 100644 index c0b68d7..0000000 --- a/page/templates/page/program.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends 'base.html' %} -{% load staticfiles %} -{% load url from future %} -{% load bootstrap3 %} - -{# program template #} - -{% block pagetitle %}日程{% endblock %} - -{% block content %} -
-

2014 SKA 暑期学校日程安排

-
-
- 日程安排尚未确定,请等待后续通知和更新…… -
-
-{% 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 79ae696..0f72034 100644 --- a/page/urls.py +++ b/page/urls.py @@ -14,10 +14,6 @@ urlpatterns = patterns('', 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'), -- cgit v1.2.2