summaryrefslogtreecommitdiff
path: root/program/templates/week_schedule.html
blob: d64a0d32bb32b0088cd182a26d715b0a5f2416d7 (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<html>
<head>
    <title>Wochenansicht &mdash; Radio Helsinki - Freies Radio Graz</title>
</head>

<body>

<div id="content-main" class="week-schedule">
    <table class="week-navigation">
        <tr>
            <td><a href="/program/{{ last_w }}">&lt;--</a></td>
            <td class="current">{{ cur_w }}</td>
            <td><a href="/program/{{ next_w1 }}">{{ next_w1 }}</a></td>
            <td><a href="/program/{{ next_w2 }}">{{ next_w2 }}</a></td>
            <td><a href="/program/{{ next_w3 }}">{{ next_w3 }}</a></td>
            <td><a href="/program/{{ next_w4 }}">{{ next_w4 }}</a></td>
            <td><a href="/program/{{ next_w1 }}">--&gt;</a></td>
        </tr>
    </table>
    <div class="weekday-starts weekday-starts-left">
        <div style="height: 43px;">&nbsp;</div>
        <div style="height: 60px;">06:00</div>
        <div style="height: 60px;">07:00</div>
        <div style="height: 60px;">08:00</div>
        <div style="height: 60px;">09:00</div>
        <div style="height: 60px;">10:00</div>
        <div style="height: 60px;">11:00</div>
        {% if current_year == '2020' and current_week >= '05' %}
        <div style="height: 30px;">12:00</div>
        <div style="height: 55px;">12:05</div>
        {% else %}
        <div style="height: 60px;">12:00</div>
        {% endif %}
        <div style="height: 60px;">13:00</div>
        <div style="height: 60px;">14:00</div>
        <div style="height: 60px;">15:00</div>
        <div style="height: 60px;">16:00</div>
        <div style="height: 60px;">17:00</div>
        <div style="height: 60px;">18:00</div>
        <div style="height: 60px;">19:00</div>
        <div style="height: 60px;">20:00</div>
        <div style="height: 60px;">21:00</div>
        <div style="height: 60px;">22:00</div>
        <div style="height: 60px;">23:00</div>
        <div style="height: 60px;">00:00</div>
        <div style="height: 60px;">01:00</div>
        <div style="height: 60px;">02:00</div>
        <div style="height: 60px;">03:00</div>
        <div style="height: 60px;">04:00</div>
        <div style="height: 60px;">05:00</div>
    </div>
    <div id="monday" class="weekday weekday-first">
        <h2>{{ monday|date:"l d.m.Y" }}</h2>
        {% for timeslot in monday_timeslots %}
            {% include "week_schedule_timeslot.html" %}
        {% endfor %}
    </div>

    <div id="tuesday" class="weekday">
        <h2>{{ tuesday|date:"l d.m.Y" }}</h2>
        {% for timeslot in tuesday_timeslots %}
            {% include "week_schedule_timeslot.html" %}
        {% endfor %}
    </div>

    <div id="wednesday" class="weekday">
        <h2>{{ wednesday|date:"l d.m.Y" }}</h2>
        {% for timeslot in wednesday_timeslots %}
            {% include "week_schedule_timeslot.html" %}
        {% endfor %}
    </div>

    <div id="thursday" class="weekday">
        <h2>{{ thursday|date:"l d.m.Y" }}</h2>
        {% for timeslot in thursday_timeslots %}
            {% include "week_schedule_timeslot.html" %}
        {% endfor %}
    </div>

    <div id="friday" class="weekday">
        <h2>{{ friday|date:"l d.m.Y" }}</h2>
        {% for timeslot in friday_timeslots %}
            {% include "week_schedule_timeslot.html" %}
        {% endfor %}
    </div>

    <div id="saturday" class="weekday">
        <h2>{{ saturday|date:"l d.m.Y" }}</h2>
        {% for timeslot in saturday_timeslots %}
            {% include "week_schedule_timeslot.html" %}
        {% endfor %}
    </div>

    <div id="sunday" class="weekday weekday-last">
        <h2>{{ sunday|date:"l d.m.Y" }}</h2>
        {% for timeslot in sunday_timeslots %}
            {% include "week_schedule_timeslot.html" %}
        {% endfor %}
    </div>

    <div class="weekday-starts weekday-starts-right">
        <div style="height: 43px;">&nbsp;</div>
        <div style="height: 60px;">06:00</div>
        <div style="height: 60px;">07:00</div>
        <div style="height: 60px;">08:00</div>
        <div style="height: 60px;">09:00</div>
        <div style="height: 60px;">10:00</div>
        <div style="height: 60px;">11:00</div>
        {% if current_year == '2020' and current_week >= '05' %}
        <div style="height: 30px;">12:00</div>
        <div style="height: 55px;">12:05</div>
        {% else %}
        <div style="height: 60px;">12:00</div>
        {% endif %}
        <div style="height: 60px;">13:00</div>
        <div style="height: 60px;">14:00</div>
        <div style="height: 60px;">15:00</div>
        <div style="height: 60px;">16:00</div>
        <div style="height: 60px;">17:00</div>
        <div style="height: 60px;">18:00</div>
        <div style="height: 60px;">19:00</div>
        <div style="height: 60px;">20:00</div>
        <div style="height: 60px;">21:00</div>
        <div style="height: 60px;">22:00</div>
        <div style="height: 60px;">23:00</div>
        <div style="height: 60px;">00:00</div>
        <div style="height: 60px;">01:00</div>
        <div style="height: 60px;">02:00</div>
        <div style="height: 60px;">03:00</div>
        <div style="height: 60px;">04:00</div>
        <div style="height: 60px;">05:00</div>
    </div>

</div>

</body>
</html>