69 lines
2.1 KiB
HTML
69 lines
2.1 KiB
HTML
{% extends "base_html.html" %}
|
|
{% load staticfiles %}
|
|
{% load i18n %}
|
|
|
|
{% 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">{% trans "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>{% trans "Se connecter" %}</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{% url "users:create_user" %}">
|
|
<i class="fa fa-user"></i>
|
|
<span>{% trans "Créer un compte" %}</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{% url "users:password_reset" %}">
|
|
<i class="fa fa-question"></i>
|
|
<span>{% trans "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>{% trans "Changer de mot de passe" %}</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{% url "users:logout"%}">
|
|
<i class="fa fa-sign-out"></i>
|
|
<span>{% trans "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 %}
|