Use tables for representing clients
This commit is contained in:
parent
55ec3ad43d
commit
7db2633351
|
@ -14,14 +14,32 @@
|
||||||
<p>Hello {{ .UserAgent }}</p>
|
<p>Hello {{ .UserAgent }}</p>
|
||||||
<hr>
|
<hr>
|
||||||
<h2>Current clients</h2>
|
<h2>Current clients</h2>
|
||||||
|
|
||||||
{{ range .Clients }}
|
{{ range .Clients }}
|
||||||
<p>{{ .Username }}</p>
|
<table border=1>
|
||||||
<p>{{ .UID }}</p>
|
<tr>
|
||||||
<p>{{ .GID }}</p>
|
<td rowspan=2>Status</td>
|
||||||
<p>{{ .Hostname }}</p>
|
<td>IP</td>
|
||||||
<p>{{ .OperatingSystem }}</p>
|
<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>
|
<hr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- <p>{{ .Username }}</p> -->
|
||||||
|
<!-- <p>{{ .UID }}</p> -->
|
||||||
|
<!-- <p>{{ .GID }}</p> -->
|
||||||
|
<!-- <p>{{ .Hostname }}</p> -->
|
||||||
|
<!-- <p>{{ .OperatingSystem }}</p> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue