ernestophone.ens.fr/templates/gestion/base.html
Martin Pépin 334c1d2f00 Commit bourrin
Ajoute des changements effectués en prod sans passer par le git
2016-06-21 00:33:32 +02:00

51 lines
1.5 KiB
HTML

{% load static %}
{% load urls_extra %}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<title>{% block titre %}{% endblock %}</title>
<link rel="stylesheet" href={% static 'css/bootstrap.css' %} />
<link rel="stylesheet" href={% static 'css/ernesto.css' %} />
{% block extrahead %}{% endblock %}
</head>
<body>
<div id="page">
<header>
{% block header %}
<div id="logo_ernesto">
<a href='/'><img src="{%static "logo.png" %}" alt="L'Ernestophone" /></a>
</div>
<nav>
<ul id="menu">
<li><a href="{% url 'partitions.views.liste' %}">Partitions</a></li>
{% if user.is_authenticated %}
{% if user.is_superuser %}
<li><a href = '/admin/'>Administration</a></li>
{% endif %}
<li><a href='/divers/'>Divers</a></li>
<li><a href="{% url 'gestion.views.change_membre' %}">Connecté en tant que {{user.username }}</a></li>
<li><a href = '/logout/'>Déconnexion</a></li>
{% else %}
<li><a href='/login/'>Connexion</a></li>
<li><a href='/registration/'>Créer un compte</a></li>
<li><a href='/user/password/reset/'>Mot de passe oublié</a></li>
{% endif %}
</ul>
</nav>
{% endblock %}</header>
<section id="content">
{% block content %}
{% endblock %}
</section>
</div>
<footer>
© L'Ernestophone 2015. L'Ernestophone est un club du Comité d'Organisation des Fêtes de l'ENS. Contacts :
<a href="https://www.facebook.com/ernestophone" style="color:white;">Facebook</a>
<a href="mailto:fanfare@ens.fr" style="color: white;">Mail</a>
</footer>
</body>
</html>