diff --git a/handler/routes.go b/handler/routes.go index 5b66f16..09cb426 100644 --- a/handler/routes.go +++ b/handler/routes.go @@ -533,6 +533,8 @@ func Status(db store.IStore) echo.HandlerFunc { LastHandshakeTime time.Time LastHandshakeRel time.Duration Connected bool + AllocatedIP string + Endpoint string } type DeviceVM struct { diff --git a/templates/clients.html b/templates/clients.html index f7f3a1a..2e42542 100644 --- a/templates/clients.html +++ b/templates/clients.html @@ -1,5 +1,5 @@ {{define "title"}} -Wireguard Clients +Wireguard Clients - test {{end}} {{define "top_css"}} diff --git a/templates/login.html b/templates/login.html index 1f0e338..f6d7894 100644 --- a/templates/login.html +++ b/templates/login.html @@ -4,7 +4,7 @@ - WireGuard UI + WireGuard UI - Techdynamics @@ -23,7 +23,7 @@
diff --git a/templates/status.html b/templates/status.html index b161646..f34a553 100644 --- a/templates/status.html +++ b/templates/status.html @@ -41,6 +41,8 @@ Connected Peers # Name Email + Allocated IPs + Endpoint Public Key Received Transmitted @@ -54,6 +56,8 @@ Connected Peers {{ $idx }} {{ $peer.Name }} {{ $peer.Email }} + {{ $peer.AllocatedIP }} + {{ $peer.Endpoint }} {{ $peer.PublicKey }}