summaryrefslogtreecommitdiff
path: root/templates/program/show_list.html
blob: 1f061d0afbae207974933ccdd4f04771474a5aec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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>