forked from crony/UpFast
Add confirm dialong for deleting.
This commit is contained in:
parent
094c00eab1
commit
f78cf1c68c
@ -22,7 +22,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<a href="/files/{{ file.name }}" download>{{ file.name }}</a>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user