player for the songs works now

This commit is contained in:
Priec
2026-05-19 19:11:01 +02:00
parent 4597b120f4
commit f405ddab65
6 changed files with 356 additions and 22 deletions

View File

@@ -40,8 +40,10 @@
{% if album.description %}
<p class="term-prose text-sm opacity-80">{{ album.description }}</p>
{% endif %}
<div class="pt-2">
<a href="/audio/albums/{{ album.slug }}" class="btn btn-primary btn-sm">[ open → ]</a>
<div class="flex flex-wrap gap-2 pt-2">
<button type="button" class="uw-play-album-remote btn btn-primary btn-sm"
data-album-tracks-url="/audio/albums/{{ album.slug }}/tracks">&#9654; play</button>
<a href="/audio/albums/{{ album.slug }}" class="btn btn-outline btn-sm">[ open → ]</a>
</div>
</div>
</article>