empede/templates/queue.html
2023-04-27 16:14:40 +02:00

17 lines
481 B
HTML

{# Template #}
<!DOCTYPE html>
<ul class="queue">
{% for item in queue %}
<li {% if item.playing %}class="playing"{% endif %}>
<div class="albumart">
<img src="/art?path={{ item.file }}" onerror="this.style.opacity = 0">
</div>
<div class="metadata">
<div class="song__name">{{ item.title }}</div>
{% if let Some(artist) = item.artist %}
<div class="song__artist">{{ artist }}</div>
{% endif %}
</div>
</li>
{% endfor %}
</ul>