summaryrefslogtreecommitdiff
path: root/templates/program/boxes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/program/boxes')
-rw-r--r--templates/program/boxes/broadcastformat.html10
-rw-r--r--templates/program/boxes/current.html42
-rw-r--r--templates/program/boxes/musicfocus.html14
-rw-r--r--templates/program/boxes/recommendations.html22
-rw-r--r--templates/program/boxes/showinformation.html14
-rw-r--r--templates/program/boxes/showtopic.html14
6 files changed, 116 insertions, 0 deletions
diff --git a/templates/program/boxes/broadcastformat.html b/templates/program/boxes/broadcastformat.html
new file mode 100644
index 0000000..3ae00e1
--- /dev/null
+++ b/templates/program/boxes/broadcastformat.html
@@ -0,0 +1,10 @@
+{% if broadcastformats %}
+<dl id="broadcastformat" class="portlet">
+ <dt class="portletHeader"><span>Legende<span></dt>
+ {% for broadcastformat in broadcastformats %}
+ <dd class="portletItem bcformat bf-{{ broadcastformat.slug }}">
+ <a href="../?broadcastformat={{ broadcastformat.slug }}">{{ broadcastformat.format }}</a>
+ </dd>
+ {% endfor %}
+</dl>
+{% endif %}
diff --git a/templates/program/boxes/current.html b/templates/program/boxes/current.html
new file mode 100644
index 0000000..a2341d3
--- /dev/null
+++ b/templates/program/boxes/current.html
@@ -0,0 +1,42 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Current program box</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+
+ {% if current or next or after_next %}
+ <dl class="portlet program-current">
+ <dt class="portletHeader">Programm derzeit</dt>
+ <dd class="portletItem current-timeslot">
+ <div class="start">{{ current.start|date:"H:i" }}</div>
+ <div class="show {{ current.show.broadcastformat.slug }}">
+ <div class="name"><a href="{% url timeslot-detail current.id %}">{{ current.show.name }}</a></div>
+ {% if current.note %}
+ <div class="note-title">{{ current.note.title }}</div>
+ {% else %}
+ {% if current.show.short_description != 'FIXME' %}
+ <div class="short-description">{{ current.show.short_description }}</div>
+ {% endif %}
+ {% endif %}
+ </div>
+ </dd>
+ <dd class="portletItem next-timeslot">
+ <div class="start">{{ next.start|date:"H:i" }}</div>
+ <div class="show {{ next.show.broadcastformat.slug }}">
+ <div class="name"><a href="{% url timeslot-detail next.id %}">{{ next.show.name }}</a></div>
+ </div>
+ </dd>
+ <dd class="portletItem next-timeslot">
+ <div class="start">{{ after_next.start|date:"H:i" }}</div>
+ <div class="show {{ after_next.show.broadcastformat.slug }}">
+ <div class="name"><a href="{% url timeslot-detail after_next.id %}">{{ after_next.show.name }}</div></a>
+ </div>
+ </dd>
+ </dl>
+ {% endif %}
+
+</body>
+</html>
diff --git a/templates/program/boxes/musicfocus.html b/templates/program/boxes/musicfocus.html
new file mode 100644
index 0000000..7b78f81
--- /dev/null
+++ b/templates/program/boxes/musicfocus.html
@@ -0,0 +1,14 @@
+{% if musicfoci %}
+<dl id="filterbox_musicfocus" class="portlet filterbox">
+ <dt class="portletHeader"><span>Musiktendenz<span></dt>
+ <dd class="portletItem">
+ <ul>
+ {% for item in musicfoci %}
+ <li class="mf-{{ item.abbrev }}">
+ <a href="../?musicfocus={{ item.slug }}">{{ item }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </dd>
+</dl>
+{% endif %}
diff --git a/templates/program/boxes/recommendations.html b/templates/program/boxes/recommendations.html
new file mode 100644
index 0000000..abcbe03
--- /dev/null
+++ b/templates/program/boxes/recommendations.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Recomendations box</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+ {% if recommendation_list %}
+ <dl id="recommendations" class="portlet program-recommendations">
+ <dt class="portletHeader">Programmhinweise</dt>
+ {% for recommendation in recommendation_list %}
+ <dd class="portletItem program-recommendation {{ recommendation.show.broadcastformat.slug }}">
+ <h3 class="show-name"><a href="{% url show-detail recommendation.show.slug %}">{{ recommendation.show.name }}</a></h3>
+ <p class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m. H:i" }}-{{ recommendation.timeslot.end|date:"H:i" }}</p>
+ <p class="note-title"><a href="{% url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></p>
+ </dd>
+ {% endfor %}
+ </dl>
+ {% endif %}
+</body>
+</html>
diff --git a/templates/program/boxes/showinformation.html b/templates/program/boxes/showinformation.html
new file mode 100644
index 0000000..bff9486
--- /dev/null
+++ b/templates/program/boxes/showinformation.html
@@ -0,0 +1,14 @@
+{% if showinformations %}
+<dl id="filterbox_showinformation" class="portlet filterbox">
+ <dt class="portletHeader"><span>Sendungsinfo<span></dt>
+ <dd class="portletItem">
+ <ul>
+ {% for item in showinformations %}
+ <li class="si-{{ item.abbrev }}">
+ <a href="../?showinformation={{ item.slug }}">{{ item }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </dd>
+</dl>
+{% endif %}
diff --git a/templates/program/boxes/showtopic.html b/templates/program/boxes/showtopic.html
new file mode 100644
index 0000000..b545476
--- /dev/null
+++ b/templates/program/boxes/showtopic.html
@@ -0,0 +1,14 @@
+{% if showtopics %}
+<dl id="filterbox_showtopic" class="portlet filterbox">
+ <dt class="portletHeader"><span>Thema / Schwerpunkt<span></dt>
+ <dd class="portletItem">
+ <ul>
+ {% for item in showtopics %}
+ <li class="st-{{ item.abbrev }}">
+ <a href="../?showtopic={{ item.slug }}">{{ item }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </dd>
+</dl>
+{% endif %}