Archive deletion
Added archive deletion with a confirmation page
This commit is contained in:
parent
f0b8b1eb3d
commit
82625c9d73
5 changed files with 439 additions and 41 deletions
14
flask/templates/delete.html
Normal file
14
flask/templates/delete.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block meta %}
|
||||
<link rel="stylesheet" href="/static/view.css" />
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{{archive[1]}}</h2>
|
||||
<p>Are you sure?</p>
|
||||
<form action="/delete/{{archive[0]}}" method="post">
|
||||
<p><b>Enter Archive: </b><input type="text" name="archname" placeholder="Archive Name"></p>
|
||||
<input type="submit" value="Yes, I am sure! Delete!">
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue