empede/templates/queue.html

18 lines
448 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 }}">
</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>