summaryrefslogtreecommitdiff
path: root/templates/program/week_schedule.html
blob: df7b17728803719f021394d363d90bc82b451d3c (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
<html>
<head>
    <title>Week schedule</title>
</head>

<body>

<div id="content-main" class="week-schedule">

    <div id="weekday-starts">&nbsp;</div>
    <div id="monday" class="weekday">
        <h2>{{ monday|date:"l d.m.Y" }}</h2>
        {% for timeslot in monday_timeslots %}
        <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}">
          <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a>
        </div>
        {% endfor %}
    </div>

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

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

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

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

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

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

</body>
</html>