diff options
| author | Aaron Williamson <aaron@copiesofcopies.org> | 2011-07-01 14:47:02 -0400 | 
|---|---|---|
| committer | Aaron Williamson <aaron@copiesofcopies.org> | 2011-07-01 14:47:02 -0400 | 
| commit | efc395dfbec772d09703b4cfbeead17c3f38a2cb (patch) | |
| tree | 19724ddd2ba2dd8de2b389a14da4f90eb23f09a8 /stashbox/templates/index.html | |
| parent | 20a15553fa0fa4138c468d2892cd07d6baa061d2 (diff) | |
Added interface code
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> | 
