diff --git a/src/components/master/CreateActivity.jsx b/src/components/master/CreateActivity.jsx index b7d2c862..2970d0c1 100644 --- a/src/components/master/CreateActivity.jsx +++ b/src/components/master/CreateActivity.jsx @@ -111,6 +111,14 @@ const CreateActivity = ({ onClose }) => { reset(); onClose(); }; + + + + // for tooltip + useEffect(() => { + const tooltipTriggerList = Array.from(document.querySelectorAll('[data-bs-toggle="tooltip"]')); + tooltipTriggerList.forEach((el) => new bootstrap.Tooltip(el)); + }, []); return (
Create Activity
@@ -197,7 +205,9 @@ const CreateActivity = ({ onClose }) => { onClick={() => removeChecklistItem(index)} className="btn btn-xs btn-icon btn-text-secondary" > - + @@ -210,7 +220,9 @@ const CreateActivity = ({ onClose }) => { className="btn btn-xs btn-primary mt-2" onClick={addChecklistItem} > - + diff --git a/src/components/master/EditActivity.jsx b/src/components/master/EditActivity.jsx index ea1cd364..bccdbd2f 100644 --- a/src/components/master/EditActivity.jsx +++ b/src/components/master/EditActivity.jsx @@ -123,6 +123,13 @@ const UpdateActivity = ({ activityData, onClose }) => { remove(index); }; + + // for tooltip + useEffect(() => { + const tooltipTriggerList = Array.from(document.querySelectorAll('[data-bs-toggle="tooltip"]')); + tooltipTriggerList.forEach((el) => new bootstrap.Tooltip(el)); + }, []); + return (
Update Activity
@@ -206,9 +213,12 @@ const UpdateActivity = ({ activityData, onClose }) => { @@ -223,7 +233,9 @@ const UpdateActivity = ({ activityData, onClose }) => { className="btn btn-xs btn-primary mt-2" onClick={addChecklistItem} > - + diff --git a/src/components/master/MasterModal.jsx b/src/components/master/MasterModal.jsx index 3a2dd4ae..dbc8bbee 100644 --- a/src/components/master/MasterModal.jsx +++ b/src/components/master/MasterModal.jsx @@ -19,9 +19,13 @@ const MasterModal = ({ modaldata, closeModal }) => { aria-labelledby="modalToggleLabel" >
@@ -52,10 +56,13 @@ const MasterModal = ({ modaldata, closeModal }) => { )} {modaldata?.modalType === "Activity" && ( - ) - } - {modaldata?.modalType === 'Edit-Activity' && ( - + + )} + {modaldata?.modalType === "Edit-Activity" && ( + )}
diff --git a/src/pages/authentication/LoginPage.jsx b/src/pages/authentication/LoginPage.jsx index 0952f022..84b46aeb 100644 --- a/src/pages/authentication/LoginPage.jsx +++ b/src/pages/authentication/LoginPage.jsx @@ -88,7 +88,6 @@ const LoginPage = () => { -
{ placeholder="············" aria-describedby="password" /> - setHidepass(!hidepass)} + style={{ + borderTopLeftRadius: 0, + borderBottomLeftRadius: 0, + borderLeft: 0, + }} > {hidepass ? ( - + ) : ( - + )} - +
{errors.password && (
{ name="rememberMe" {...register("rememberMe")} /> - +
- Forgot Password? - + aria-label="Go to Forgot Password Page" + to="/auth/forgot-password" + > + Forgot Password? +
{errors.password && (
{ placeholder="············" aria-describedby="password" /> - setHidepass1(!hidepass1)} + style={{ + borderTopLeftRadius: 0, + borderBottomLeftRadius: 0, + borderLeft: 0, + + }} > {hidepass1 ? ( - + ) : ( - + )} - +
{errors.confirmPassword && (