2017-02-18 01:10:30 +01:00
|
|
|
{% extends "base_html.html" %}
|
|
|
|
{% load staticfiles %}
|
2017-04-27 01:14:47 +02:00
|
|
|
{% load i18n %}
|
2017-02-18 01:10:30 +01:00
|
|
|
|
|
|
|
{% block title %}GestionÉvènementiel{% block sub_title %}{% endblock %}{% endblock %}
|
2017-02-18 16:56:56 +01:00
|
|
|
|
|
|
|
{% block page_main_title %}
|
|
|
|
<a href="#TODO" class="logo"><b>GestionÉvènementiel</b></a>
|
|
|
|
{% block sub_main_page_title %}{% endblock %}
|
|
|
|
{% endblock %}
|
2017-02-18 01:10:30 +01:00
|
|
|
|
2017-02-20 18:42:37 +01:00
|
|
|
{% block sidebar_menu %}
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<h5 class="centered username">{{ user.username }}</h5>
|
|
|
|
{% else %}
|
2017-04-27 01:14:47 +02:00
|
|
|
<h5 class="centered username">{% trans "non connecté·e" %}</h5>
|
2017-02-20 18:42:37 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<hr/>
|
2017-02-21 16:27:29 +01:00
|
|
|
|
2017-02-20 18:42:37 +01:00
|
|
|
{% block sidenav %}
|
2017-02-21 16:27:29 +01:00
|
|
|
{% if not user.is_authenticated %}
|
|
|
|
<li>
|
2017-02-21 16:56:34 +01:00
|
|
|
<a href="{% url "users:login" %}">
|
2017-02-21 16:27:29 +01:00
|
|
|
<i class="fa fa-sign-in"></i>
|
2017-04-27 01:14:47 +02:00
|
|
|
<span>{% trans "Se connecter" %}</span>
|
2017-02-21 16:27:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2017-02-21 16:56:34 +01:00
|
|
|
<a href="{% url "users:create_user" %}">
|
2017-02-21 16:27:29 +01:00
|
|
|
<i class="fa fa-user"></i>
|
2017-04-27 01:14:47 +02:00
|
|
|
<span>{% trans "Créer un compte" %}</span>
|
2017-02-21 16:27:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2017-02-21 16:56:34 +01:00
|
|
|
<a href="{% url "users:password_reset" %}">
|
2017-02-21 16:27:29 +01:00
|
|
|
<i class="fa fa-question"></i>
|
2017-04-27 01:14:47 +02:00
|
|
|
<span>{% trans "Mot de passe oublié" %}</span>
|
2017-02-21 16:27:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<li>
|
2017-02-21 16:56:34 +01:00
|
|
|
<a href="{% url "users:password_change" %}">
|
2017-02-21 16:27:29 +01:00
|
|
|
<i class="fa fa-unlock-alt"></i>
|
2017-04-27 01:14:47 +02:00
|
|
|
<span>{% trans "Changer de mot de passe" %}</span>
|
2017-02-21 16:27:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2017-02-21 16:56:34 +01:00
|
|
|
<a href="{% url "users:logout"%}">
|
2017-02-21 16:27:29 +01:00
|
|
|
<i class="fa fa-sign-out"></i>
|
2017-04-27 01:14:47 +02:00
|
|
|
<span>{% trans "Se déconnecter" %}</span>
|
2017-02-21 16:27:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2017-02-20 18:42:37 +01:00
|
|
|
{% endblock %}
|
2017-02-21 16:27:29 +01:00
|
|
|
|
2017-02-20 18:42:37 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
2017-02-18 01:10:30 +01:00
|
|
|
{% block real_content %}
|
2017-02-21 14:51:42 +01:00
|
|
|
<div class="row row-centered">
|
|
|
|
<div class="{% block page_size %}col-lg-12{% endblock %} col-centered">
|
2017-02-18 16:56:56 +01:00
|
|
|
<h2><i class="fa fa-angle-right"></i>{% block page_title %}{% endblock %}</h2>
|
2017-02-18 01:10:30 +01:00
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
<!-- /.col-lg-12 -->
|
|
|
|
</div>
|
|
|
|
<!-- /.row -->
|
|
|
|
{% endblock %}
|