2017-10-06 14:17:13 +02:00
|
|
|
{% extends "wiki/base_site.html" %}
|
2017-10-18 17:05:57 +02:00
|
|
|
{% load i18n staticfiles %}
|
2017-10-06 14:17:13 +02:00
|
|
|
{% load sekizai_tags %}
|
|
|
|
|
|
|
|
{% block wiki_site_title %} - WikiENS{% endblock %}
|
|
|
|
|
|
|
|
{% block wiki_header_branding %}
|
2019-01-14 14:37:47 +01:00
|
|
|
<a id="navbar-title" class="navbar-brand" href="/">
|
2021-01-28 15:24:41 +01:00
|
|
|
Wiki <img src="{% static 'img/logoENS-small.png' %}" style="display:inline-block; height:100%;" /> ENS
|
2019-01-14 14:37:47 +01:00
|
|
|
</a>
|
2017-10-06 14:17:13 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block wiki_header_navlinks %}
|
2021-01-28 15:24:41 +01:00
|
|
|
<ul class="navbar-nav mr-auto">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link text-primary" href="{% url 'wiki:root' %}">Accueil</a>
|
|
|
|
</li>
|
2017-10-06 14:17:13 +02:00
|
|
|
</ul>
|
2017-10-18 17:05:57 +02:00
|
|
|
|
|
|
|
<div class="navbar-right">
|
2021-01-28 15:24:41 +01:00
|
|
|
<ul class="navbar-nav">
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link dropdown-toggle" href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
|
{% trans "Paramètres de compte" %}
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<a class="dropdown-item" href="{% url "account_email" %}">
|
|
|
|
<i class="fa fa-envelope"></i>
|
|
|
|
{% trans "Email" %}
|
|
|
|
</a>
|
|
|
|
<a class="dropdown-item" href="{% url "account_change_password" %}">
|
|
|
|
<i class="fa fa-lock"></i>
|
|
|
|
{% trans "Mot de passe" %}
|
|
|
|
</a>
|
|
|
|
<a class="dropdown-item" href="{% url "socialaccount_connections" %}" title="Clipper…">
|
|
|
|
<i class="fa fa-sign-in"></i>
|
|
|
|
{% trans "Connexions par tiers" %}
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
<a class="dropdown-item" href="{% url "account_logout" %}">
|
|
|
|
<i class="fa fa-power-off"></i>
|
|
|
|
{% trans "Déconnexion" %}
|
|
|
|
</a>
|
|
|
|
</div>
|
2017-10-18 17:05:57 +02:00
|
|
|
</li>
|
2021-01-28 15:24:41 +01:00
|
|
|
{% else %}
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{% url "account_signup" %}">{% trans "Sign Up" %}</a>
|
2017-10-18 17:05:57 +02:00
|
|
|
</li>
|
2021-01-28 15:24:41 +01:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2017-10-18 17:05:57 +02:00
|
|
|
</div>
|
2017-10-06 14:17:13 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block wiki_footer_logo %}
|
|
|
|
<a href="http://www.eleves.ens.fr" class="pull-right"><img height="100px" src="{% static 'img/logoEleves.png' %}" /></a>
|
2020-12-24 17:38:07 +01:00
|
|
|
<p>Wiki maintenu par les élèves de l'École normale supérieure. <br /> En cas de pépin contacter <tt>klub-dev [chez] ens [point] fr</tt></p>
|
2017-10-06 14:17:13 +02:00
|
|
|
{% endblock %}
|