blob: 8d7634ea8a6b9dc7e7c8f734ec632eba5f3785e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{% load static %}<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{% block title %}{% if year %}{{ year }} – {% endif %}{% endblock %}celcatsanitizer</title>
<link rel="stylesheet" href="{% static "celcatsanitizer/style.css" %}">
</head>
<body>
<header>
<h1><a href="{% url "index" %}">celcatsanitizer</a></h1>
</header>
<div class="content">
{% block body %}
<h3>{% if year %}{{ year }} – Choisissez votre mention{% else %}Choisissez votre année{% endif %}</h3>
<ul>
{% for element in elements %}
<li><a href="{% if year %}{% url "groups" year.slug element.slug %}{% else %}{% url "mentions" element.slug %}{% endif %}">{{ element }}</a></li>
{% empty %}
<p><em>Aucun emploi du temps à afficher</em></p>
{% endfor %}
</ul>
{% endblock %}
</div>
<footer>
<p>(c) 2017 – Alban Gruin – <a href="{% url "contact" %}">contacter</a><br />
Design inspiré par <a href="https://bestmotherfucking.website/">https://bestmotherfucking.website/</a></p>
</footer>
</body>
</html>
|