summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-02-27 11:38:02 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-02-27 11:38:02 (GMT)
commit36d8f7e5604f62bb51dcdb4dee4cc013bd0abda2 (patch)
tree8eb8aab36c2ca8f362b0f1bf555b7d229c88a136 /templates
First commit
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html7
-rw-r--r--templates/500.html11
-rw-r--r--templates/base.html11
-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
8 files changed, 240 insertions, 0 deletions
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..6281ba0
--- /dev/null
+++ b/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/templates/500.html b/templates/500.html
new file mode 100644
index 0000000..98074ab
--- /dev/null
+++ b/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/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..2ed539e
--- /dev/null
+++ b/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/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