26 lines
981 B
HTML
26 lines
981 B
HTML
{%- extends "base.html" %}
|
|
|
|
{% block content %}
|
|
{{ super() }}
|
|
<div class="container-fluid" style="width: fit-content(105%)">
|
|
<table id="videos" class="table">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" class="text-center">Song</th>
|
|
<th scope="col" class="text-center">Download</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for video in videos %}
|
|
<tr>
|
|
<td class="text-center">{{ video['name'] }}</td>
|
|
<td class="text-center"><a class="btn" href="/download/{{ video['path'] + video['name'] + video['ext'] }}" download>Link</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<form action="/download/{{ videos[0]['path'] }}">
|
|
<input type="submit" class="btn pull-right" value="Download all"/>
|
|
</form>
|
|
</div>
|
|
{%- endblock %} |