Skip to content

🔥 The free & Open Source DocuSign alternative

replace modal title login with additional info and verification mail alert (#179)

prafull-opensignlabs82694a24f2e8
diff --git a/apps/OpenSign/src/routes/Login.js b/apps/OpenSign/src/routes/Login.js
index 9ca1a2eb0..6da17e83c 100644
--- a/apps/OpenSign/src/routes/Login.js
+++ b/apps/OpenSign/src/routes/Login.js
@@ -129,7 +129,7 @@ function Login(props) {
);
if (rolesfiltered.length > 0) {
_currentRole = rolesfiltered[0];
- }
+ }
} else {
const rolesfiltered = userRoles.filter(
(x) => !valuesToExclude.includes(x)
@@ -472,7 +472,7 @@ function Login(props) {
);
if (rolesfiltered.length > 0) {
_currentRole = rolesfiltered[0];
- }
+ }
} else {
const rolesfiltered = userRoles.filter(
(x) => !valuesToExclude.includes(x)
@@ -655,7 +655,6 @@ function Login(props) {
} else {
setThirdpartyLoader(false);
setState({ ...state, loading: false });
-
}
})
.catch((err) => {
@@ -1171,7 +1170,7 @@ function Login(props) {
<div className="modal-dialog" role="document">
<div className="modal-content">
<div className="modal-header">
- <h5 className="modal-title">Login form</h5>
+ <h5 className="modal-title font-semibold">Additional Info</h5>
<span>
<span></span>
</span>
@@ -1227,18 +1226,19 @@ function Login(props) {
<div className="mt-4">
<button
type="button"
- className="bg-[#6c757d] text-sm p-2 text-white rounded uppercase"
- onClick={handleCloseModal}
- style={{ marginRight: 10, width: 90 }}
+ className="bg-[#17a2b8] text-sm p-2 text-white rounded uppercase"
+ onClick={(e) => handleSubmitbtn(e)}
+ style={{ marginRight: 10 }}
>
- Cancel
+ Login
</button>
<button
type="button"
- className="bg-[#17a2b8] text-sm p-2 text-white rounded uppercase"
- onClick={(e) => handleSubmitbtn(e)}
+ className="bg-[#6c757d] text-sm p-2 text-white rounded uppercase"
+ onClick={handleCloseModal}
+ style={{ width: 90 }}
>
- Login
+ Cancel
</button>
</div>
</form>
diff --git a/apps/OpenSign/src/routes/Signup.js b/apps/OpenSign/src/routes/Signup.js
index 1f52261b6..d688eaacc 100644
--- a/apps/OpenSign/src/routes/Signup.js
+++ b/apps/OpenSign/src/routes/Signup.js
@@ -118,7 +118,7 @@ const Signup = (props) => {
await Parse.User.requestPasswordReset(email).then(
async function (res1) {
if (res1.data === undefined) {
- alert("Email has been sent to your mail!");
+ alert("Verification mail has been sent to your E-mail!");
}
}
);