Admin visual update

This commit is contained in:
Tom Hubrecht 2021-06-09 15:11:36 +02:00
parent 9ac7b5c38c
commit 6d934bdbda
2 changed files with 11 additions and 1 deletions

View file

@ -49,7 +49,7 @@
{# Lien vers la page d'administration #}
{% if election.created_by == user %}
<div class="level-item">
<a class="tag is-medium is-primary is-light is-outlined has-tooltip-primary" href="{% url 'election.admin' election.pk %}" data-tooltip="{% trans "Administrer" %}">
<a class="button has-tooltip-primary" href="{% url 'election.admin' election.pk %}" data-tooltip="{% trans "Administrer" %}">
<span class="icon">
<i class="fas fa-cog"></i>
</span>

View file

@ -56,6 +56,16 @@
<div class="dropdown-menu" id="dropdown-menu" role="menu">
<div class="dropdown-content">
{# Vue classique #}
<a class="dropdown-item" href="{% url 'election.view' election.pk %}">
<span class="icon">
<i class="fas fa-exchange-alt"></i>
</span>
<span>{% trans "Vue classique" %}
</a>
<hr class="dropdown-divider">
{# Téléchargement de la liste des votant·e·s #}
<a class="dropdown-item" href="{% url 'election.export-voters' election.pk %}">
<span class="icon">