feat: web interface more tag support

This commit is contained in:
Terry Geng
2020-03-08 13:52:34 +08:00
parent 2faa9dc8d3
commit 32b2875e52
5 changed files with 91 additions and 20 deletions

View File

@ -38,7 +38,7 @@
{% endif %}
<br />
{% for tag in m.tags %}
<span class="badge badge-warning">{{ tag }}</span>
<span class="badge badge-{{ tags_color_lookup[tag] }}">{{ tag }}</span>
{% endfor %}
</div>
</td>