diff --git a/apps/OpenSign/src/components/opensigndrive/DriveBody.js b/apps/OpenSign/src/components/opensigndrive/DriveBody.js index 978ed96d9..0fd22e577 100644 --- a/apps/OpenSign/src/components/opensigndrive/DriveBody.js +++ b/apps/OpenSign/src/components/opensigndrive/DriveBody.js @@ -9,7 +9,6 @@ import { useNavigate } from "react-router-dom"; import Table from "react-bootstrap/Table"; import * as HoverCard from "@radix-ui/react-hover-card"; import ModalUi from "../../primitives/ModalUi"; -import { themeColor } from "../../constant/const"; import FolderModal from "../shared/fields/FolderModal"; function DriveBody(props) { @@ -567,11 +566,10 @@ function DriveBody(props) { )} setIsDeleteDoc(false)} > -
+

Are you sure you want to delete this document?

)} - @@ -214,8 +202,8 @@ function SignPad({ const fontfamily = fontStyle ? fontStyle : fontSelect - ? fontSelect - : "Fasthand"; + ? fontSelect + : "Fasthand"; //creating span for getting text content width const span = document.createElement("span"); @@ -256,7 +244,7 @@ function SignPad({ const PenColorComponent = (props) => { return ( -
+
{allColor.map((data, key) => { return ( { props?.convertToImg && @@ -296,31 +284,12 @@ function SignPad({ return (
{isSignPad && ( -
-
-
-
-
-
+
+
+
+
+
+
{isStamp ? ( {widgetType === "image" @@ -347,12 +316,11 @@ function SignPad({
@@ -372,12 +340,11 @@ function SignPad({ Upload Image
@@ -399,12 +366,11 @@ function SignPad({
{!isInitial && defaultSign ? ( @@ -428,12 +394,11 @@ function SignPad({ My Signature
) : ( @@ -459,12 +424,11 @@ function SignPad({ My Initials
) @@ -475,8 +439,7 @@ function SignPad({
{ setPenColor("blue"); setIsSignPad(false); @@ -493,10 +456,10 @@ function SignPad({ ×
-
+
{isDefaultSign ? ( <> -
+
stamp img
-
+
) : isImageSelect || isStamp ? ( !image ? ( -
+
) : ( <> -
+
-
+
) ) : isTab === "type" ? (
-
+
{isInitial ? "Initials" : "Signature"}: - { @@ -622,7 +567,6 @@ function SignPad({ }} />
-
{fontOptions.map((font, ind) => { return ( @@ -653,21 +597,14 @@ function SignPad({ })}
-
+
) : ( <> -
+
-
+
diff --git a/apps/OpenSign/src/components/pdf/Signedby.js b/apps/OpenSign/src/components/pdf/Signedby.js index 4728e095b..1bcaa3116 100644 --- a/apps/OpenSign/src/components/pdf/Signedby.js +++ b/apps/OpenSign/src/components/pdf/Signedby.js @@ -1,5 +1,4 @@ import React from "react"; -import { themeColor } from "../../constant/const"; import "../../styles/signature.css"; function Signedby({ pdfDetails }) { const getFirstLetter = (name) => { @@ -8,50 +7,18 @@ function Signedby({ pdfDetails }) { }; return ( -
-
+
+
Signed By
-
-
-
- +
+
+
+ {getFirstLetter(pdfDetails.ExtUserPtr.Name)}
-
+
{pdfDetails.ExtUserPtr.Name} {pdfDetails.ExtUserPtr.Email}
diff --git a/apps/OpenSign/src/components/pdf/SignerListPlace.js b/apps/OpenSign/src/components/pdf/SignerListPlace.js index 6ec80773a..aad88dbb0 100644 --- a/apps/OpenSign/src/components/pdf/SignerListPlace.js +++ b/apps/OpenSign/src/components/pdf/SignerListPlace.js @@ -1,5 +1,4 @@ import React from "react"; -// import { themeColor } from "../../constant/const"; import RecipientList from "./RecipientList"; import { Tooltip } from "react-tooltip"; @@ -57,27 +56,29 @@ function SignerListPlace(props) {
- {props.handleAddSigner ? ( -
props.handleAddSigner()} - > - Add role -
- ) : ( -
props.setIsAddSigner(true)} - > - Add recipients -
- )} +
+ {props.handleAddSigner ? ( +
props.handleAddSigner()} + > + Add role +
+ ) : ( +
props.setIsAddSigner(true)} + > + Add recipients +
+ )} +
); } diff --git a/apps/OpenSign/src/components/pdf/WidgetComponent.js b/apps/OpenSign/src/components/pdf/WidgetComponent.js index bd1814fc2..370ce4ae3 100644 --- a/apps/OpenSign/src/components/pdf/WidgetComponent.js +++ b/apps/OpenSign/src/components/pdf/WidgetComponent.js @@ -9,7 +9,6 @@ import { textWidget, widgets } from "../../constant/Utils"; -import { themeColor } from "../../constant/const"; function WidgetComponent({ dragSignature, signRef, @@ -259,36 +258,18 @@ function WidgetComponent({ {isSigners && (
handleModal()} > - + {title ? title : "Recipient"} - - {signersdata[isSelectListId]?.Role && (
{signersdata[isSelectListId]?.Name ? ( @@ -314,7 +295,7 @@ function WidgetComponent({ )}
)} -
+
@@ -333,25 +314,19 @@ function WidgetComponent({ setIsAddSigner && (
setIsAddSigner(true)} > - Add recipients + Add recipients
) )} -
-
+