Skip to content

Commit 08d1e9a

Browse files
authored
Merge pull request #848 from OpenSignLabs/resolve_stage
2 parents 6fc86e0 + 74a9d08 commit 08d1e9a

File tree

5 files changed

+11
-17
lines changed

5 files changed

+11
-17
lines changed

apps/OpenSign/src/components/pdf/SignerListPlace.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function SignerListPlace(props) {
6161
<div
6262
role="button"
6363
data-tut="reactourAddbtn"
64-
className="op-btn op-btn-accent op-btn-outline w-full my-[2px]"
64+
className="op-btn op-btn-accent op-btn-outline w-full mt-[14px]"
6565
disabled={props?.isMailSend ? true : false}
6666
onClick={() => props.handleAddSigner()}
6767
>
@@ -71,7 +71,7 @@ function SignerListPlace(props) {
7171
<div
7272
role="button"
7373
data-tut="reactourAddbtn"
74-
className="op-btn op-btn-accent op-btn-outline w-full my-[2px]"
74+
className="op-btn op-btn-accent op-btn-outline w-full mt-[14px]"
7575
disabled={props?.isMailSend ? true : false}
7676
onClick={() => props.setIsAddSigner(true)}
7777
>

apps/OpenSign/src/layout/HomeLayout.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,13 +286,10 @@ const HomeLayout = () => {
286286
)}
287287
</>
288288
) : (
289-
<ModalUi title={"Session Expired"} isOpen={true} showClose={false}>
289+
<ModalUi showHeader={false} isOpen={true} showClose={false}>
290290
<div className="flex flex-col justify-center items-center py-4 md:py-5 gap-5">
291-
<p className="text-xl font-normal">Your session has expired.</p>
292-
<button
293-
onClick={handleLoginBtn}
294-
className="text-base px-3 py-1.5 rounded shadow-md text-white bg-[#1ab6ce]"
295-
>
291+
<p className="text-xl font-medium">Your session has expired.</p>
292+
<button onClick={handleLoginBtn} className="op-btn op-btn-neutral">
296293
Login
297294
</button>
298295
</div>

apps/OpenSign/src/pages/GenerateToken.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function GenerateToken() {
143143
{apiToken ? apiToken : "_____"}
144144
</span>
145145
<button
146-
className="op-btn op-btn-accent op-btn-sm ml-2"
146+
className="op-btn op-btn-accent op-btn-outline op-btn-sm ml-2"
147147
onClick={() => copytoclipboard(apiToken)}
148148
>
149149
<i className="fa-solid fa-copy"></i>

apps/OpenSign/src/pages/TemplatePlaceholder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,8 +1270,8 @@ const TemplatePlaceholder = () => {
12701270
title={"Roles"}
12711271
handleClose={() => setIsReceipent(true)}
12721272
>
1273-
<div className="h-full p-[20px]">
1274-
<p>Please add a role</p>
1273+
<div className="h-full p-[20px] text-center font-medium">
1274+
<p>Please add roles first</p>
12751275
</div>
12761276
</ModalUi>
12771277
{/* this modal is used show send mail message and after send mail success message */}

apps/OpenSign/src/primitives/Validate.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,10 @@ const Validate = () => {
4949
<Outlet />
5050
</div>
5151
) : (
52-
<ModalUi title={"Session Expired"} isOpen={true} showClose={false}>
52+
<ModalUi showHeader={false} isOpen={true} showClose={false}>
5353
<div className="flex flex-col justify-center items-center py-4 md:py-5 gap-5">
54-
<p className="text-xl font-normal">Your session has expired.</p>
55-
<button
56-
onClick={handleLoginBtn}
57-
className="text-base px-3 py-1.5 rounded shadow-md text-white bg-[#1ab6ce]"
58-
>
54+
<p className="text-xl font-medium">Your session has expired.</p>
55+
<button onClick={handleLoginBtn} className="op-btn op-btn-neutral">
5956
Login
6057
</button>
6158
</div>

0 commit comments

Comments
 (0)