summaryrefslogtreecommitdiff
path: root/helsinki/program/templates
diff options
context:
space:
mode:
Diffstat (limited to 'helsinki/program/templates')
-rw-r--r--helsinki/program/templates/program/bcformats_box.html20
-rw-r--r--helsinki/program/templates/program/day_schedule.html42
-rw-r--r--helsinki/program/templates/program/show_detail.html12
-rw-r--r--helsinki/program/templates/program/timeslot_detail.html12
4 files changed, 45 insertions, 41 deletions
diff --git a/helsinki/program/templates/program/bcformats_box.html b/helsinki/program/templates/program/bcformats_box.html
new file mode 100644
index 0000000..3067805
--- /dev/null
+++ b/helsinki/program/templates/program/bcformats_box.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Broadcast Formats</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+ {% if broadcastformats %}
+ <dl id="bcformats" class="portlet program-bcformats">
+ <dt class="portletHeader"><span>Legende<span></dt>
+ {% for broadcastformat in broadcastformats %}
+ <dd class="portletItem bcformat bcformat-{{ broadcastformat.slug }}">
+ <a href="?broadcastformat={{ broadcastformat.slug }}">{{ broadcastformat.format }}</a>
+ </dd>
+ {% endfor %}
+ </dl>
+ {% endif %}
+</body>
+</html>
diff --git a/helsinki/program/templates/program/day_schedule.html b/helsinki/program/templates/program/day_schedule.html
index 3e7d4bc..9208e50 100644
--- a/helsinki/program/templates/program/day_schedule.html
+++ b/helsinki/program/templates/program/day_schedule.html
@@ -8,42 +8,32 @@
<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="content-main">
+ <h2>Tagesansicht</h2>
+ <h1 id="date">{{ day|date:"l, d.m.Y" }}</h1>
-<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="timeslot bcformat-{{ timeslot.show.broadcastformat.slug }}">
<div class="start">{{ timeslot.start|date:"H:i" }}</div>
- <div class="show-abbrevs">&nbsp;
+ <div class="show-abbrevs">
{% for showinformation in timeslot.show.showinformation.all %}
- {{ showinformation.abbrev }}
+ <span class="si-{{ showinformation.abbrev }}">{{ showinformation.abbrev }}</span>
{% endfor %}
{% for showtopic in timeslot.show.showtopic.all %}
- {{ showtopic.abbrev }}
+ <span class="st-{{ showtopic.abbrev }}">{{ showtopic.abbrev }}</span>
{% endfor %}
{% for musicfocus in timeslot.show.musicfocus.all %}
- {{ musicfocus.abbrev }}
+ <span class="{{ musicfocus.abbrev }}">{{ musicfocus.abbrev }}</span>
{% endfor %}
</div>
<div class="show">
- <div class="name"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
+ <h3 class="name"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></h3>
{% if timeslot.note %}
- <div class="note-title">Heute: {{ timeslot.note.title }}</div>
+ <p class="note-title"><strong>Heute:</strong> {{ timeslot.note.title }}</p>
{% else %}
{% if timeslot.show.short_description != 'FIXME' %}
- <div class="short-description">{{ timeslot.show.short_description }}</div>
+ <p class="short-description">{{ timeslot.show.short_description }}</p>
{% endif %}
{% endif %}
</div>
@@ -52,14 +42,6 @@
</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
+</html>
diff --git a/helsinki/program/templates/program/show_detail.html b/helsinki/program/templates/program/show_detail.html
index 9cd2d8e..e2ae528 100644
--- a/helsinki/program/templates/program/show_detail.html
+++ b/helsinki/program/templates/program/show_detail.html
@@ -7,7 +7,12 @@
<div id="calendar"></div>
<div id="show-detail">
- <div id="name">{{ show.name }}</div>
+
+ <h1 id="name">{{ show.name }}</h1>
+
+ {% if show.short_description != 'FIXME' %}
+ <div id="short-description" class="documentDescription">{{ show.short_description }}</div>
+ {% endif %}
<div id="abbrevs">
{% for topic in show.showtopic.all %}
@@ -39,9 +44,6 @@
{% endfor %}
</div>
- {% if show.short_description != 'FIXME' %}
- <div id="short-description">{{ show.short_description }}</div>
- {% endif %}
<div id="description">{{ show.description|safe }}</div>
@@ -59,4 +61,4 @@
</div>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/helsinki/program/templates/program/timeslot_detail.html b/helsinki/program/templates/program/timeslot_detail.html
index f8dee29..36a1e5f 100644
--- a/helsinki/program/templates/program/timeslot_detail.html
+++ b/helsinki/program/templates/program/timeslot_detail.html
@@ -6,7 +6,11 @@
<body>
<div id="timeslot-detail">
- <div id="show-name">{{ timeslot.show.name }}</div>
+ <h1 id="show-name">{{ timeslot.show.name }}</h1>
+
+ {% if timeslot.show.short_description != 'FIXME' %}
+ <div id="short-description" class="documentDescription">{{ timeslot.show.short_description }}</div>
+ {% endif %}
<div id="abbrevs">
{% for topic in timeslot.show.showtopic.all %}
@@ -38,10 +42,6 @@
{% endfor %}
</div>
- {% if timeslot.show.short_description != 'FIXME' %}
- <div id="short-description">{{ timeslot.show.short_description }}</div>
- {% endif %}
-
<div id="description">{{ timeslot.show.description|safe }}</div>
<div id="note">
@@ -55,4 +55,4 @@
</div>
</body>
-</html> \ No newline at end of file
+</html>