pywallter/templates/up_list.html

35 lines
1023 B
HTML
Raw Normal View History

2020-11-29 02:05:19 +01:00
{% extends 'up_squelette.html' %}
{% include '_nav_userlogin.html' %}
2020-11-29 02:05:19 +01:00
{% block main %}
2022-07-05 01:18:52 +02:00
<br>
2020-11-29 02:05:19 +01:00
<div class="row">
<div class="col-md-12">
<table class="table">
<thead>
<tr>
2022-07-05 01:18:52 +02:00
<th></th>
<th>Fichier(s) <span class="badge">{{ i }}</span></th>
<th>Taille (en octets)</th>
<th></th>
2020-11-29 02:05:19 +01:00
</tr>
</thead>
<tbody>
{% if listeFichiers %}
2022-07-05 01:18:52 +02:00
{% for fichier in listeFichiers %}
2020-11-29 02:05:19 +01:00
<tr>
2022-07-05 01:18:52 +02:00
<td>{{ fichier[0] }}</td>
<td><a href="/myfiles/{{ fichier[1] }}">{{ fichier[1] }}</a></td>
<td>{{ fichier[2] }}</td>
<td><a href="{{ url_for('remove', nom=fichier[1]) }}"><button type="button" class="btn btn-sm btn-danger">Supprimer</button></a></td>
2020-11-29 02:05:19 +01:00
</tr>
2022-07-05 01:18:52 +02:00
{% endfor %}
{% endif %}
2020-11-29 02:05:19 +01:00
</tbody>
</table>
</div>
{% endblock %}