From 7db2633351e5813130ac937b479ea0bed89ccb6d Mon Sep 17 00:00:00 2001 From: raul Date: Tue, 4 Jun 2024 09:37:19 +0200 Subject: [PATCH] Use tables for representing clients --- cmd/templates/index.html | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/cmd/templates/index.html b/cmd/templates/index.html index 95913d6..883c3c8 100644 --- a/cmd/templates/index.html +++ b/cmd/templates/index.html @@ -14,14 +14,32 @@

Hello {{ .UserAgent }}


Current clients

+ {{ range .Clients }} -

{{ .Username }}

-

{{ .UID }}

-

{{ .GID }}

-

{{ .Hostname }}

-

{{ .OperatingSystem }}

+ + + + + + + + + + + + + + + +
StatusIPUsernameHostnameOperating SystemActions
{{ .PublicIP }}{{ .Username }}{{ .Hostname }}{{ .OperatingSystem }}

{{ end }} + + + + + +