aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html20
-rw-r--r--templates/timetable.html16
2 files changed, 36 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>
diff --git a/templates/timetable.html b/templates/timetable.html
new file mode 100644
index 0000000..23de166
--- /dev/null
+++ b/templates/timetable.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="fr">
+ <head>
+ <meta charset="utf-8" />
+ <title>{{ timetable.name }} &ndash; {{ group.name }} &ndash; celcatsanitizer</title>
+ </head>
+ <body>
+ <h1>celcatsanitizer</h1>
+ <h3>{{ timetable.name }} &ndash; {{ group.name }}</h3>
+ <ul>
+ {% for course in courses %}
+ <li>{{ course.name }}</li>
+ {% endfor %}
+ </ul>
+ </body>
+</html>