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 %}
|
|
|
|
<a id="navbar-title" class="navbar-brand" href="/">Wiki <img src="{% static 'img/logoENS-small.png' %}" style="display:inline-block; height:100%;"i /> ENS</a>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block wiki_header_navlinks %}
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li class="active"><a href="{% url 'wiki:root' %}">Accueil</a></li>
|
|
|
|
</ul>
|
2017-10-18 17:05:57 +02:00
|
|
|
|
|
|
|
<div class="navbar-right">
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
|
{% trans "Paramètres de compte" %}
|
|
|
|
<b class="caret"></b>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li>
|
|
|
|
<a href="{% url "account_email" %}">
|
|
|
|
<i class="fa fa-envelope"></i>
|
|
|
|
{% trans "Email" %}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{% url "account_change_password" %}">
|
|
|
|
<i class="fa fa-lock"></i>
|
|
|
|
{% trans "Mot de passe" %}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{% url "socialaccount_connections" %}" title="Clipper…">
|
|
|
|
<i class="fa fa-sign-in"></i>
|
|
|
|
{% trans "Connexions par tiers" %}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></span>
|
|
|
|
<li>
|
|
|
|
<a href="{% url "account_logout" %}">
|
|
|
|
<i class="fa fa-power-off"></i>
|
|
|
|
{% trans "Déconnexion" %}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% else %}
|
|
|
|
<li>
|
|
|
|
<a href="{% url "account_signup" %}">{% trans "Sign Up" %}</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</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>
|
|
|
|
<p>Wiki maintenu par les élèves de l'École normale supérieure. <br /> En cas de pépin contacter <tt>cof-geek [chez] ens [point] fr</tt></p>
|
|
|
|
{% endblock %}
|