Skip to content
Snippets Groups Projects
Commit 00743851 authored by Johannes Raggam's avatar Johannes Raggam
Browse files

week navigation optimization

parent b1d66190
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,17 @@
<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>
......@@ -34,7 +45,6 @@
<div style="height: 60px;">05:00</div>
</div>
<div id="monday" class="weekday weekday-first">
<div class="week-navigation"><a href="/program/{{ last_w }}">&lt;--</a></div>
<h2>{{ monday|date:"l d.m.Y" }}</h2>
{% for timeslot in monday_timeslots %}
{% include "program/week_schedule_timeslot.html" %}
......@@ -42,7 +52,6 @@
</div>
<div id="tuesday" class="weekday">
<div class="week-navigation">{{ cur_w }}</div>
<h2>{{ tuesday|date:"l d.m.Y" }}</h2>
{% for timeslot in tuesday_timeslots %}
{% include "program/week_schedule_timeslot.html" %}
......@@ -50,7 +59,6 @@
</div>
<div id="wednesday" class="weekday">
<div class="week-navigation"><a href="/program/{{ next_w1 }}">{{ next_w1 }}</a></div>
<h2>{{ wednesday|date:"l d.m.Y" }}</h2>
{% for timeslot in wednesday_timeslots %}
{% include "program/week_schedule_timeslot.html" %}
......@@ -58,7 +66,6 @@
</div>
<div id="thursday" class="weekday">
<div class="week-navigation"><a href="/program/{{ next_w2 }}">{{ next_w2 }}</a></div>
<h2>{{ thursday|date:"l d.m.Y" }}</h2>
{% for timeslot in thursday_timeslots %}
{% include "program/week_schedule_timeslot.html" %}
......@@ -66,7 +73,6 @@
</div>
<div id="friday" class="weekday">
<div class="week-navigation"><a href="/program/{{ next_w3 }}">{{ next_w3 }}</a></div>
<h2>{{ friday|date:"l d.m.Y" }}</h2>
{% for timeslot in friday_timeslots %}
{% include "program/week_schedule_timeslot.html" %}
......@@ -74,7 +80,6 @@
</div>
<div id="saturday" class="weekday">
<div class="week-navigation"><a href="/program/{{ next_w4 }}">{{ next_w4 }}</a></div>
<h2>{{ saturday|date:"l d.m.Y" }}</h2>
{% for timeslot in saturday_timeslots %}
{% include "program/week_schedule_timeslot.html" %}
......@@ -82,7 +87,6 @@
</div>
<div id="sunday" class="weekday weekday-last">
<div class="week-navigation"><a href="/program/{{ next_w1 }}">--&gt;</a></div>
<h2>{{ sunday|date:"l d.m.Y" }}</h2>
{% for timeslot in sunday_timeslots %}
{% include "program/week_schedule_timeslot.html" %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment