diff options
Diffstat (limited to 'interface/admin_rename.tmpl')
-rw-r--r-- | interface/admin_rename.tmpl | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/interface/admin_rename.tmpl b/interface/admin_rename.tmpl new file mode 100644 index 0000000..a760cb5 --- /dev/null +++ b/interface/admin_rename.tmpl @@ -0,0 +1,40 @@ +<!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"> + <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 active" href="/admin/{{ directory }}/rename">Rename</a> + <a class="button" href="/admin/{{ directory }}/aliases">Links</a> + <a class="button delete" href="/admin/{{ directory }}/delete">Delete</a> + </div> + + <div> + This will rename the directory <span class="highlight dirname">{{ directory }}</span>. + <br /> + All aliases will be kept intact. + </div> + + <input type="text" placeholder="New name" /> + + <div id="action"> + <a class="button" href="?confirm">Rename</a> + </div> + </div> + </body> +</html> |