diff options
author | MetroWind <chris.corsair@gmail.com> | 2025-09-07 09:42:33 -0700 |
---|---|---|
committer | MetroWind <chris.corsair@gmail.com> | 2025-09-07 09:42:33 -0700 |
commit | ea0d3220db995018335c48eb06b9794235ff436b (patch) | |
tree | 892564cdd4946c6ee9c1051bc31ff5c7bba6ddf1 /templates/delete-link.html |
Initial commit, mostly just copied from shrt.
Diffstat (limited to 'templates/delete-link.html')
-rw-r--r-- | templates/delete-link.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/delete-link.html b/templates/delete-link.html new file mode 100644 index 0000000..809a57e --- /dev/null +++ b/templates/delete-link.html | |||
@@ -0,0 +1,32 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | {% include "head.html" %} | ||
5 | <title>shrt – Delet a Link</title> | ||
6 | </head> | ||
7 | <body> | ||
8 | <div id="Body" class="Window Dialog"> | ||
9 | {% include "nav.html" %} | ||
10 | <form action="{{ url_for("delete-link") }}" method="post" id="DeleteLinkForm"> | ||
11 | <table class="InputFields"> | ||
12 | <tr> | ||
13 | <td><label for="id">Shortcut</label></td> | ||
14 | <td><input type="text" name="id" id="id" readonly value="{{ link.id_str }}" /></td> | ||
15 | </tr> | ||
16 | <tr> | ||
17 | <td><label for="shortcut">Shortcut</label></td> | ||
18 | <td><input type="text" id="shortcut" readonly value="{{ link.shortcut }}" /></td> | ||
19 | </tr> | ||
20 | <tr> | ||
21 | <td><label for="original_url">URL</label></td> | ||
22 | <td><input type="url" id="original_url" readonly value="{{ link.original_url }}" /></td> | ||
23 | </tr> | ||
24 | </table> | ||
25 | <div class="ButtonRow"> | ||
26 | <input type="submit" value="Delete link!" /> | ||
27 | </div> | ||
28 | </form> | ||
29 | {% include "footer.html" %} | ||
30 | </div> | ||
31 | </body> | ||
32 | </html> | ||