aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorAlban Gruin2017-01-19 21:55:29 +0100
committerAlban Gruin2017-01-19 21:55:29 +0100
commitd17c1152615162e33703dd67b92b64d0cbf5b63d (patch)
treef2db90f8c83c3da626090efee9133c0754849530 /templates/index.html
parentf55e7ff672ba18291d7361c4c8649e174c9fa556 (diff)
Travail initial sur les vues
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..262d454
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html lang="fr">
+ <head>
+ <meta charset="utf-8" />
+ <title>celcatsanitizer</title>
+ </head>
+ <body>
+ <h1>celcatsanitizer</h1>
+ {% for timetable in timetables %}
+ <h3>{{ timetable.name }}</h3>
+ <ul>
+ {% for group in groups %}
+ {% if group.timetable.id == timetable.id %}
+ <li><a href="{% url "timetable" timetable.slug group.slug %}">{{ group.name }}</a></li>
+ {% endif %}
+ {% endfor %}
+ </ul>
+ {% endfor %}
+ </body>
+</html>