diff options
Diffstat (limited to 'interface/admin_delete.tmpl')
-rw-r--r-- | interface/admin_delete.tmpl | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/interface/admin_delete.tmpl b/interface/admin_delete.tmpl new file mode 100644 index 0000000..bf6d8a2 --- /dev/null +++ b/interface/admin_delete.tmpl @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="robots" content="noindex,nofollow" /> + <title>cargohold</title> + <link rel="stylesheet" href="/assets/cargohold.css" /> + <link rel="stylesheet" href="/assets/admin.css" /> + <link rel="icon" href="/assets/cargohold.ico" /> + </head> + <body> + <div id="header"> + cargohold - Administration + </div> + <div id="container"> + <div id="message"> + This will delete the directory <span class="highlight">{{ directory }}</span>. + <br /> + This directory still contains {{ listing | length }} files. + </div> + <div id="dirlisting"> + {% for file in listing %} + <div class="entry"> + <a class="file" href="#">{{ file.name }}</a> + </div> + {% endfor %} + </div> + <div id="action"> + <a class="button" href="/admin">Cancel</a> + <a class="button delete" href="?confirm">Confirm & delete</a> + </div> + </div> + </body> +</html> |