summaryrefslogtreecommitdiff
path: root/helsinki/program/templates
diff options
context:
space:
mode:
Diffstat (limited to 'helsinki/program/templates')
-rw-r--r--helsinki/program/templates/404.html7
-rw-r--r--helsinki/program/templates/500.html11
-rw-r--r--helsinki/program/templates/base.html11
-rw-r--r--helsinki/program/templates/program/current_box.html42
-rw-r--r--helsinki/program/templates/program/day_schedule.html65
-rw-r--r--helsinki/program/templates/program/host_detail.html29
-rw-r--r--helsinki/program/templates/program/host_list.html17
-rw-r--r--helsinki/program/templates/program/recommendations.html24
-rw-r--r--helsinki/program/templates/program/recommendations_box.html22
-rw-r--r--helsinki/program/templates/program/show_detail.html62
-rw-r--r--helsinki/program/templates/program/show_list.html88
-rw-r--r--helsinki/program/templates/program/timeslot_detail.html58
-rw-r--r--helsinki/program/templates/program/week_schedule.html61
-rw-r--r--helsinki/program/templates/search/indexes/program/note_text.txt2
-rw-r--r--helsinki/program/templates/search/indexes/program/show_text.txt3
15 files changed, 502 insertions, 0 deletions
diff --git a/helsinki/program/templates/404.html b/helsinki/program/templates/404.html
new file mode 100644
index 0000000..6281ba0
--- /dev/null
+++ b/helsinki/program/templates/404.html
@@ -0,0 +1,7 @@
+{% extends "base.html" %}
+
+{% block title %}Seite nicht gefunden{% endblock %}
+
+{% block content %}
+ <p>Es tut uns leid, aber die angeforderte Seite konnte nicht gefunden werden.</p>
+{% endblock %} \ No newline at end of file
diff --git a/helsinki/program/templates/500.html b/helsinki/program/templates/500.html
new file mode 100644
index 0000000..98074ab
--- /dev/null
+++ b/helsinki/program/templates/500.html
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+
+{% block title %}Serverfehler{% endblock %}
+
+{% block content %}
+ <p>
+ Ein Fehler ist aufgetreten.
+ Dieser Fehler wurde an die Serververwalter per E-Mail gemeldet und sollte in Kürze behoben sein.
+ Vielen Dank für Ihr Verständnis.
+ </p>
+{% endblock %} \ No newline at end of file
diff --git a/helsinki/program/templates/base.html b/helsinki/program/templates/base.html
new file mode 100644
index 0000000..2ed539e
--- /dev/null
+++ b/helsinki/program/templates/base.html
@@ -0,0 +1,11 @@
+<html>
+
+<head>
+ <title>{% block title %}{% endblock %}</title>
+</head>
+
+<body>
+{% block content %}{% endblock %}
+</body>
+
+</html> \ No newline at end of file
diff --git a/helsinki/program/templates/program/current_box.html b/helsinki/program/templates/program/current_box.html
new file mode 100644
index 0000000..a2341d3
--- /dev/null
+++ b/helsinki/program/templates/program/current_box.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/helsinki/program/templates/program/day_schedule.html b/helsinki/program/templates/program/day_schedule.html
new file mode 100644
index 0000000..3e7d4bc
--- /dev/null
+++ b/helsinki/program/templates/program/day_schedule.html
@@ -0,0 +1,65 @@
+<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 %}
+ {% if timeslot.show.short_description != 'FIXME' %}
+ <div class="short-description">{{ timeslot.show.short_description }}</div>
+ {% endif %}
+ {% 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
diff --git a/helsinki/program/templates/program/host_detail.html b/helsinki/program/templates/program/host_detail.html
new file mode 100644
index 0000000..eff52d6
--- /dev/null
+++ b/helsinki/program/templates/program/host_detail.html
@@ -0,0 +1,29 @@
+<html>
+<head>
+ <title>Host detail: {{ host.name }}</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+
+<div id="host-detail">
+ <div id="name">{{ host.name }}</div>
+
+ <div id="shows">
+ <div id="shows-title">Sendungen</div>
+
+ {% for show in host.shows.all %}
+ <div class="show {{ show.broadcastformat.slug }}"><a href="{% url show-detail show.slug %}">{{ show }}</a></div>
+ {% endfor %}
+ </div>
+
+ {% if host.email %}
+ <div id="email">E-Mail Adresse: <a href="{{ host.email }}">{{ host.email }}</a></div>
+ {% endif %}
+
+ {% if host.website %}
+ <div id="website">Website: <a href="{{ host.website }}">{{ host.website }}</a></div>
+ {% endif %}
+</div>
+
+</body>
+</html> \ No newline at end of file
diff --git a/helsinki/program/templates/program/host_list.html b/helsinki/program/templates/program/host_list.html
new file mode 100644
index 0000000..5ab5c3f
--- /dev/null
+++ b/helsinki/program/templates/program/host_list.html
@@ -0,0 +1,17 @@
+<html>
+<head>
+ <title>Host list</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+
+<div id="host-list">
+{% for host in host_list %}
+ <div class="host">
+ <a href="{% url host-detail host.id %}">{{ host.name }}</a>
+ </div>
+{% endfor %}
+</div>
+
+</body>
+</html> \ No newline at end of file
diff --git a/helsinki/program/templates/program/recommendations.html b/helsinki/program/templates/program/recommendations.html
new file mode 100644
index 0000000..c34d5e5
--- /dev/null
+++ b/helsinki/program/templates/program/recommendations.html
@@ -0,0 +1,24 @@
+<html>
+<head>
+ <title>Recomendations</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+
+<div id="recommendations">
+ <div id="recommendations-title">Programmhinweise</div>
+{% for recommendation in recommendation_list %}
+ <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>
+ {% if recommendation.show.short_description != 'FIXME' %}
+ <div class="show-short-description">{{ recommendation.show.short_description }}</div>
+ {% endif %}
+ <div class="note-title"><a href="{% url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></div>
+ <div class="note-content">{{ recommendation.content|safe}}</div>
+ </div>
+{% endfor %}
+</div>
+
+</body>
+</html> \ No newline at end of file
diff --git a/helsinki/program/templates/program/recommendations_box.html b/helsinki/program/templates/program/recommendations_box.html
new file mode 100644
index 0000000..5a0f40d
--- /dev/null
+++ b/helsinki/program/templates/program/recommendations_box.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 recommendations %}
+ <dl id="recommendations" class="portlet program-recommendations">
+ <dt class="portletHeader">Programmhinweise</dt>
+ {% for recommendation in recommendations %}
+ <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/helsinki/program/templates/program/show_detail.html b/helsinki/program/templates/program/show_detail.html
new file mode 100644
index 0000000..9cd2d8e
--- /dev/null
+++ b/helsinki/program/templates/program/show_detail.html
@@ -0,0 +1,62 @@
+<html>
+<head>
+ <title>Show detail: {{ show.name }}</title>
+</head>
+<body>
+
+<div id="calendar"></div>
+
+<div id="show-detail">
+ <div id="name">{{ show.name }}</div>
+
+ <div id="abbrevs">
+ {% for topic in show.showtopic.all %}
+ <span class="topic-abbrev">{{ topic.abbrev }}</span>
+ {% endfor %}
+
+ {% for information in show.showinformation.all %}
+ <span class="information-abbrev">{{ information.abbrev }}</span>
+ {% endfor %}
+
+ {% for focus in show.musicfocus.all %}
+ <span class="focus-abbrev">{{ focus.abbrev }}</span>
+ {% endfor %}
+
+ <span class="broadcastformat-abbrev">{{ show.broadcastformat.abbrev }}</span>
+ </div>
+
+ <div id="programslots">
+ {% for slot in show.programslots.all %}
+ <div class="programslot">{{ slot }}</div>
+ {% endfor %}
+ </div>
+
+ <div id="broadcastformat">{{ show.broadcastformat.format }}</div>
+
+ <div id="hosts">
+ {% for host in show.hosts.all %}
+ <div class="host">{{ host }}</div>
+ {% endfor %}
+ </div>
+
+ {% if show.short_description != 'FIXME' %}
+ <div id="short-description">{{ show.short_description }}</div>
+ {% endif %}
+
+ <div id="description">{{ show.description|safe }}</div>
+
+ {% if show.email %}
+ <div id="email"><a href="mailto:{{ show.email }}">{{ show.email }}</a></div>
+ {% endif %}
+
+ {% if show.website %}
+ <div id="website"><a href="{{ show.website }}">{{ show.website }}</a></div>
+ {% endif %}
+
+ {% if show.cba_series_id %}
+ <div id="cba-series-id"><a href="http://cba.fro.at/series/{{ show.cba_series_id }}">CBA</a></div>
+ {% endif %}
+</div>
+
+</body>
+</html> \ No newline at end of file
diff --git a/helsinki/program/templates/program/show_list.html b/helsinki/program/templates/program/show_list.html
new file mode 100644
index 0000000..1f061d0
--- /dev/null
+++ b/helsinki/program/templates/program/show_list.html
@@ -0,0 +1,88 @@
+<html>
+<head>
+ <title>Show list</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+
+<div id="filter">
+ <div id="filter-title">Filter</div>
+
+ <div id="showtopics">
+ <div id="showtopics-title">Thema/Schwerpunkt</div>
+ {% for topic in showtopics %}
+ <div class="showtopic">
+ <span class="abbrev">{{ topic.abbrev }}</span>
+ <span class="topic"><a href="?showtopic={{ topic.slug }}">{{ topic }}</a></span>
+ </div>
+ {% endfor %}
+ </div>
+
+ <div id="showinformations">
+ <div id="showinformations-title"></div>
+ {% for information in showinformations %}
+ <div class="showinformation">
+ <span class="abbrev">{{ information.abbrev }}</span>
+ <span class="information"><a href="?showinformation={{ information.slug }}">{{ information }}</a></span>
+ </div>
+ {% endfor %}
+ </div>
+
+ <div id="musicfoci">
+ <div id="musicfoci-title">Musiktendenz</div>
+ {% for focus in musicfoci %}
+ <div class="musicfocus">
+ <span class="abbrev">{{ focus.abbrev }}</span>
+ <span class="focus"><a href="?musicfocus={{ focus.slug }}">{{ focus }}</a></span>
+ </div>
+ {% endfor %}
+ </div>
+</div>
+
+<div id="shows">
+{% for show in shows %}
+ <div class="show">
+ <div class="abbrevs">&nbsp;
+ {% for topic in show.showtopic.all %}
+ <span class="topic-abbrev">{{ topic.abbrev }}</span>
+ {% endfor %}
+
+ {% for information in show.showinformation.all %}
+ <span class="information-abbrev">{{ information.abbrev }}</span>
+ {% endfor %}
+
+ {% for focus in show.musicfocus.all %}
+ <span class="focus-abbrev">{{ focus.abbrev }}</span>
+ {% endfor %}
+
+ <span class="broadcastformat-abbrev">{{ show.broadcastformat.abbrev }}</span>
+ </div>
+
+ <div class="details">
+ <div class="name"><a href="{% url show-detail show.slug %}">{{ show.name }}</a></div>
+
+ <div class="programslots">
+ {% for slot in show.programslots.all %}
+ <div class="programslot">{{ slot }}</div>
+ {% endfor %}
+ </div>
+
+ {% if show.short_description != 'FIXME' %}
+ <div class="short-description">{{ show.short_description }}</div>
+ {% endif %}
+ </div>
+ </div>
+{% endfor %}
+</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
diff --git a/helsinki/program/templates/program/timeslot_detail.html b/helsinki/program/templates/program/timeslot_detail.html
new file mode 100644
index 0000000..f8dee29
--- /dev/null
+++ b/helsinki/program/templates/program/timeslot_detail.html
@@ -0,0 +1,58 @@
+<html>
+<head>
+ <title>Timeslot detail: {{ timeslot }}</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+
+<div id="timeslot-detail">
+ <div id="show-name">{{ timeslot.show.name }}</div>
+
+ <div id="abbrevs">
+ {% for topic in timeslot.show.showtopic.all %}
+ <span class="topic-abbrev">{{ topic.abbrev }}</span>
+ {% endfor %}
+
+ {% for information in timeslot.show.showinformation.all %}
+ <span class="information-abbrev">{{ information.abbrev }}</span>
+ {% endfor %}
+
+ {% for focus in timeslot.show.musicfocus.all %}
+ <span class="focus-abbrev">{{ focus.abbrev }}</span>
+ {% endfor %}
+
+ <span class="broadcastformat-abbrev">{{ timeslot.show.broadcastformat.abbrev }}</span>
+ </div>
+
+ <div id="programslots">
+ {% for slot in timeslot.show.programslots.all %}
+ <div class="programslot">{{ slot }}</div>
+ {% endfor %}
+ </div>
+
+ <div id="broadcastformat">{{ timeslot.show.broadcastformat.format }}</div>
+
+ <div id="hosts">
+ {% for host in timeslot.show.hosts.all %}
+ <div class="host"><a href="{% url host-detail host.id %}">{{ host }}</a></div>
+ {% 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">
+ {% if timeslot.note %}
+ <div class="note">
+ <div class="title">{{ timeslot.note.title }}</div>
+ <div class="content">{{ timeslot.note.content|safe }}</div>
+ </div>
+ {% endif %}
+ </div>
+</div>
+
+</body>
+</html> \ No newline at end of file
diff --git a/helsinki/program/templates/program/week_schedule.html b/helsinki/program/templates/program/week_schedule.html
new file mode 100644
index 0000000..f6e8f57
--- /dev/null
+++ b/helsinki/program/templates/program/week_schedule.html
@@ -0,0 +1,61 @@
+<html>
+<head>
+ <title>Week schedule</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+
+<div id="week-schedule">
+ <div id="monday">
+ <div class="weekday">{{ monday|date:"l d.m.Y" }}</div>
+ {% for timeslot in monday_timeslots %}
+ <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
+ {% endfor %}
+ </div>
+
+ <div id="tuesday">
+ <div class="weekday">{{ tuesday|date:"l d.m.Y" }}</div>
+ {% for timeslot in tuesday_timeslots %}
+ <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
+ {% endfor %}
+ </div>
+
+ <div id="wednesday">
+ <div class="weekday">{{ wednesday|date:"l d.m.Y" }}</div>
+ {% for timeslot in wednesday_timeslots %}
+ <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
+ {% endfor %}
+ </div>
+
+ <div id="thursday">
+ <div class="weekday">{{ thursday|date:"l d.m.Y" }}</div>
+ {% for timeslot in thursday_timeslots %}
+ <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
+ {% endfor %}
+ </div>
+
+ <div id="friday">
+ <div class="weekday">{{ friday|date:"l d.m.Y" }}</div>
+ {% for timeslot in friday_timeslots %}
+ <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
+ {% endfor %}
+ </div>
+
+ <div id="saturday">
+ <div class="weekday">{{ saturday|date:"l d.m.Y" }}</div>
+ {% for timeslot in saturday_timeslots %}
+ <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
+ {% endfor %}
+ </div>
+
+ <div id="sunday">
+ <div class="weekday">{{ sunday|date:"l d.m.Y" }}</div>
+ {% for timeslot in sunday_timeslots %}
+ <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
+ {% endfor %}
+ </div>
+</div>
+
+</body>
+</html>
diff --git a/helsinki/program/templates/search/indexes/program/note_text.txt b/helsinki/program/templates/search/indexes/program/note_text.txt
new file mode 100644
index 0000000..2421b4f
--- /dev/null
+++ b/helsinki/program/templates/search/indexes/program/note_text.txt
@@ -0,0 +1,2 @@
+{{ object.title }}
+{{ object.content }} \ No newline at end of file
diff --git a/helsinki/program/templates/search/indexes/program/show_text.txt b/helsinki/program/templates/search/indexes/program/show_text.txt
new file mode 100644
index 0000000..f08b515
--- /dev/null
+++ b/helsinki/program/templates/search/indexes/program/show_text.txt
@@ -0,0 +1,3 @@
+{{ object.name }}
+{{ object.description }}
+{{ object.short_description }} \ No newline at end of file