summaryrefslogtreecommitdiff
path: root/stashbox/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'stashbox/templates/index.html')
-rw-r--r--stashbox/templates/index.html40
1 files changed, 0 insertions, 40 deletions
diff --git a/stashbox/templates/index.html b/stashbox/templates/index.html
deleted file mode 100644
index e219959..0000000
--- a/stashbox/templates/index.html
+++ /dev/null
@@ -1,40 +0,0 @@
-$def with (folders, form)
-
-<div class="span8">
- <header>
- <h2>Existing folders</h2>
- </header>
-
- <table class="table">
- <tr>
- <th>Folder</th>
- <th>Owner</th>
- <th>Users</th>
- <th></th>
- </tr>
- $for folder in folders:
- <tr>
- <td><a href="/folder/$folder['id']/edit/">$folder['name']</a></td>
- <td>$folder['owner']</td>
- <td>
- ${", ".join(folder['users'])}
- </td>
- <td>
- $ folder_id = folder['id']
- <form id="delete_folder_$folder_id" action="/folder/$folder_id/delete/" method="POST">
- <input type="submit" class="btn" value="Delete" />
- </form>
- </td>
- </tr>
- </table>
-</div>
-
-<div class="span4">
- <header>
- <h2>Add a folder</h2>
- </header>
-
- <form id="add_folder" action="" method="POST">
- $:form.render_css()
- </form>
-</div>