gosscms/templates/admin-users.html
2017-08-28 15:04:19 -05:00

23 lines
736 B
HTML

<div class="bottom-space center">
<a id="btnAddUser" class="gosscms-button gosscms-button-success" 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="gosscms-button gosscms-button-plain"><i class="fa fa-pencil"></i></a>
<a href="/admin/users/{{ $v }}/delete" class="gosscms-button gosscms-button-plain"><i class="fa fa-trash"></i></a>
</td>
</tr>
{{ end }}
</tbody>
</table>