Working list of songs in library

This commit is contained in:
Maximilian Wagner
2023-07-29 23:22:48 +02:00
parent ee47dcaf00
commit 1f070ece5d
10 changed files with 177 additions and 23 deletions

28
templates/collection.html Normal file
View File

@@ -0,0 +1,28 @@
{%- extends "base.html" %}
{% import "bootstrap/utils.html" as utils %}
{% block content %}
<div class="container">
{%- with messages = get_flashed_messages(with_categories=True) %}
{%- if messages %}
<div class="row">
<div class="col-md-12">
{{utils.flashed_messages(messages)}}
</div>
</div>
{%- endif %}
{%- endwith %}
</div>
<div class="container">
<table id="library" style="width:80%">
{% for name in query %}
<tr>
<td>{{ name }}</td>
<td>Download</td>
</tr>
{% endfor %}
</table>
</div>
{%- endblock %}