diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-02 14:25:18 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-02 14:25:18 (GMT) |
commit | c2ec66c87e1cc650b0ae5f776173d1795cf1a558 (patch) | |
tree | 2ebe1f9f175059d97314dfbebec9c8dbac2053d9 /templates/program/show_list.html | |
parent | 8c8b20d8b5a882f816605192a675b2c838252c2c (diff) |
cleaned-up templates.
Diffstat (limited to 'templates/program/show_list.html')
-rw-r--r-- | templates/program/show_list.html | 93 |
1 files changed, 54 insertions, 39 deletions
diff --git a/templates/program/show_list.html b/templates/program/show_list.html index 7643087..1f061d0 100644 --- a/templates/program/show_list.html +++ b/templates/program/show_list.html @@ -1,72 +1,87 @@ <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"> + {% 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> |