From baee8206b8338b1d4a9712eeec916d39da633ba6 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 1 Jan 2012 13:17:08 +0100 Subject: Added a 'del' link to allow deleting files. --- templates/__init__.py | 1 + templates/delete.tmpl | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 templates/delete.tmpl (limited to 'templates') diff --git a/templates/__init__.py b/templates/__init__.py index 5c9f28e..a8a47b8 100644 --- a/templates/__init__.py +++ b/templates/__init__.py @@ -6,3 +6,4 @@ from my import my from images import images from register import register from changepass import changepass +from delete import delete diff --git a/templates/delete.tmpl b/templates/delete.tmpl new file mode 100644 index 0000000..62216d5 --- /dev/null +++ b/templates/delete.tmpl @@ -0,0 +1,9 @@ +#def title: delete +#def header: delete +#extends templates.base +#def content +
+

Are you sure you want to delete the file $filename?

+

+
+#end def -- cgit v1.2.3