48 lines
1.0 KiB
HTML
48 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>AEMET Client</title>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link href="style.css" rel="stylesheet">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<div id="main">
|
|
<p>Hello {{ .UserAgent }}</p>
|
|
<hr>
|
|
<h2>Current clients</h2>
|
|
|
|
{{ range .Clients }}
|
|
<table border=1>
|
|
<tr>
|
|
<td rowspan=2>Status</td>
|
|
<td>IP</td>
|
|
<td>Username</td>
|
|
<td>Hostname</td>
|
|
<td>Operating System</td>
|
|
<td rowspan=2>Actions</td>
|
|
</tr>
|
|
<tr>
|
|
<td>{{ .PublicIP }}</td>
|
|
<td>{{ .Username }}</td>
|
|
<td>{{ .Hostname }}</td>
|
|
<td>{{ .OperatingSystem }}</td>
|
|
</tr>
|
|
</table>
|
|
<hr>
|
|
{{ end }}
|
|
|
|
<!-- <p>{{ .Username }}</p> -->
|
|
<!-- <p>{{ .UID }}</p> -->
|
|
<!-- <p>{{ .GID }}</p> -->
|
|
<!-- <p>{{ .Hostname }}</p> -->
|
|
<!-- <p>{{ .OperatingSystem }}</p> -->
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|