luniebox/application/templates/spotify/items/cover.html

11 lines
406 B
HTML
Raw Normal View History

2022-02-06 10:19:03 +01:00
<div class="dropdown">
<img src="{{ images | map(attribute='url') | first }}" class="item-image rounded dropdown-toggle"
data-bs-toggle="dropdown" data-bs-placement="top" title="Download Cover">
<ul class="dropdown-menu">
{% for image in images %}
<li>
<a class="dropdown-item" href="{{image['url']}}" target="_blank">{{image['width']}}px</a>
</li>
{% endfor %}
</ul>
</div>