summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Raggam <raggam-nl@adm.at>2011-12-02 10:18:10 (GMT)
committerJohannes Raggam <raggam-nl@adm.at>2011-12-02 10:18:10 (GMT)
commit0074385126fe31920152ac5b237fbaa4f2eb5acb (patch)
treeeec758a5575c814f9e0fc59c0b25318aedce7d1f
parentb1d6619029f17d9a942fcd201f7987d398b58487 (diff)
week navigation optimization
-rw-r--r--templates/program/week_schedule.html18
1 files changed, 11 insertions, 7 deletions
diff --git a/templates/program/week_schedule.html b/templates/program/week_schedule.html
index f446f1b..456b0ae 100644
--- a/templates/program/week_schedule.html
+++ b/templates/program/week_schedule.html
@@ -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" %}