Changes in UI. Running downloads get listed on Index now.

This commit is contained in:
Maximilian Wagner
2023-08-03 09:32:27 +02:00
parent b3f49fcacf
commit 06bb8d22dd
6 changed files with 119 additions and 50 deletions

View File

@@ -2,30 +2,28 @@
{% block content %}
{{ super() }}
<div class="container">
<div class="container" style="width: fit-content(105%)">
{% if downloads %}
<div class="card" style="width: 100%">
<div class="card">
<ul class="list-group list-group-flush">
<li class="list-group-item">
<div class="row">
<div class="col-md-5">
<table id="videos" class="table">
<thead>
<table id="videos" class="table">
<thead>
<tr>
<th scope="col" class="text-center">Title</th>
<th scope="col" class="text-center">Update</th>
</tr>
</thead>
<tbody>
{% for d in downloads %}
<tr>
<th scope="col" class="text-center">Title</th>
<th scope="col" class="text-center">Update</th>
<td class="text-center">{{ d[0] }}</td>
<td class="text-center"><a href="/update/{{ d[1] }}">Start</a></td>
</tr>
</thead>
<tbody>
{% for d in downloads %}
<tr>
<td class="text-center">{{ d[0] }}</td>
<td class="text-center"><a href="/update/{{ d[1] }}">Start</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endfor %}
</tbody>
</table>
</div>
</li>
</ul>