aboutsummaryrefslogtreecommitdiff
path: root/interface/admin_delete.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'interface/admin_delete.tmpl')
-rw-r--r--interface/admin_delete.tmpl21
1 files changed, 16 insertions, 5 deletions
diff --git a/interface/admin_delete.tmpl b/interface/admin_delete.tmpl
index bf6d8a2..102d908 100644
--- a/interface/admin_delete.tmpl
+++ b/interface/admin_delete.tmpl
@@ -11,24 +11,35 @@
</head>
<body>
<div id="header">
- cargohold - Administration
+ <h1>cargohold - <span class="dirname">{{ directory }}</span></h1>
+ <a class="button" href="/admin">Back to overview</a>
</div>
<div id="container">
+ <div id="topmenu">
+ <a class="button" href="/admin/{{ directory }}">View</a>
+ <a class="button" href="/admin/{{ directory }}/upload">Upload</a>
+ <a class="button" href="/admin/{{ directory }}/rename">Rename</a>
+ <a class="button" href="/admin/{{ directory }}/aliases">Links</a>
+ <a class="button active" href="/admin/{{ directory }}/delete">Delete</a>
+ </div>
+
<div id="message">
- This will delete the directory <span class="highlight">{{ directory }}</span>.
+ This will delete the directory <span class="highlight dirname">{{ 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>
+ <a class="entry" href="/admin/{{ directory }}/file/{{ file.name }}">{{ file.name }}</a>
</div>
{% endfor %}
</div>
+
<div id="action">
- <a class="button" href="/admin">Cancel</a>
- <a class="button delete" href="?confirm">Confirm &amp; delete</a>
+ <a class="button" href="/admin/{{ directory }}">Cancel</a>
+ <a class="button delete" href="?confirm">Confirm &amp; delete all</a>
</div>
</div>
</body>