summaryrefslogtreecommitdiff
path: root/templates/program
diff options
context:
space:
mode:
Diffstat (limited to 'templates/program')
-rw-r--r--templates/program/host_detail.html13
-rw-r--r--templates/program/host_list.html15
-rw-r--r--templates/program/show_detail.html54
-rw-r--r--templates/program/show_list.html76
-rw-r--r--templates/program/timeslot_detail.html53
5 files changed, 211 insertions, 0 deletions
diff --git a/templates/program/host_detail.html b/templates/program/host_detail.html
new file mode 100644
index 0000000..a632a20
--- /dev/null
+++ b/templates/program/host_detail.html
@@ -0,0 +1,13 @@
+<html>
+<head>
+ <title>Host detail: {{ host.name }}</title>
+</head>
+<body>
+
+<div id="host-detail">
+ {{ host.name }}
+ {{ host.email }}
+ {{ host.website }}
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/templates/program/host_list.html b/templates/program/host_list.html
new file mode 100644
index 0000000..fb19e47
--- /dev/null
+++ b/templates/program/host_list.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+ <title>Host list</title>
+</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/templates/program/show_detail.html b/templates/program/show_detail.html
new file mode 100644
index 0000000..4de24c5
--- /dev/null
+++ b/templates/program/show_detail.html
@@ -0,0 +1,54 @@
+<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.show_topic.all %}
+ <span class="topic-abbrev">{{ topic.abbrev }}</span>
+ {% endfor %}
+ {% for information in show.show_information.all %}
+ <span class="information-abbrev">{{ information.abbrev }}</span>
+ {% endfor %}
+ {% for focus in show.music_focus.all %}
+ <span class="focus-abbrev">{{ focus.abbrev }}</span>
+ {% endfor %}
+ <span class="broadcast-format-abbrev">{{ show.broadcast_format.abbrev }}</span>
+ </div>
+
+ <div id="program-slots">
+ {% for slot in show.program_slots.all %}
+ <div class="program-slot">{{ slot }}</div>
+ {% endfor %}
+ </div>
+
+ <div id="broadcast-format">{{ show.broadcast_format.format }}</div>
+
+ <div id="hosts">
+ {% for host in show.hosts.all %}
+ <div class="host">{{ host }}</div>
+ {% endfor %}
+ </div>
+
+ <div id="short-description">{{ show.short_description }}</div>
+ <div id="description">{{ show.description }}</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/templates/program/show_list.html b/templates/program/show_list.html
new file mode 100644
index 0000000..09bfa04
--- /dev/null
+++ b/templates/program/show_list.html
@@ -0,0 +1,76 @@
+<html>
+<head>
+ <title>Show list</title>
+</head>
+<body>
+
+<div id="show-topic-list">
+ {% for topic in show_topic_list %}
+ <div class="show-topic">
+ <span class="abbrev">{{ topic.abbrev }}</span>
+ <span class="topic">{{ topic }}</span>
+ </div>
+ {% endfor %}
+</div>
+
+<div id="show-information-list">
+ {% for information in show_information_list %}
+ <div class="show-information">
+ <span class="abbrev">{{ information.abbrev }}</span>
+ <span class="information">{{ information }}</span>
+ </div>
+ {% endfor %}
+</div>
+
+<div id="music-focus-list">
+ {% for focus in music_focus_list %}
+ <div class="music-focus">
+ <span class="abbrev">{{ focus.abbrev }}</span>
+ <span class="focus">{{ focus }}</span>
+ </div>
+ {% endfor %}
+</div>
+
+<div id="show-list">
+ {% for show in show_list %}
+ <div class="show">
+ <div class="abbrevs">
+ {% for topic in show.show_topic.all %}
+ <span class="topic-abbrev">{{ topic.abbrev }}</span>
+ {% endfor %}
+
+ {% for information in show.show_information.all %}
+ <span class="information-abbrev">{{ information.abbrev }}</span>
+ {% endfor %}
+
+ {% for focus in show.music_focus.all %}
+ <span class="focus-abbrev">{{ focus.abbrev }}</span>
+ {% endfor %}
+
+ <span class="broadcast-format-abbrev">{{ show.broadcast_format.abbrev }}</span>
+ </div>
+ <div class="name">
+ <a href="{% url show-detail show.slug %} ">{{ show.name }}</a>
+ </div>
+ <div class="program-slots">
+ {% for slot in show.program_slots.all %}
+ <div class="program-slot">{{ slot }}</div>
+ {% endfor %}
+ </div>
+ <div class="short-description">
+ {{ show.short_description }}
+ </div>
+ </div>
+ {% endfor %}
+</div>
+
+<div id="broadcast-format-list">
+ {% for format in broadcast_format_list %}
+ <div class="broadcast-format">
+ {{ format }}
+ </div>
+ {% endfor %}
+</div>
+
+</body>
+</html> \ No newline at end of file
diff --git a/templates/program/timeslot_detail.html b/templates/program/timeslot_detail.html
new file mode 100644
index 0000000..d589f0e
--- /dev/null
+++ b/templates/program/timeslot_detail.html
@@ -0,0 +1,53 @@
+<html>
+<head>
+ <title>Timeslot detail: {{ timeslot }}</title>
+</head>
+<body>
+
+<div id="calendar"></div>
+
+<div id="timeslot-detail">
+ <div id="name">{{ timeslot.show.name }}</div>
+
+ <div id="abbrevs">
+ {% for topic in timeslot.show.show_topic.all %}
+ <span class="topic-abbrev">{{ topic.abbrev }}</span>
+ {% endfor %}
+ {% for information in timeslot.show.show_information.all %}
+ <span class="information-abbrev">{{ information.abbrev }}</span>
+ {% endfor %}
+ {% for focus in timeslot.show.music_focus.all %}
+ <span class="focus-abbrev">{{ focus.abbrev }}</span>
+ {% endfor %}
+ <span class="broadcast-format-abbrev">{{ timeslot.show.broadcast_format.abbrev }}</span>
+ </div>
+
+ <div id="program-slots">
+ {% for slot in timeslot.show.program_slots.all %}
+ <div class="program-slot">{{ slot }}</div>
+ {% endfor %}
+ </div>
+
+ <div id="broadcast-format">{{ timeslot.show.broadcast_format.format }}</div>
+
+ <div id="hosts">
+ {% for host in timeslot.show.hosts.all %}
+ <div class="host">{{ host }}</div>
+ {% endfor %}
+ </div>
+
+ <div id="short-description">{{ timeslot.show.short_description }}</div>
+ <div id="description">{{ timeslot.show.description }}</div>
+
+ <div id="note">
+ {% if timeslot.note %}
+ <div class="note">
+ <div class="title">{{ timeslot.note.title }}</div>
+ <div class="content">{{ timeslot.note.content }}</div>
+ </div>
+ {% endif %}
+ </div>
+</div>
+
+</body>
+</html> \ No newline at end of file