From 8a14eb5280af0edf38be57f8db4d714bf4fa5f19 Mon Sep 17 00:00:00 2001 From: Girish9960 Date: Mon, 31 Jul 2023 11:56:27 +0530 Subject: [PATCH] refactor:added icons, alignments, and replace colors Signed-off-by: Girish9960 --- src/components/Profile/AddPasskey.tsx | 13 +++++++------ src/components/Resources/Schema/Schemas.tsx | 7 +++++-- src/components/Resources/Schema/ViewSchema.tsx | 7 +++++++ src/components/organization/CreateOrgFormModal.tsx | 9 ++++++--- src/components/organization/OrgDropDown.tsx | 2 +- src/components/organization/OrganizationsList.tsx | 6 +++--- .../invitations/ReceivedInvitations.tsx | 4 ++-- src/components/organization/users/index.tsx | 8 ++++---- 8 files changed, 35 insertions(+), 21 deletions(-) diff --git a/src/components/Profile/AddPasskey.tsx b/src/components/Profile/AddPasskey.tsx index 1c7778130..218cdc3cc 100644 --- a/src/components/Profile/AddPasskey.tsx +++ b/src/components/Profile/AddPasskey.tsx @@ -181,12 +181,13 @@ const AddPasskey = () => {
- + + { (addSuccess || addfailure || fidoError) &&
diff --git a/src/components/Resources/Schema/Schemas.tsx b/src/components/Resources/Schema/Schemas.tsx index 4aa59c804..d3bd15c92 100644 --- a/src/components/Resources/Schema/Schemas.tsx +++ b/src/components/Resources/Schema/Schemas.tsx @@ -92,8 +92,11 @@ const SchemaList = () => { window.location.href = `/organizations/schemas/create?OrgId=${orgId}` }} className='text-base font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 sm:w-auto dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800' - > - Create Schema + > + + + + Create
{loading diff --git a/src/components/Resources/Schema/ViewSchema.tsx b/src/components/Resources/Schema/ViewSchema.tsx index 69af002c4..7af9e9bc8 100644 --- a/src/components/Resources/Schema/ViewSchema.tsx +++ b/src/components/Resources/Schema/ViewSchema.tsx @@ -262,6 +262,9 @@ const ViewSchemas = () => { color='bg-primary-800' className='text-base font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 sm:w-auto dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800"' > + + + Create
@@ -270,6 +273,10 @@ const ViewSchemas = () => { type="reset" className="text-base font-medium text-center text-white bg-blue-500 rounded-lg hover:bg-blue-600 focus:ring-4 focus:ring-blue-300 sm:w-auto dark:bg-blue-500 dark:hover:bg-blue-600 dark:focus:ring-blue-700" > + + + + Reset diff --git a/src/components/organization/CreateOrgFormModal.tsx b/src/components/organization/CreateOrgFormModal.tsx index 04b72b8ee..dda27bd75 100644 --- a/src/components/organization/CreateOrgFormModal.tsx +++ b/src/components/organization/CreateOrgFormModal.tsx @@ -235,7 +235,7 @@ const CreateOrgFormModal = (props: { openModal: boolean; setMessage: (message: s