Loopfunktion

This commit is contained in:
mikka 2026-04-22 21:33:57 +02:00
parent ec5b29dff3
commit a6b47e15f8
3 changed files with 20 additions and 4 deletions

View file

@ -55,7 +55,7 @@
<h2>2026</h2>
<a href="/suche?liste={{liste}}">Du willst ein weiteres Lied in der Playlist?</a>
<p>Die Playlist {{liste}} ist insgesamt {{ gesamtLaenge | zeit }} lang und enthält {{ karten|length }} Lieder</p>
<button onclick="abspielen()">Abspielen</button>
<p><button id="play" onclick="abspielen()">Abspielen</button><button id="loop" onclick="looptrue()">Loop</button></p>
<div id = "flex-container">
{% for karte in karten %}
{% set karte_loop = loop %}