From a8678f816838d8f0211aa96357390f895c39f19a Mon Sep 17 00:00:00 2001 From: mgtennant <100305096+mgtennant@users.noreply.github.com> Date: Fri, 6 Sep 2024 15:47:12 -0700 Subject: [PATCH 1/2] make checkbox text clickable --- .../modal/manage-provisions/AddProvisionModal.tsx | 8 +++++++- .../manage-provisions/forms/EditProvisionModalForm.tsx | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/modal/manage-provisions/AddProvisionModal.tsx b/frontend/src/app/components/modal/manage-provisions/AddProvisionModal.tsx index 9b677044..66e11275 100644 --- a/frontend/src/app/components/modal/manage-provisions/AddProvisionModal.tsx +++ b/frontend/src/app/components/modal/manage-provisions/AddProvisionModal.tsx @@ -107,7 +107,13 @@ const AddProvisionModal: React.FC = ({ show, addProvisio - + Enable List} + checked={listEnabled} + onChange={handleListEnabledChange} + /> {listEnabled ? ( diff --git a/frontend/src/app/components/modal/manage-provisions/forms/EditProvisionModalForm.tsx b/frontend/src/app/components/modal/manage-provisions/forms/EditProvisionModalForm.tsx index 2c07963b..3a653107 100644 --- a/frontend/src/app/components/modal/manage-provisions/forms/EditProvisionModalForm.tsx +++ b/frontend/src/app/components/modal/manage-provisions/forms/EditProvisionModalForm.tsx @@ -133,7 +133,13 @@ const EditProvisionModalForm: React.FC = ({ - + Enable List} + checked={listEnabled} + onChange={handleListEnabledChange} + /> {listEnabled ? ( From a3ff90dfd0388a684b80fddd600826422236b7c1 Mon Sep 17 00:00:00 2001 From: mgtennant <100305096+mgtennant@users.noreply.github.com> Date: Fri, 6 Sep 2024 16:07:13 -0700 Subject: [PATCH 2/2] create document page styling ticdi-103 --- frontend/public/css/new.css | 5 ++-- .../src/app/components/common/Collapsible.tsx | 2 +- .../src/app/content/pages/LandingPage.tsx | 23 +++++++++++-------- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/frontend/public/css/new.css b/frontend/public/css/new.css index 13682237..639250dc 100644 --- a/frontend/public/css/new.css +++ b/frontend/public/css/new.css @@ -4,9 +4,10 @@ } .collapsibleTitle { - font-size: 1.4rem; - /* font-family: Verdana, Geneva, sans-serif !important; */ + font-size: 1.2rem; + font-family: Verdana, Geneva, sans-serif !important; cursor: pointer; + margin-bottom: 0.5rem; } hr { diff --git a/frontend/src/app/components/common/Collapsible.tsx b/frontend/src/app/components/common/Collapsible.tsx index 6dfa6ea4..f6eb83e8 100644 --- a/frontend/src/app/components/common/Collapsible.tsx +++ b/frontend/src/app/components/common/Collapsible.tsx @@ -35,7 +35,7 @@ const Collapsible: FC = ({ title, children, isOpen, enabled = className={`inlineDiv collapsibleTitle`} onClick={toggleCollapsibleOnClick} /> -
+
{title}
diff --git a/frontend/src/app/content/pages/LandingPage.tsx b/frontend/src/app/content/pages/LandingPage.tsx index 986349dd..acb21a99 100644 --- a/frontend/src/app/content/pages/LandingPage.tsx +++ b/frontend/src/app/content/pages/LandingPage.tsx @@ -401,7 +401,9 @@ const LandingPage: FC = () => {
{documentType ? `Preview - ${documentType.name}` : 'Document Preview'}

-
DTID:
+
+ DTID: +
{ Clear
- {showError && ( {error} )}
-
Tenure File Number:
+
+ Tenure File Number: +
{data?.fileNum || }
-
Primary Contact Name:
+
+ Primary Contact Name: +
{data?.primaryContactName}

Create Document

-
+
Document Type:
-
+ + +