From 9e8d4c492b0178214fb1997ff46335cfd4015557 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 22 Jan 2017 12:22:14 +0100 Subject: Affichage des jours et des horaires sur la page des emplois du temps Nouveau design inspiré par https://bestmotherfucking.website/ Utilisation des templates héritées --- templates/timetable.html | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'templates/timetable.html') diff --git a/templates/timetable.html b/templates/timetable.html index 23de166..f4be3a3 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -1,16 +1,12 @@ - - - - - {{ timetable.name }} – {{ group.name }} – celcatsanitizer - - -

celcatsanitizer

-

{{ timetable.name }} – {{ group.name }}

- - - +{% extends "index.html" %} + +{% block title %}{{ timetable.name }} – {{ group.name }} – Semaine {{ week }} – {% endblock %} + +{% block body %} +

{{ timetable.name }} – {{ group.name }} – Semaine {{ week }}

{% for day in courses %} +
+

{{ day.0.begin|date:"l j F o" }} – de {{ day.0.begin|date:"H:i" }} à {% with day|last as last %}{{ last.end|date:"H:i" }}{% endwith %}

+ +
{% endfor %}{% endblock %} -- cgit v1.2.1