Reduce the ugly, just bootstrap things.
[audio.git] / src / archive / templates / archive / file_unmanaged.html
old mode 100755 (executable)
new mode 100644 (file)
index 89f79ba..a05d556
@@ -1,5 +1,6 @@
 {% extends "archive/base.html" %}
 {% load i18n %}
+{% load tags %}
 
 {% block messages %}
     {% if err_exists %}
 
 {% block content %}
 
+<div class="card mt-4">
+  <div class="card-header">
+    <h1>{{ filename }}</h1>
+  </div>
+  <div class="card-body">
+    {% multiple_tags_table tags %}
 
-<ul id="tags">
-    {% for t, v in tags.items %}
-        <li>{{t}}
-        <ul>
-        {% for x in v %}
-            <li>{{x}}</li>
-        {% endfor %}
-        </ul></li>
-    {% endfor %}
-</ul>
+    <form method="post" action="{% url 'move_to_new' filename %}">
+      {% csrf_token %}
+      <input class="btn btn-primary" type="submit" value="{% trans "Move to new files" %}" />
+    </form>
+  </div>
+</div>
 
 
-<form method="post" action="{% url 'move_to_new' filename %}">
-    {% csrf_token %}
-    <input type="submit" value="{% trans "Move to new files" %}" />
-</form>
-
 {% endblock %}