Skip to content
Snippets Groups Projects
Commit c2ec66c8 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

cleaned-up templates.

parent 8c8b20d8
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,9 @@
{% if current.note %}
<div class="note-title">{{ current.note.title }}</div>
{% else %}
<div class="short-description">{{ current.show.short_description }}</div>
{% if current.show.short_description != 'FIMXE' %}
<div class="short-description">{{ current.show.short_description }}</div>
{% endif %}
{% endif %}
</div>
</div>
......
......@@ -42,7 +42,9 @@
{% 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>
......
<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">{{ host.email }}</div>
<div id="email">E-Mail Adresse: <a href="{{ host.email }}">{{ host.email }}</a></div>
{% endif %}
{% if host.website %}
<div id="website">{{ host.website }}</div>
<div id="website">Website: <a href="{{ host.website }}">{{ host.website }}</a></div>
{% endif %}
</div>
......
<html>
<head>
<title>Host list</title>
<link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
......
<html>
<head>
<title>Recomendations</title>
<link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="recommendations">
{% for note in recommendations %}
<div class="show">
<div class="broadcastformat">{{ note.show.broadcastformat }}</div>
<div class="timeslot">{{ note.timeslot.start }}</div>
<div class="show-name"><a href="{% url show-detail note.show.slug %}">{{ note.show.name }}</a></div>
<div class="show-short-description">{{ note.show.short_description }}</div>
<div class="note-title">{{ note.title }}</div>
<div class="note-content">{{ note.content }}</div>
{% for recommendation in recommendations %}
<div class="recommendation">
<div class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m.Y 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>
......
......@@ -5,7 +5,7 @@
</head>
<body>
<div id="recommendations">
<div id="recommendations-box">
<div id="recommendations-title">Programmhinweise</div>
{% for recommendation in recommendations %}
<div class="recommendation {{ recommendation.show.broadcastformat.slug }}">
......
......@@ -39,9 +39,11 @@
{% endfor %}
</div>
{% if show.short_description != 'FIXME' %}
<div id="short-description">{{ show.short_description }}</div>
{% endif %}
<div id="description">{{ show.description }}</div>
<div id="description">{{ show.description|safe }}</div>
{% if show.email %}
<div id="email"><a href="mailto:{{ show.email }}">{{ show.email }}</a></div>
......
<html>
<head>
<title>Show list</title>
<link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="showtopic-list">
{% for topic in showtopics %}
<div class="showtopic">
<span class="abbrev">{{ topic.abbrev }}</span>
<span class="topic">{{ topic }}</span>
<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>
{% endfor %}
</div>
<div id="showinformation-list">
{% for information in showinformations %}
<div class="showinformation">
<span class="abbrev">{{ information.abbrev }}</span>
<span class="information">{{ information }}</span>
<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>
{% endfor %}
</div>
<div id="musicfocus-list">
{% for focus in musicfoci %}
<div class="musicfocus">
<span class="abbrev">{{ focus.abbrev }}</span>
<span class="focus">{{ focus }}</span>
<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>
{% endfor %}
</div>
<div id="show-list">
<div id="shows">
{% for show in shows %}
<div class="show">
<div class="abbrevs">
{% for topic in show.showtopic.all %}
<div class="abbrevs">&nbsp;
{% for topic in show.showtopic.all %}
<span class="topic-abbrev">{{ topic.abbrev }}</span>
{% endfor %}
{% endfor %}
{% for information in show.showinformation.all %}
{% for information in show.showinformation.all %}
<span class="information-abbrev">{{ information.abbrev }}</span>
{% endfor %}
{% endfor %}
{% for focus in show.musicfocus.all %}
{% for focus in show.musicfocus.all %}
<span class="focus-abbrev">{{ focus.abbrev }}</span>
{% endfor %}
{% endfor %}
<span class="broadcastformat-abbrev">{{ show.broadcastformat.abbrev }}</span>
</div>
<div class="name"><a href="{% url show-detail show.slug %} ">{{ show.name }}</a></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>
<div class="programslots">
{% for slot in show.programslots.all %}
<div class="programslot">{{ slot }}</div>
{% endfor %}
</div>
<div class="short-description">{{ show.short_description }}</div>
{% if show.short_description != 'FIXME' %}
<div class="short-description">{{ show.short_description }}</div>
{% endif %}
</div>
</div>
{% endfor %}
</div>
<div id="broadcastformat-list">
{% for format in broadcastformats %}
<div class="broadcastformat">{{ format }}</div>
{% endfor %}
<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>
<head>
<title>Timeslot detail: {{ timeslot }}</title>
<link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="calendar"></div>
<div id="timeslot-detail">
<div id="name">{{ timeslot.show.name }}</div>
<div id="show-name">{{ timeslot.show.name }}</div>
<div id="abbrevs">
{% for topic in timeslot.show.showtopic.all %}
......@@ -35,19 +34,21 @@
<div id="hosts">
{% for host in timeslot.show.hosts.all %}
<div class="host">{{ host }}</div>
<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 }}</div>
<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 }}</div>
<div class="content">{{ timeslot.note.content|safe }}</div>
</div>
{% endif %}
</div>
......
<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="time">
<div class="1hour">06:00</div>
<div class="1hour">07:00</div>
<div class="1hour">08:00</div>
<div class="1hour">09:00</div>
<div class="1hour">10:00</div>
<div class="1hour">11:00</div>
<div class="1hour">12:00</div>
<div class="1hour">13:00</div>
<div class="1hour">14:00</div>
<div class="1hour">15:00</div>
<div class="1hour">16:00</div>
<div class="1hour">17:00</div>
<div class="1hour">18:00</div>
<div class="1hour">19:00</div>
<div class="1hour">20:00</div>
<div class="1hour">21:00</div>
<div class="1hour">22:00</div>
<div class="1hour">23:00</div>
<div class="1hour">00:00</div>
<div class="1hour">01:00</div>
<div class="1hour">02:00</div>
<div class="1hour">03:00</div>
<div class="1hour">04:00</div>
<div class="1hour">05:00</div>
</div>
<div id="monday">
<div class="weekday">{{ monday|date:"l d.m.Y" }}</div>
{% for timeslot in monday_timeslots %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment