diff options
Diffstat (limited to 'templates/program/boxes')
-rw-r--r-- | templates/program/boxes/broadcastformat.html | 10 | ||||
-rw-r--r-- | templates/program/boxes/current.html | 42 | ||||
-rw-r--r-- | templates/program/boxes/musicfocus.html | 14 | ||||
-rw-r--r-- | templates/program/boxes/recommendations.html | 22 | ||||
-rw-r--r-- | templates/program/boxes/showinformation.html | 14 | ||||
-rw-r--r-- | templates/program/boxes/showtopic.html | 14 |
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..9f57b60 --- /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> + <a class="filteritem mf-{{ item.abbrev }}" 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..9a08ddc --- /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> + <a class="filteritem si-{{ item.abbrev }}" 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..3dd7e88 --- /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> + <a class="filteritem st-{{ item.abbrev }}" href="?showtopic={{ item.slug }}">{{ item }}</a> + </li> + {% endfor %} + </ul> + </dd> +</dl> +{% endif %} |