aboutsummaryrefslogtreecommitdiffstats
path: root/templates/users.html
blob: 4656e88e32241805ba7311341712aa83e4c9ed3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<table>
  <tr>
    <th>id</th>
    <th>username</th>
    <th>real name</th>
    <th>email</th>
    <th>action</th>
  </tr>
  {{# users }}
    <tr>
      <td>{{ .id }}</td>
      <td>{{ .username }}</td>
      <td>{{ .realname() }}</td>
      <td>{{ .email() }}</td>
      <td><a href="/users/{{ .id }}/delete" id="delete_user">Delete</a></td>
    </tr>
  {{/ users }}
</table>

<div class="actions">
  <a href="/users/new" id="new_user">Create new user</a>
</div>