Add confirm dialong for deleting.

This commit is contained in:
CronyAkatsuki 2023-05-28 21:23:35 +02:00
parent 094c00eab1
commit f78cf1c68c

View File

@ -22,7 +22,7 @@
{% endif %}
<div class="info">
<a href="/files/{{ file.name }}" download>{{ file.name }}</a>
<a href="/delete/{{ file.name }}">delete!</a>
<a href="/delete/{{ file.name }} onclick="return confirm('Are you sure?')"">delete!</a>
</div>
</div>
{% endfor %}