summaryrefslogtreecommitdiff
path: root/templates/program/week_schedule.html
blob: f6e8f5734cccea7023c31d6cf7e54614ed9b44d2 (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
<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="monday">
        <div class="weekday">{{ monday|date:"l d.m.Y" }}</div>
        {% for timeslot in monday_timeslots %}
            <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
        {% endfor %}
    </div>

    <div id="tuesday">
        <div class="weekday">{{ tuesday|date:"l d.m.Y" }}</div>
        {% for timeslot in tuesday_timeslots %}
            <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
        {% endfor %}
    </div>

    <div id="wednesday">
        <div class="weekday">{{ wednesday|date:"l d.m.Y" }}</div>
        {% for timeslot in wednesday_timeslots %}
            <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
        {% endfor %}
    </div>

    <div id="thursday">
        <div class="weekday">{{ thursday|date:"l d.m.Y" }}</div>
        {% for timeslot in thursday_timeslots %}
            <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
        {% endfor %}
    </div>

    <div id="friday">
        <div class="weekday">{{ friday|date:"l d.m.Y" }}</div>
        {% for timeslot in friday_timeslots %}
            <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
        {% endfor %}
    </div>

    <div id="saturday">
        <div class="weekday">{{ saturday|date:"l d.m.Y" }}</div>
        {% for timeslot in saturday_timeslots %}
            <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
        {% endfor %}
    </div>

    <div id="sunday">
        <div class="weekday">{{ sunday|date:"l d.m.Y" }}</div>
        {% for timeslot in sunday_timeslots %}
            <div class="timeslot {{ timeslot.show.broadcastformat.slug }}"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
        {% endfor %}
    </div>
</div>

</body>
</html>