empede/templates/queue.html
Sijmen b2ff3b60c8
Several changes:
- Add MPD_HOST and MPD_PORT environment variables
- Improve styling
- Move browser to separate template
- Reload directory on database update
2023-04-27 16:14:17 +02:00

17 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>