2020-11-29 02:05:19 +01:00
|
|
|
{% extends 'up_squelette.html' %}
|
|
|
|
|
2022-07-11 00:36:31 +02:00
|
|
|
{% 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 %}
|