feat: web interface tag support

This commit is contained in:
Terry Geng
2020-03-08 12:53:17 +08:00
parent f8cfb163ed
commit 2faa9dc8d3
7 changed files with 59 additions and 13 deletions

View File

@ -24,7 +24,7 @@
<b>{{ m.url|truncate(45) }}</b>
{% endif %}
<span class="badge badge-secondary">{{ m.display_type() }}</span>
<br>
<br />
{% if m.type == 'file' %}
{% if m.artist %}
{{ m.artist }}
@ -36,6 +36,10 @@
{% else %}
Unknown Artist
{% endif %}
<br />
{% for tag in m.tags %}
<span class="badge badge-warning">{{ tag }}</span>
{% endfor %}
</div>
</td>
<td>