summaryrefslogtreecommitdiff
path: root/pv/templates/program/boxes
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2014-02-23 18:02:14 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2014-02-23 18:02:14 (GMT)
commit4590065b6ca9d7698c22277a4da1505486c8b637 (patch)
tree2a76ad1a0c1cced08fdcf2139f1e12796522b090 /pv/templates/program/boxes
parentc95ec9e6bea9e076bda3ae66c4b604f399f5ec86 (diff)
moved things around.
Diffstat (limited to 'pv/templates/program/boxes')
-rw-r--r--pv/templates/program/boxes/broadcastformat.html10
-rw-r--r--pv/templates/program/boxes/current.html60
-rw-r--r--pv/templates/program/boxes/musicfocus.html14
-rw-r--r--pv/templates/program/boxes/recommendations.html40
-rw-r--r--pv/templates/program/boxes/showinformation.html14
-rw-r--r--pv/templates/program/boxes/showtopic.html14
6 files changed, 152 insertions, 0 deletions
diff --git a/pv/templates/program/boxes/broadcastformat.html b/pv/templates/program/boxes/broadcastformat.html
new file mode 100644
index 0000000..76ee382
--- /dev/null
+++ b/pv/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 title="Sendungen mit dem Sendungsformat {{broadcastformat.format}} anzeigen." href="?broadcastformat={{ broadcastformat.slug }}">{{ broadcastformat.format }}</a>
+ </dd>
+ {% endfor %}
+</dl>
+{% endif %}
diff --git a/pv/templates/program/boxes/current.html b/pv/templates/program/boxes/current.html
new file mode 100644
index 0000000..ba1df21
--- /dev/null
+++ b/pv/templates/program/boxes/current.html
@@ -0,0 +1,60 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Current program box</title>
+</head>
+<body>
+
+ {% if previous or current or next or after_next %}
+ <dl id="program-current-box" class="portlet program-box">
+ <dt class="portletHeader">Programm derzeit</dt>
+ <dd class="portletItem">
+ <table>
+ <tr class="previous">
+ <td class="start">{{ previous.start|date:"H:i" }}</td>
+ <td class="format bf-{{ previous.show.broadcastformat.slug }}"
+ title="{{ previous.show.broadcastformat.format }}">&nbsp;</td>
+ <td class="show">
+ <h3><a href="{% url timeslot-detail previous.id %}">{{ previous.show.name }}</a></h3>
+ </td>
+ <td class="show"></td>
+ </tr>
+ <tr class="current">
+ <td class="start">{{ current.start|date:"H:i" }}</td>
+ <td class="format bf-{{ current.show.broadcastformat.slug }}"
+ title="{{ current.show.broadcastformat.format }}">&#x25B6;</td>
+ <td class="show">
+ <h3><a href="{% url timeslot-detail current.id %}">{{ current.show.name }}</a></h3>
+ {% if current.note %}
+ <p>{{ current.note.title }}</p>
+ {% else %}
+ <p>{{ current.show.short_description }}</p>
+ {% endif %}
+ </td>
+ </tr>
+ <tr class="next">
+ <td class="start">{{ next.start|date:"H:i" }}</td>
+ <td class="format bf-{{ next.show.broadcastformat.slug }}"
+ title="{{ next.show.broadcastformat.format }}">&nbsp;</td>
+ <td class="show">
+ <h3><a href="{% url timeslot-detail next.id %}">{{ next.show.name }}</a></h3>
+ </td>
+ <td class="show"></td>
+ </tr>
+ <tr class="after_next">
+ <td class="start">{{ after_next.start|date:"H:i" }}</td>
+ <td class="format bf-{{ after_next.show.broadcastformat.slug }}"
+ title="{{ after_next.show.broadcastformat.format }}">&nbsp;</td>
+ <td class="show">
+ <h3><a href="{% url timeslot-detail after_next.id %}">{{ after_next.show.name }}</a></h3>
+ </td>
+ <td class="show"></td>
+ </tr>
+ </table>
+ </dd>
+ </dl>
+ {% endif %}
+
+</body>
+</html>
diff --git a/pv/templates/program/boxes/musicfocus.html b/pv/templates/program/boxes/musicfocus.html
new file mode 100644
index 0000000..01fffae
--- /dev/null
+++ b/pv/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>
+ <a title="Sendungen mit der Musiktendenz {{item.focus}} anzeigen." class="abbrev mf-{{ item.abbrev }}" href="?musicfocus={{ item.slug }}">{{ item }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </dd>
+</dl>
+{% endif %}
diff --git a/pv/templates/program/boxes/recommendations.html b/pv/templates/program/boxes/recommendations.html
new file mode 100644
index 0000000..2174654
--- /dev/null
+++ b/pv/templates/program/boxes/recommendations.html
@@ -0,0 +1,40 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Recomendations box</title>
+</head>
+<body>
+ {% if recommendation_list %}
+ <dl id="recommendations" class="portlet program-box">
+ <dt class="portletHeader">Programmhinweise</dt>
+ <dd class="portletItem">
+ <table>
+ {% for item in recommendation_list %}
+ <tr>
+ <td class="start">&nbsp;</td>
+ <td class="format bf-{{ item.show.broadcastformat.slug }}"
+ title="{{ item.show.broadcastformat.format }}">&nbsp;</td>
+ <td class="show">
+ {{ item.start|date:"d.m. H:i" }} -
+ {{ item.end|date:"H:i" }}<br />
+ <h3>
+ <a href="{% url timeslot-detail item.id %}">{{ item.show.name }}</a>
+ </h3>
+ <p class="note-title">
+ {% if item.note %}
+ {{ item.note.title }}<br />
+ {% else %}
+ {{ item.show.broadcastformat.format }}<br />
+ {% endif %}
+ <a href="{% url timeslot-detail item.id %}">[weiter]</a>
+ </p>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ </dd>
+ </dl>
+ {% endif %}
+</body>
+</html>
diff --git a/pv/templates/program/boxes/showinformation.html b/pv/templates/program/boxes/showinformation.html
new file mode 100644
index 0000000..ac4dc2c
--- /dev/null
+++ b/pv/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>
+ <a title="Sendungen mit der Information {{item.information}} anzeigen." class="abbrev si-{{ item.abbrev }}" href="?showinformation={{ item.slug }}">{{ item }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </dd>
+</dl>
+{% endif %}
diff --git a/pv/templates/program/boxes/showtopic.html b/pv/templates/program/boxes/showtopic.html
new file mode 100644
index 0000000..3a1938d
--- /dev/null
+++ b/pv/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>
+ <a title="Sendungen mit dem Schwerpunkt {{item.topic}} anzeigen." class="abbrev st-{{ item.abbrev }}" href="?showtopic={{ item.slug }}">{{ item }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </dd>
+</dl>
+{% endif %}