2017-06-22 15:34:57 +00:00
|
|
|
<div>The hosting server is always an authenticated client</div>
|
|
|
|
{{ if not .TemplateData.Clients }}
|
|
|
|
<div>No additional clients have been authenticated</div>
|
|
|
|
{{ else }}
|
2017-06-08 17:20:43 +00:00
|
|
|
<table id="clients-table" class="hidden sortable pure-table pure-table-bordered center">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Client ID</th>
|
|
|
|
<th>Last Known IP</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{ range $i, $v := .TemplateData.Clients }}
|
|
|
|
<tr>
|
|
|
|
<td>{{ $v.Id }}</td>
|
|
|
|
<td>{{ $v.Ip }}</td>
|
|
|
|
<td>
|
|
|
|
<a href="/admin/clients/{{ $v.UUID }}/deauth" class="pure-button pure-button-plain"><i class="fa fa-trash"></i></a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2017-06-22 15:34:57 +00:00
|
|
|
{{ end }}
|