Rafraîchit automatiquement pendant l'envoi du mail
This commit is contained in:
parent
2396c163bd
commit
b55d398bf8
1 changed files with 37 additions and 30 deletions
|
@ -3,6 +3,11 @@
|
|||
|
||||
|
||||
{% block extra_head %}
|
||||
{# Pendant l'envoi on rafraîchit automatiquement #}
|
||||
{% if election.sent_mail is None %}
|
||||
<meta http-equiv="refresh" content="20">
|
||||
{% endif %}
|
||||
|
||||
<script>
|
||||
{% if not election.sent_mail %}
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
|
@ -117,7 +122,8 @@
|
|||
<hr>
|
||||
|
||||
<div class="columns is-centered">
|
||||
<div class="column is-two-thirds">
|
||||
<div class="column is-narrow">
|
||||
<div class="table-container">
|
||||
<table class="table is-fullwidth is-bordered is-striped has-text-centered">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -149,6 +155,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue