Skip to content

Commit

Permalink
Update poll.html
Browse files Browse the repository at this point in the history
  • Loading branch information
strafrecht-admin authored Sep 14, 2023
1 parent 8470e7a commit 857f493
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions templates/blocks/sidebar/poll.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ <h2>{{ page.poll.title }}</h2>

<input type="submit" value="Abstimmen" class="poll-vote-button">
<small>Startdatum: {{page.poll.date_created.date.day}}.{{page.poll.date_created.date.month}}.{{page.poll.date_created.date.year}}</small>
<a href = '#' id = "popupLink">Ergebnis</a>
<div class = "overlay" id = "overlay"></div>
<div class="popup-container" id="popupContainer">
<a href="{% url 'wagtailpolls_vote' page.poll.id %}" class="icon icon-arrow-right"><b>Ergebnis</b></a>
<button id="closePopup">Schließen</button>
</div>

</form>
</div>
<head>
Expand Down Expand Up @@ -45,17 +52,6 @@ <h2>{{ page.poll.title }}</h2>
z-index:900;
</style>
</head>


<a href = '#' id = "popupLink">Ergebnis</a>

<div class = "overlay" id = "overlay"></div>

<div class="popup-container" id="popupContainer">
<a href="{% url 'wagtailpolls_vote' page.poll.id %}" class="icon icon-arrow-right"><b>Ergebnisse</b></a>
<button id="closePopup">Schließen</button>
</div>

<script>
const popupLink = document.getElementById('popupLink');
const popupContainer = document.getElementById('popupContainer');
Expand Down

0 comments on commit 857f493

Please sign in to comment.