Brian Buller
ba35073d95
* Use 'https://github.com/mjibson/esc' for embedded assets * Pull database name out of siteData object * Load site config from database, if available * Allow customizing site config from command line arguments * Clean up some templates * Update Readme (it still needs a lot of updating) * Started work on vote accumulation/management
25 lines
713 B
HTML
25 lines
713 B
HTML
<div>The hosting server is always an authenticated client</div>
|
|
{{ if not .TemplateData.Clients }}
|
|
<div>No additional clients have been authenticated</div>
|
|
{{ else }}
|
|
<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>
|
|
{{ end }}
|