diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-06-07 18:55:35 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-06-07 18:55:35 (GMT) |
commit | 4d4b54e842c9651763a497e1fb26c672403e78e5 (patch) | |
tree | 61cca148195f76de63fb1880437ac1ee7ace8c2f /templates/program/day_schedule.html | |
parent | af0e543acb81dd8eb4cf68d35c70128fef389251 (diff) | |
parent | ede9fa059b6cbc82c7fd64c2f8009c9a250bc971 (diff) |
Merge branch 'master' of github.com:nnrcschmdt/helsinki
Diffstat (limited to 'templates/program/day_schedule.html')
-rw-r--r-- | templates/program/day_schedule.html | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/templates/program/day_schedule.html b/templates/program/day_schedule.html index a9ac023..a260809 100644 --- a/templates/program/day_schedule.html +++ b/templates/program/day_schedule.html @@ -4,16 +4,24 @@ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script> <script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/jquery.ui.datepicker-de.js"></script> + <script type="text/javascript" src="/site_media/programcalendar.js"></script> <link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/base/jquery-ui.css" rel="stylesheet" /> </head> <body> -<div id="calendar"></div> +<dl id="box_calendar" class="portlet calendar"> + <dt class="portletHeader"><span>Kalender<span></dt> + <dd class="portletItem"> + <div id="calendar"></div> + </dd> +</dl> {% load content_boxes %} <div id="filter-format"> {% broadcastformat %} </div> + +{% comment %} <div id="filter-topic"> <dl id="filter-header" class="portlet"> <dt class="portletHeader"><span>Filter</span></dt> @@ -22,6 +30,7 @@ {% showinformation %} {% showtopic %} </div> +{% endcomment %} <div id="content-main" class="day-schedule"> <h2>Tagesansicht</h2> @@ -97,16 +106,5 @@ </div> </div> -<script> - $(function() { - $("#calendar").datepicker({ - defaultDate: location.href.split('/').slice(4, 7).reverse().join('.'), - onSelect: function(dateText, inst) { - location = '/program/' + dateText.split('.').reverse().join('/'); - } - }); - }) -</script> - </body> </html> |