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 %}
|
{% block extra_head %}
|
||||||
|
{# Pendant l'envoi on rafraîchit automatiquement #}
|
||||||
|
{% if election.sent_mail is None %}
|
||||||
|
<meta http-equiv="refresh" content="20">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
{% if not election.sent_mail %}
|
{% if not election.sent_mail %}
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
@ -117,7 +122,8 @@
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div class="columns is-centered">
|
<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">
|
<table class="table is-fullwidth is-bordered is-striped has-text-centered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -150,6 +156,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue