From 2a3edcf3be0555db24d838435e657cd32c886561 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Tue, 9 Apr 2024 15:15:00 +0100 Subject: [PATCH 1/2] removed popout background corner color --- src/components/JobGroups/AddGroup.jsx | 2 +- src/components/JobGroups/DeleteGroup.jsx | 8 ++++---- src/components/JobGroups/DeleteMember.jsx | 2 +- src/components/Partials/Layout.jsx | 2 +- src/components/countdown/CustomTimer.jsx | 6 ++++-- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/components/JobGroups/AddGroup.jsx b/src/components/JobGroups/AddGroup.jsx index bd96fe0..10525de 100644 --- a/src/components/JobGroups/AddGroup.jsx +++ b/src/components/JobGroups/AddGroup.jsx @@ -88,7 +88,7 @@ export default function AddGroup({ action, situation, setUpdateList }) { return ( -
+

Add Group diff --git a/src/components/JobGroups/DeleteGroup.jsx b/src/components/JobGroups/DeleteGroup.jsx index c07064b..b3993a9 100644 --- a/src/components/JobGroups/DeleteGroup.jsx +++ b/src/components/JobGroups/DeleteGroup.jsx @@ -20,14 +20,14 @@ export default function DeleteGroup({action, situation, details}) { action={action} situation={situation} > -
-
-

+
+
+

Delete Group

- {requestStatus.loading ? ( - - ) : ( - - )} -
{/* ERROR DISPLAY AND SUBMIT BUTTON */} {requestStatus.message != "" && @@ -177,6 +155,29 @@ export default function AddGroup({ action, situation, setUpdateList }) { ))} {/* End of error or success display */}
+ +
+ + {requestStatus.loading ? ( + + ) : ( + + )} +

); diff --git a/src/components/JobGroups/DeleteGroup.jsx b/src/components/JobGroups/DeleteGroup.jsx index b3993a9..8112b15 100644 --- a/src/components/JobGroups/DeleteGroup.jsx +++ b/src/components/JobGroups/DeleteGroup.jsx @@ -76,26 +76,6 @@ export default function DeleteGroup({action, situation, details}) { Are you sure, you want to delete
'{details?.group_name}' group?

-
- - {requestStatus.laoding ? ( - - ) : ( - - )} -
{/* ERROR DISPLAY AND SUBMIT BUTTON */} {requestStatus.message != "" && @@ -116,6 +96,26 @@ export default function DeleteGroup({action, situation, details}) { ))} {/* End of error or success display */}

+
+ + {requestStatus.laoding ? ( + + ) : ( + + )} +
) diff --git a/src/components/JobGroups/DeleteMember.jsx b/src/components/JobGroups/DeleteMember.jsx index c6b0491..f99ea25 100644 --- a/src/components/JobGroups/DeleteMember.jsx +++ b/src/components/JobGroups/DeleteMember.jsx @@ -76,26 +76,6 @@ export default function DeleteMember({action, situation, details}) { Are you sure, you want to remove
'{details?.firstname} {details.lastname}'

-
- - {requestStatus.laoding ? ( - - ) : ( - - )} -
{/* ERROR DISPLAY AND SUBMIT BUTTON */} {requestStatus.message != "" && @@ -115,7 +95,27 @@ export default function DeleteMember({action, situation, details}) { ) ))} {/* End of error or success display */} - + +
+ + {requestStatus.laoding ? ( + + ) : ( + + )} +
)