diff --git a/handler/routes.go b/handler/routes.go index dd8cde4..d4e0ffb 100644 --- a/handler/routes.go +++ b/handler/routes.go @@ -166,7 +166,7 @@ func SetClientStatus() echo.HandlerFunc { client.Enabled = status db.Write("clients", clientID, &client) - log.Infof("Change client %s to status %b", client.ID, status) + log.Infof("Changed client %s enabled status to %v", client.ID, status) return c.JSON(http.StatusOK, jsonHTTPResponse{true, "ok"}) } diff --git a/templates/clients.html b/templates/clients.html index 2d8d25d..e9cf9be 100644 --- a/templates/clients.html +++ b/templates/clients.html @@ -7,6 +7,7 @@ Wireguard Clients .paused-client { transition: transform .2s; cursor: pointer; + vertical-align: middle; } i[class^="paused-client"]:hover { transform: scale(1.5); } @@ -28,7 +29,8 @@ Wireguard Clients {{range .clientDataList}}
-
+