diff options
author | Aaron Williamson <aaron@copiesofcopies.org> | 2013-03-06 09:37:45 -0500 |
---|---|---|
committer | Aaron Williamson <aaron@copiesofcopies.org> | 2013-03-06 09:37:45 -0500 |
commit | 7b0d82539e2d8a451b8ea9ee54baab0f308a4d8a (patch) | |
tree | 677e5e8f5ec032f9403175b1bc78f378bd0d2d5c /mustash/templates/index.html | |
parent | 673b5ffc0f4fe267901d2acef5212bc158b7885e (diff) |
Added license notices, rebranded.
Diffstat (limited to 'mustash/templates/index.html')
-rw-r--r-- | mustash/templates/index.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mustash/templates/index.html b/mustash/templates/index.html new file mode 100644 index 0000000..e219959 --- /dev/null +++ b/mustash/templates/index.html @@ -0,0 +1,40 @@ +$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> |