From 5ea7d79c4cb2bcdc85f483f747c338904098d458 Mon Sep 17 00:00:00 2001 From: JOSEPH LE Date: Mon, 16 Sep 2024 15:06:07 +0700 Subject: [PATCH] update Ui --- FRONTEND/src/components/Navbar/Navbar.tsx | 2 +- FRONTEND/src/pages/Allocation/Allocation.tsx | 18 ++++++++++++++---- .../pages/LeaveManagement/LeaveManagement.tsx | 2 +- FRONTEND/src/pages/Tickets/Tickets.tsx | 1 - FRONTEND/src/pages/Timekeeping/Timekeeping.tsx | 1 - FRONTEND/src/pages/Worklogs/Worklogs.tsx | 2 +- FRONTEND/src/routes/main.tsx | 10 ++++++---- 7 files changed, 23 insertions(+), 13 deletions(-) diff --git a/FRONTEND/src/components/Navbar/Navbar.tsx b/FRONTEND/src/components/Navbar/Navbar.tsx index 6492cad..740a662 100755 --- a/FRONTEND/src/components/Navbar/Navbar.tsx +++ b/FRONTEND/src/components/Navbar/Navbar.tsx @@ -57,7 +57,7 @@ const data = [ link: '/tracking', label: 'Check in/out', icon: IconScan, - group: 'normal', + group: 'admin', }, { link: '/worklogs', diff --git a/FRONTEND/src/pages/Allocation/Allocation.tsx b/FRONTEND/src/pages/Allocation/Allocation.tsx index 53ee51c..c275a3b 100644 --- a/FRONTEND/src/pages/Allocation/Allocation.tsx +++ b/FRONTEND/src/pages/Allocation/Allocation.tsx @@ -3311,11 +3311,20 @@ const Allocation = () => { + + Admin/ + Personnel Allocation + "P:" is the timspent/timeestimate number within the project itself + "A:" is the timspent/timeestimate of all projects + + {!loading && Object.keys(data?.projects).map((pro) => { return ( @@ -3511,7 +3520,7 @@ const Allocation = () => { } /> - WARNING + WARNING - NO ASSIGNMENT @@ -3537,6 +3546,7 @@ const Allocation = () => { })} + diff --git a/FRONTEND/src/pages/LeaveManagement/LeaveManagement.tsx b/FRONTEND/src/pages/LeaveManagement/LeaveManagement.tsx index 0131682..4aa1d0f 100644 --- a/FRONTEND/src/pages/LeaveManagement/LeaveManagement.tsx +++ b/FRONTEND/src/pages/LeaveManagement/LeaveManagement.tsx @@ -247,7 +247,7 @@ const LeaveManagement = () => {

- Admin/ Leave Management + Leave Management

{

- Admin/ Tickets