diff --git a/cmd/templates/index.html b/cmd/templates/index.html index 4f99aaa..d4cdd6e 100644 --- a/cmd/templates/index.html +++ b/cmd/templates/index.html @@ -34,48 +34,61 @@

Current clients


- {{ range .Clients }} - - - - - - - - - - - - - - - - - - - - - - -
IDStatusRemote IPLocal IPUsernameHostnameOperating System - CMD - - KILL - - REMOVE -
{{ .ClientID }} - {{ if .IsOnline }} - - OK - - {{ else }} - - Offline - - {{ end }} - {{ .ClientBasicInfo.PublicIP }}{{ .ClientBasicInfo.LocalIP }}{{ .ClientBasicInfo.Username }}{{ .ClientBasicInfo.Hostname }}{{ .ClientBasicInfo.OperatingSystem }}
-
- {{ end }} +
+ {{ range .Clients }} + + + + + + + + + + + + + + + + + + + + + + + +
IDStatusRemote IPLocal IPUsernameHostnameOperating System + CMD + + KILL + + REMOVE +
{{ .ClientID }} + {{ if .IsOnline }} + + OK + + {{ else }} + + Offline + + {{ end }} + {{ .ClientBasicInfo.PublicIP }}{{ .ClientBasicInfo.LocalIP }}{{ .ClientBasicInfo.Username }}{{ .ClientBasicInfo.Hostname }}{{ .ClientBasicInfo.OperatingSystem }}
+
+ {{ end }} + + + +
diff --git a/cmd/templates/style.css b/cmd/templates/style.css index a10a165..1f6be28 100644 --- a/cmd/templates/style.css +++ b/cmd/templates/style.css @@ -23,16 +23,19 @@ ul { li.hor { display: inline-flex; + vertical-align: center; margin-right: 20px; } td.left { text-align: left; + vertical-align: center; padding-left: 5px; } td { text-align: center; + vertical-align: center; padding: 5px; }