summaryrefslogtreecommitdiff
path: root/stashbox/templates/index.html
blob: 9c59de9a3bd75546d4d8fb2bfc921386f90a217c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>