2017-02-18 01:10:30 +01:00
|
|
|
{% extends "base_html.html" %}
|
|
|
|
{% load staticfiles %}
|
|
|
|
|
|
|
|
{% 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 %}
|
|
|
|
<h5 class="centered username">non connecté·e</h5>
|
|
|
|
{% 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>
|
|
|
|
<a href="{% url "user:login" %}">
|
|
|
|
<i class="fa fa-sign-in"></i>
|
|
|
|
<span>Se connecter</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{% url "user:create_user" %}">
|
|
|
|
<i class="fa fa-user"></i>
|
|
|
|
<span>Créer un compte</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{% url "user:password_reset" %}">
|
|
|
|
<i class="fa fa-question"></i>
|
|
|
|
<span>Mot de passe oublié</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<li>
|
|
|
|
<a href="{% url "user:password_change" %}">
|
|
|
|
<i class="fa fa-unlock-alt"></i>
|
|
|
|
<span>Changer de mot de passe</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{% url "user:logout"%}">
|
|
|
|
<i class="fa fa-sign-out"></i>
|
|
|
|
<span>Se déconnecter</span>
|
|
|
|
</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 %}
|
|
|
|
|