add session validation, updated migration script and minor ui changes

This commit is contained in:
prafull-opensignlabs
2023-12-29 12:31:36 +05:30
parent e82384dff8
commit 07f2ceed6e
9 changed files with 161 additions and 50 deletions
@@ -43,7 +43,7 @@ const EditTemplate = ({ template, onSuccess }) => {
fontWeight: "700"
}}
>
file selected : {template.URL?.split("/")[3]?.split("_")[1]}
{template.URL?.split("/")[3]?.split("_")[1]}
</div>
</div>
<div className="form-section">
@@ -10,12 +10,12 @@ const LinkUserModal = (props) => {
details={props.handleAddUser}
closePopup={props.closePopup}
/>
<div style={{ display: "flex", alignItems: "center", gap: 5, margin:"0px 25px" }}>
<div style={{ display: "flex", alignItems: "center", gap: 5, margin:"0 30%", color:"#808080" }}>
<span
style={{
height: 1,
width: "100%",
backgroundColor: "grey"
backgroundColor: "#ccc"
}}
></span>
<span>or</span>
@@ -23,7 +23,7 @@ const LinkUserModal = (props) => {
style={{
height: 1,
width: "100%",
backgroundColor: "grey"
backgroundColor: "#ccc"
}}
></span>
</div>
@@ -1,6 +1,6 @@
.addusercontainer {
height: 100%;
padding: 20px;
padding: 10px 20px 10px 20px;
}
.loaderdiv {
@@ -87,10 +87,9 @@ const SelectSigners = (props) => {
/>
</div>
{isError ? <p style={{color:'red', fontSize: "12px", margin:"5px"}}>Please select signer</p>: <p style={{color:'transparent', fontSize: "12px", margin:"5px"}}>.</p>}
<div >
<div>
<button className="submitbutton" onClick={() => handleAdd()}>
Add Signer
Submit
</button>
</div>
</div>