aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
blob: 53cefd53af2544b9034d81b715f846669271d8fd (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
31
32
{% load static %}<!DOCTYPE html>
<html lang="fr">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
{% block head %}{% endblock %}
    <title>{% block title %}{% 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>{% block pagetitle %}{% endblock %}</h3>
        <ul>
          {% for element in elements %}
            <li>{% block lelement %}<a href="{% block url %}{% endblock %}">{% block element %}{{ element }}{% endblock %}</a>{% endblock %}</li>
          {% empty %}
            <p><em>{% block empty %}Aucun emploi du temps à afficher{% endblock %}</em></p>
          {% endfor %}
        </ul>
        {% block navigation %}{% endblock %}
      {% endblock %}
    </div>
    <footer>
      <p>(c) 2019 &ndash; Alban Gruin &ndash; <a href="{% url "django.contrib.flatpages.views.flatpage" url="contact/" %}">contacter</a> &ndash; celcatsanitizer {{ celcatsanitizer_version }} &ndash; <a href="{% url "django.contrib.flatpages.views.flatpage" url="a-propos/" %}">à propos</a><br />
      Design inspiré par <a href="https://bestmotherfucking.website/">https://bestmotherfucking.website/</a></p>
    </footer>
  </body>
</html>