gosscms/templates/admin-users.html

27 lines
809 B
HTML
Raw Permalink Normal View History

2017-08-29 19:33:09 +00:00
<section class="admin">
<div class="container">
<div class="bottom-space pull-right">
<a id="btnAddUser" class="button" href="/admin/users/new"><i class="fa fa-plus"></i> Add User</a>
</div>
<table id="users-table" class="sortable gosscms-table gosscms-table-bordered center">
<thead>
<tr>
<th>Email</th>
<th></th>
</tr>
</thead>
<tbody>
{{ range $i, $v := .TemplateData.Users }}
<tr>
<td>{{ $v }}</td>
<td>
<a href="/admin/users/{{ $v }}/edit" class="button"><i class="fa fa-pencil"></i></a>
<a href="/admin/users/{{ $v }}/delete" class="button"><i class="fa fa-trash"></i></a>
</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
</section>