Add link to ballots & improve looks
This commit is contained in:
parent
4c0611ac96
commit
fc1b6b8b49
4 changed files with 14 additions and 6 deletions
|
@ -1,5 +1,3 @@
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
<table class="table is-striped is-fullwidth">
|
<table class="table is-striped is-fullwidth">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
<table class="table is-striped is-fullwidth">
|
<table class="table is-striped is-fullwidth">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -15,12 +15,24 @@
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<a class="button is-primary is-light is-outlined" href="{% url 'election.voters' election.pk %}">
|
<a class="button is-primary is-light is-outlined" href="{% url 'election.voters' election.pk %}">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<i class="fas fa-list"></i>
|
<i class="fas fa-clipboard-list"></i>
|
||||||
</span>
|
</span>
|
||||||
<span>{% trans "Votant·e·s" %}</span>
|
<span>{% trans "Votant·e·s" %}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{# Liste des bulletins #}
|
||||||
|
{% if election.results_public %}
|
||||||
|
<div class="level-item">
|
||||||
|
<a class="button is-primary is-light is-outlined" href="{% url 'election.ballots' election.pk %}">
|
||||||
|
<span class="icon">
|
||||||
|
<i class="fas fa-list"></i>
|
||||||
|
</span>
|
||||||
|
<span>{% trans "Bulletins" %}</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if election.start_date < current_time %}
|
{% if election.start_date < current_time %}
|
||||||
{# Statut de l'élection #}
|
{# Statut de l'élection #}
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
{# Tableau des bulletins par question #}
|
{# Tableau des bulletins par question #}
|
||||||
<div class="columns is-centered is-multiline">
|
<div class="columns is-centered is-multiline is-variable is-8">
|
||||||
{% for q in election.questions.all %}
|
{% for q in election.questions.all %}
|
||||||
<div class="column is-narrow is-flex-shrink-1">
|
<div class="column is-narrow is-flex-shrink-1">
|
||||||
<p class="subtitle">{{ q.text }}</p>
|
<p class="subtitle">{{ q.text }}</p>
|
||||||
|
|
Loading…
Reference in a new issue