69 lines
2 KiB
HTML
69 lines
2 KiB
HTML
{% extends "base_html.html" %}
|
|
{% load staticfiles %}
|
|
|
|
{% block title %}GestionÉvènementiel{% block sub_title %}{% endblock %}{% endblock %}
|
|
|
|
{% block page_main_title %}
|
|
<a href="#TODO" class="logo"><b>GestionÉvènementiel</b></a>
|
|
{% block sub_main_page_title %}{% endblock %}
|
|
{% endblock %}
|
|
|
|
{% 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/>
|
|
|
|
{% block sidenav %}
|
|
{% if not user.is_authenticated %}
|
|
<li>
|
|
<a href="{% url "users:login" %}">
|
|
<i class="fa fa-sign-in"></i>
|
|
<span>Se connecter</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{% url "users:create_user" %}">
|
|
<i class="fa fa-user"></i>
|
|
<span>Créer un compte</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{% url "users: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 "users:password_change" %}">
|
|
<i class="fa fa-unlock-alt"></i>
|
|
<span>Changer de mot de passe</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{% url "users:logout"%}">
|
|
<i class="fa fa-sign-out"></i>
|
|
<span>Se déconnecter</span>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block real_content %}
|
|
<div class="row row-centered">
|
|
<div class="{% block page_size %}col-lg-12{% endblock %} col-centered">
|
|
<h2><i class="fa fa-angle-right"></i>{% block page_title %}{% endblock %}</h2>
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
<!-- /.col-lg-12 -->
|
|
</div>
|
|
<!-- /.row -->
|
|
{% endblock %}
|
|
|