summaryrefslogtreecommitdiff
path: root/templates/program/day_schedule.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/program/day_schedule.html')
-rw-r--r--templates/program/day_schedule.html16
1 files changed, 15 insertions, 1 deletions
diff --git a/templates/program/day_schedule.html b/templates/program/day_schedule.html
index 275930d..cf71bd7 100644
--- a/templates/program/day_schedule.html
+++ b/templates/program/day_schedule.html
@@ -1,6 +1,10 @@
<html>
<head>
<title>Day schedule: {{ day|date:"l, d.m.Y" }}</title>
+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/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>
+ <link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/themes/base/jquery-ui.css" rel="stylesheet" />
</head>
<body>
@@ -12,7 +16,7 @@
</div>
<div id="filter-topic">
<dl id="filter-header" class="portlet">
- <dt class="portletHeader"><span>Filter<span></dt>
+ <dt class="portletHeader"><span>Filter</span></dt>
</dl>
{% musicfocus %}
{% showinformation %}
@@ -53,6 +57,16 @@
</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>