mirror of
https://github.com/AuxXxilium/docker-ddns-server.git
synced 2024-11-23 23:00:59 +07:00
29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
{{define "content"}}
|
|
<div class="container marketing">
|
|
<h3 class="text-center mb-4">Log Entries</h3>
|
|
<table class="table table-striped text-center" style="font-size: 14px">
|
|
<thead>
|
|
<tr>
|
|
<th>Status</th>
|
|
<th>Hostname</th>
|
|
<th>IP sent</th>
|
|
<th>Timestamp</th>
|
|
<th>User Agent</th>
|
|
<th>Caller IP</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{range .logs}}
|
|
<tr class="errorTooltip" title="<b>{{if .Status}}Successful{{else}}Failed{{end}}</b><br>{{.Message}}">
|
|
<td class="align-middle mx-auto"><div class="{{if .Status}}bg-success{{else}}bg-danger{{end}}" style="width: 16px; height: 16px; margin: auto"></div></td>
|
|
<td>{{.Host.Hostname}}.{{.Host.Domain}}</td>
|
|
<td>{{.SentIP}}</td>
|
|
<td>{{.CreatedAt.Format "01/02/2006 15:04"}}</td>
|
|
<td>{{.UserAgent}}</td>
|
|
<td>{{.CallerIP}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{end}} |