This commit is contained in:
Tom Hubrecht 2021-08-20 16:47:30 +02:00
parent 2e1051bb2e
commit 9ab42a3a9d
6 changed files with 10 additions and 8 deletions

View file

@ -4,7 +4,7 @@ from .models import Election
from .utils import send_mail
@background(schedule=5)
@background
def send_election_mail(election_pk, subject, body, reply_to):
election = Election.objects.get(pk=election_pk)
send_mail(election, subject, body, reply_to)

View file

@ -122,7 +122,7 @@
<hr>
<div class="columns is-centered">
<div class="column is-narrow">
<div class="column">
<div class="table-container">
<table class="table is-fullwidth is-bordered is-striped has-text-centered">
<thead>

View file

@ -10588,9 +10588,10 @@ body {
#scroll-button {
position: fixed;
bottom: 2em;
right: 2em;
bottom: 1em;
right: 1em;
z-index: 30;
padding: 1.5rem;
}
/*# sourceMappingURL=main.css.map */

File diff suppressed because one or more lines are too long

View file

@ -49,6 +49,7 @@ body
#scroll-button
position: fixed
bottom: 2em
right: 2em
bottom: 1em
right: 1em
z-index: 30
padding: 1.5rem

View file

@ -131,7 +131,7 @@
</head>
<body>
<button id="scroll-button" class="button is-hidden has-tooltip" data-tooltip="{% trans "Revenir en haut de la page" %}">
<button id="scroll-button" class="button is-rounded is-large is-hidden has-tooltip" data-tooltip="{% trans "Revenir en haut de la page" %}">
<span class="icon is-large has-text-primary">
<i class="fas fa-2x fa-chevron-circle-up"></i>
</span>