empede/templates/queue.html

18 lines
481 B
HTML
Raw Normal View History

2023-04-25 01:26:27 +00:00
{# Template #}
<!DOCTYPE html>
<ul class="queue">
{% for item in queue %}
<li {% if item.playing %}class="playing"{% endif %}>
<div class="albumart">
2023-04-27 13:36:35 +00:00
<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>
2023-04-25 01:26:27 +00:00
</li>
{% endfor %}
</ul>