Sijmen
b2ff3b60c8
- Add MPD_HOST and MPD_PORT environment variables - Improve styling - Move browser to separate template - Reload directory on database update
17 lines
448 B
HTML
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>
|