summaryrefslogtreecommitdiff
path: root/helsinki.program/templates/program/day_schedule.html
diff options
context:
space:
mode:
Diffstat (limited to 'helsinki.program/templates/program/day_schedule.html')
-rw-r--r--helsinki.program/templates/program/day_schedule.html63
1 files changed, 63 insertions, 0 deletions
diff --git a/helsinki.program/templates/program/day_schedule.html b/helsinki.program/templates/program/day_schedule.html
new file mode 100644
index 0000000..6230314
--- /dev/null
+++ b/helsinki.program/templates/program/day_schedule.html
@@ -0,0 +1,63 @@
+<html>
+<head>
+ <title>Day schedule: {{ day|date:"l, d.m.Y" }}</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+
+<div id="calendar"></div>
+
+<div id="recommendations">
+ <div id="recommendations-title">Programmhinweise</div>
+ {% for recommendation in recommendations %}
+ <div class="recommendation {{ recommendation.show.broadcastformat.slug }}">
+ <div class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m. H:i" }} - {{ recommendation.timeslot.end|date:"H:i" }}</div>
+ <div class="show-name"><a href="{% url show-detail recommendation.show.slug %}">{{ recommendation.show.name }}</a></div>
+ <div class="note-title"><a href="{% url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></div>
+ </div>
+ {% endfor %}
+</div>
+
+<div id="day-schedule">
+ <div id="title">Tagesansicht</div>
+ <div id="date">{{ day|date:"l, d.m.Y" }}</div>
+ <div id="timeslots">
+ {% for timeslot in timeslots %}
+ <div class="timeslot {{ timeslot.show.broadcastformat }}">
+ <div class="start">{{ timeslot.start|date:"H:i" }}</div>
+ <div class="show-abbrevs">&nbsp;
+ {% for showinformation in timeslot.show.showinformation.all %}
+ {{ showinformation.abbrev }}
+ {% endfor %}
+ {% for showtopic in timeslot.show.showtopic.all %}
+ {{ showtopic.abbrev }}
+ {% endfor %}
+ {% for musicfocus in timeslot.show.musicfocus.all %}
+ {{ musicfocus.abbrev }}
+ {% endfor %}
+ </div>
+ <div class="show">
+ <div class="name"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
+ {% if timeslot.note %}
+ <div class="note-title">Heute: {{ timeslot.note.title }}</div>
+ {% else %}
+ <div class="short-description">{{ timeslot.show.short_description }}</div>
+ {% endif %}
+ </div>
+ </div>
+ {% endfor %}
+ </div>
+</div>
+
+<div id="broadcastformats">
+ <div id="broadcastformats-title">Legende</div>
+ {% for broadcastformat in broadcastformats %}
+ <div class="{{ broadcastformat.slug }}">
+ <a href="?broadcastformat={{ broadcastformat.slug }}">{{ broadcastformat.format }}</a>
+ </div>
+ {% endfor %}
+</div>
+
+</body>
+</html> \ No newline at end of file