diff options
Diffstat (limited to 'stashbox/templates/index.html')
-rw-r--r-- | stashbox/templates/index.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/stashbox/templates/index.html b/stashbox/templates/index.html new file mode 100644 index 0000000..9c59de9 --- /dev/null +++ b/stashbox/templates/index.html @@ -0,0 +1,37 @@ +$def with (boxes, form) + +<div class="main"> + <header> + <h1>Existing folders</h1> + </header> + + <form action="" method="post"> + + <table class="itemlist"> + <tr> + <th>Folder</th> + <th>Owner</th> + <th>Users</th> + </tr> + $for box in boxes: + <tr> + <td><a href="/admin/folder/$box['id']/">$box['name']</a></td> + <td>$box['owner']</td> + <td> + ${", ".join(box['users'])} + </td> + </tr> + </table> + +</div> + +<div class="right"> + <header> + <h1>Add a folder</h1> + </header> + + <form action="" method="post"> + $:form.render() + </form> + +</div> |