From 01afea9484e7e48d2cfc9bf682eb69065d2ecac7 Mon Sep 17 00:00:00 2001 From: prasadhonrao Date: Sat, 26 Oct 2024 23:35:55 +0100 Subject: [PATCH] Fixes #38 Convert UpdatePassword Page from HTML to React Fixes Convert UpdatePassword Page from HTML to React #40 PR #95 --- .../src/pages/user/ResetPasswordPage.jsx | 32 ++++++++++++++- .../src/pages/user/UpdatePasswordPage.jsx | 41 ++++++++++++++++++- 2 files changed, 71 insertions(+), 2 deletions(-) diff --git a/src/webapp/src/pages/user/ResetPasswordPage.jsx b/src/webapp/src/pages/user/ResetPasswordPage.jsx index dc8ce54..d4db4a1 100644 --- a/src/webapp/src/pages/user/ResetPasswordPage.jsx +++ b/src/webapp/src/pages/user/ResetPasswordPage.jsx @@ -1,7 +1,37 @@ import React from 'react'; +import { Link } from 'react-router-dom'; +import { Form, Button, Container, Row, Col, Card } from 'react-bootstrap'; const ResetPasswordPage = () => { - return
ResetPasswordPage
; + return ( + + + + + + Back to login + +

Reset Password

+

Use this form to reset your password using the registered email address.

+ +
+ {/* Email Input Section*/} + + Enter Email + + + + {/* Submit Button */} + +
+
+
+ +
+
+ ); }; export default ResetPasswordPage; diff --git a/src/webapp/src/pages/user/UpdatePasswordPage.jsx b/src/webapp/src/pages/user/UpdatePasswordPage.jsx index 356a632..c8c1963 100644 --- a/src/webapp/src/pages/user/UpdatePasswordPage.jsx +++ b/src/webapp/src/pages/user/UpdatePasswordPage.jsx @@ -1,7 +1,46 @@ import React from 'react'; +import { Form, Button, Container, Row, Col, Card } from 'react-bootstrap'; const UpdatePasswordPage = () => { - return
UpdatePasswordPage
; + return ( + + + + + +

Update Password

+
+ {/* Current Password */} + + Current Password + + + + {/* New Password */} + + New Password + + + + {/* Confirm New Password */} + + Confirm New Password + + + + {/* Submit Button */} + + + +
+
+
+ +
+
+ ); }; export default UpdatePasswordPage;