From 06c639045c104f1fde1955abf5a7c7a2011de7f5 Mon Sep 17 00:00:00 2001 From: Edward Viaene Date: Mon, 26 Aug 2024 19:50:23 +0200 Subject: [PATCH] Feature/UI updates 1.1.1 (#13) * ui updates --- webapp/src/Routes/Home/Home.tsx | 2 +- webapp/src/Routes/Home/UserStats.tsx | 2 +- webapp/src/Routes/Users/ListUsers.tsx | 2 +- webapp/src/Routes/Users/NewUser.tsx | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/webapp/src/Routes/Home/Home.tsx b/webapp/src/Routes/Home/Home.tsx index df487a3..86dac66 100644 --- a/webapp/src/Routes/Home/Home.tsx +++ b/webapp/src/Routes/Home/Home.tsx @@ -32,7 +32,7 @@ export function Home() { if (error) return 'cannot retrieve licensed users' return ( - + VPN Status diff --git a/webapp/src/Routes/Home/UserStats.tsx b/webapp/src/Routes/Home/UserStats.tsx index a9aa5f7..78ed63f 100644 --- a/webapp/src/Routes/Home/UserStats.tsx +++ b/webapp/src/Routes/Home/UserStats.tsx @@ -35,7 +35,7 @@ export function UserStats() { responsive: true, plugins: { legend: { - position: 'right' as const, + position: 'bottom' as const, display: true, }, tooltip: { diff --git a/webapp/src/Routes/Users/ListUsers.tsx b/webapp/src/Routes/Users/ListUsers.tsx index 7e064f9..0abd406 100644 --- a/webapp/src/Routes/Users/ListUsers.tsx +++ b/webapp/src/Routes/Users/ListUsers.tsx @@ -239,7 +239,7 @@ export function ListUsers({localAuthDisabled}:Props) { Role Type Status - Last Login + Last Web Login diff --git a/webapp/src/Routes/Users/NewUser.tsx b/webapp/src/Routes/Users/NewUser.tsx index be2ebe9..ce03b87 100644 --- a/webapp/src/Routes/Users/NewUser.tsx +++ b/webapp/src/Routes/Users/NewUser.tsx @@ -54,6 +54,7 @@ export function NewUser({setShowNewUser} :Props) { provisioned: false, suspended: false, lastTokenRenewal: "", + lastLogin: "", connectionsDisabledOnAuthFailure: false, }, validate: {