]> git.0d.be Git - panikweb.git/blobdiff - panikweb/templates/includes/week-nav.html
move static & templates to panikweb project directory
[panikweb.git] / panikweb / templates / includes / week-nav.html
diff --git a/panikweb/templates/includes/week-nav.html b/panikweb/templates/includes/week-nav.html
new file mode 100644 (file)
index 0000000..2e16eab
--- /dev/null
@@ -0,0 +1,13 @@
+<div class="program tabs" data-tab-about="#weekProgramContent-{{ week|slugify }}">
+       <nav class="">
+               <ul class="days custom distributed">
+                       <li class="week-arrow"><a href="{% url 'program_week' year=previous_week_year week=previous_week_no %}" 
+                               class="icon-chevron-sign-left" ></a></li>
+               {% for day in days %}
+                       <li class=""><button class="{% if day.datetime.weekday == weekday %}active{% endif %}" data-tab="#Program-week-{{ day.datetime|slugify }}">{{ day.datetime|date:"D d" }}</button></li>
+               {% endfor %}
+                       <li class="week-arrow"><a href="{% url 'program_week' year=next_week_year week=next_week_no %}" 
+                               class="icon-chevron-sign-right" ></a></li>
+               </ul>
+       </nav>
+</div>