Initial commit
This commit is contained in:
commit
793bb6a488
182 changed files with 17153 additions and 0 deletions
13
templates/user_bar.html
Normal file
13
templates/user_bar.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<div class="row">
|
||||
<div id="user-bar" class="col-xl-6 text-end">
|
||||
{% if user.is_authenticated %}
|
||||
<div id="user-tools" class="d-flex justify-content-end">
|
||||
<div class="p-1"><a href="{% url 'two_factor:profile' %}">{% firstof user.get_short_name user.get_username %}</a> |</div>
|
||||
<form method="post" class="d-inline p-1" action="{% url 'logout' %}">{% csrf_token %}
|
||||
<button type="submit" class="btn btn-link p-0">Se déconnecter</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="col-xl-1"></div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue