Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
A
Aqbits Trace Code
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mai Thanh Cong
Aqbits Trace Code
Commits
6bcaa3cb
Commit
6bcaa3cb
authored
Jul 12, 2021
by
Mai Thanh Cong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace text in signin
parent
45c3aa7d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
18 deletions
+18
-18
src/services/ForgotPassword.js
src/services/ForgotPassword.js
+5
-5
src/services/ResetPassword.js
src/services/ResetPassword.js
+7
-7
src/services/Signin.js
src/services/Signin.js
+2
-2
src/services/Signup.js
src/services/Signup.js
+1
-1
src/services/VerifyCode.js
src/services/VerifyCode.js
+3
-3
No files found.
src/services/ForgotPassword.js
View file @
6bcaa3cb
...
@@ -91,7 +91,7 @@ export default () => {
...
@@ -91,7 +91,7 @@ export default () => {
<
Col
lg
=
{
5
}
>
<
Col
lg
=
{
5
}
>
<
Card
className
=
"
bg-secondary shadow border-0
"
>
<
Card
className
=
"
bg-secondary shadow border-0
"
>
<
CardHeader
>
<
CardHeader
>
<
h5
className
=
"
text-center text-primary
"
>
Password
recovery
<
/h5
>
<
h5
className
=
"
text-center text-primary
"
>
Kh
ô
i
ph
ụ
c
m
ậ
t
kh
ẩ
u
<
/h5
>
<
/CardHeader
>
<
/CardHeader
>
<
CardBody
className
=
"
px-lg-5 py-lg-5
"
>
<
CardBody
className
=
"
px-lg-5 py-lg-5
"
>
<
Form
role
=
"
form
"
onSubmit
=
{
onHandleForgotPassword
}
>
<
Form
role
=
"
form
"
onSubmit
=
{
onHandleForgotPassword
}
>
...
@@ -107,7 +107,7 @@ export default () => {
...
@@ -107,7 +107,7 @@ export default () => {
required
required
autoFocus
autoFocus
type
=
"
text
"
type
=
"
text
"
placeholder
=
"
Your email
"
placeholder
=
"
Email của bạn
"
value
=
{
email
}
value
=
{
email
}
onChange
=
{(
e
)
=>
setEmail
(
e
.
target
.
value
)}
onChange
=
{(
e
)
=>
setEmail
(
e
.
target
.
value
)}
invalid
=
{
validEmail
}
/
>
invalid
=
{
validEmail
}
/
>
...
@@ -120,7 +120,7 @@ export default () => {
...
@@ -120,7 +120,7 @@ export default () => {
color
=
"
primary
"
color
=
"
primary
"
type
=
"
submit
"
type
=
"
submit
"
>
>
Recover
password
X
á
c
nh
ậ
n
<
/Button
>
<
/Button
>
<
/div
>
<
/div
>
<
/Form
>
<
/Form
>
...
@@ -129,12 +129,12 @@ export default () => {
...
@@ -129,12 +129,12 @@ export default () => {
<
Row
className
=
"
mt-3
"
>
<
Row
className
=
"
mt-3
"
>
<
Col
className
=
"
d-flex justify-content-start align-items-center
"
>
<
Col
className
=
"
d-flex justify-content-start align-items-center
"
>
<
small
className
=
"
text-light mr-2
"
>
<
small
className
=
"
text-light mr-2
"
>
No
forgot
password
?
Kh
ô
ng
đổ
i
m
ậ
t
kh
ẩ
u
?
<
/small
>
<
/small
>
<
Link
<
Link
to
=
{
Routes
.
Signin
.
path
}
>
to
=
{
Routes
.
Signin
.
path
}
>
<
small
className
=
"
text-primary
"
>
<
small
className
=
"
text-primary
"
>
Login
Đă
ng
nh
ậ
p
<
/small
>
<
/small
>
<
/Link
>
<
/Link
>
<
/Col
>
<
/Col
>
...
...
src/services/ResetPassword.js
View file @
6bcaa3cb
...
@@ -96,7 +96,7 @@ export default () => {
...
@@ -96,7 +96,7 @@ export default () => {
<
Col
lg
=
{
5
}
>
<
Col
lg
=
{
5
}
>
<
Card
className
=
"
bg-secondary shadow border-0
"
>
<
Card
className
=
"
bg-secondary shadow border-0
"
>
<
CardHeader
>
<
CardHeader
>
<
h5
className
=
"
text-center text-primary
"
>
Password
reset
<
/h5
>
<
h5
className
=
"
text-center text-primary
"
>
Đặ
t
l
ạ
i
m
ậ
t
kh
ẩ
u
<
/h5
>
<
/CardHeader
>
<
/CardHeader
>
<
CardBody
className
=
"
px-lg-5 py-lg-5
"
>
<
CardBody
className
=
"
px-lg-5 py-lg-5
"
>
<
Form
role
=
"
form
"
onSubmit
=
{
onHandleResetPassword
}
>
<
Form
role
=
"
form
"
onSubmit
=
{
onHandleResetPassword
}
>
...
@@ -109,7 +109,7 @@ export default () => {
...
@@ -109,7 +109,7 @@ export default () => {
<
/InputGroupText
>
<
/InputGroupText
>
<
/InputGroupAddon
>
<
/InputGroupAddon
>
<
Input
<
Input
placeholder
=
"
Verify C
ode
"
placeholder
=
"
Nhập mã c
ode
"
type
=
"
number
"
min
=
{
0
}
value
=
{
code
}
onChange
=
{(
e
)
=>
setCode
(
e
.
target
.
value
)}
/
>
type
=
"
number
"
min
=
{
0
}
value
=
{
code
}
onChange
=
{(
e
)
=>
setCode
(
e
.
target
.
value
)}
/
>
<
/InputGroup
>
<
/InputGroup
>
<
/FormGroup
>
<
/FormGroup
>
...
@@ -124,7 +124,7 @@ export default () => {
...
@@ -124,7 +124,7 @@ export default () => {
<
Input
<
Input
required
required
type
=
"
password
"
type
=
"
password
"
placeholder
=
"
Password
"
placeholder
=
"
Mật khẩu mới
"
autoComplete
=
"
on
"
autoComplete
=
"
on
"
value
=
{
newPassword
}
value
=
{
newPassword
}
onChange
=
{(
e
)
=>
setNewPassword
(
e
.
target
.
value
)}
onChange
=
{(
e
)
=>
setNewPassword
(
e
.
target
.
value
)}
...
@@ -143,7 +143,7 @@ export default () => {
...
@@ -143,7 +143,7 @@ export default () => {
<
Input
<
Input
required
required
type
=
"
password
"
type
=
"
password
"
placeholder
=
"
Confirm Password
"
placeholder
=
"
Xác nhận mật khẩu
"
autoComplete
=
"
on
"
autoComplete
=
"
on
"
value
=
{
confirmPassword
}
value
=
{
confirmPassword
}
onChange
=
{(
e
)
=>
setConfirmPassword
(
e
.
target
.
value
)}
onChange
=
{(
e
)
=>
setConfirmPassword
(
e
.
target
.
value
)}
...
@@ -158,7 +158,7 @@ export default () => {
...
@@ -158,7 +158,7 @@ export default () => {
color
=
"
primary
"
color
=
"
primary
"
type
=
"
submit
"
type
=
"
submit
"
>
>
Reset
password
Đặ
t
l
ạ
i
m
ậ
t
kh
ẩ
u
<
/Button
>
<
/Button
>
<
/div
>
<
/div
>
<
/Form
>
<
/Form
>
...
@@ -167,12 +167,12 @@ export default () => {
...
@@ -167,12 +167,12 @@ export default () => {
<
Row
className
=
"
mt-3
"
>
<
Row
className
=
"
mt-3
"
>
<
Col
className
=
"
d-flex justify-content-start align-items-center
"
>
<
Col
className
=
"
d-flex justify-content-start align-items-center
"
>
<
small
className
=
"
text-light mr-2
"
>
<
small
className
=
"
text-light mr-2
"
>
Not
reset
?
Kh
ô
ng
đổ
i
m
ậ
t
kh
ẩ
u
?
<
/small
>
<
/small
>
<
Link
<
Link
to
=
{
Routes
.
ForgotPassword
.
path
}
>
to
=
{
Routes
.
ForgotPassword
.
path
}
>
<
small
className
=
"
text-primary
"
>
<
small
className
=
"
text-primary
"
>
Back
to
forgot
password
Quay
l
ạ
i
<
/small
>
<
/small
>
<
/Link
>
<
/Link
>
<
/Col
>
<
/Col
>
...
...
src/services/Signin.js
View file @
6bcaa3cb
...
@@ -117,7 +117,7 @@ export default () => {
...
@@ -117,7 +117,7 @@ export default () => {
<
Col
lg
=
"
5
"
>
<
Col
lg
=
"
5
"
>
<
Card
className
=
"
bg-secondary shadow border-0
"
>
<
Card
className
=
"
bg-secondary shadow border-0
"
>
<
CardHeader
>
<
CardHeader
>
<
h5
className
=
"
text-center text-primary
"
>
Sign
in
<
/h5
>
<
h5
className
=
"
text-center text-primary
"
>
Đă
ng
nh
ậ
p
<
/h5
>
<
/CardHeader
>
<
/CardHeader
>
<
CardBody
className
=
"
px-lg-5 py-lg-5
"
>
<
CardBody
className
=
"
px-lg-5 py-lg-5
"
>
<
Form
role
=
"
form
"
onSubmit
=
{
onHandleLogin
}
>
<
Form
role
=
"
form
"
onSubmit
=
{
onHandleLogin
}
>
...
@@ -130,7 +130,7 @@ export default () => {
...
@@ -130,7 +130,7 @@ export default () => {
<
/InputGroupAddon
>
<
/InputGroupAddon
>
<
Input
<
Input
required
required
placeholder
=
"
E
xample@company
.com
"
placeholder
=
"
E
mail@gmail
.com
"
type
=
"
text
"
type
=
"
text
"
value
=
{
email
}
value
=
{
email
}
onChange
=
{(
e
)
=>
setEmail
(
e
.
target
.
value
)}
onChange
=
{(
e
)
=>
setEmail
(
e
.
target
.
value
)}
...
...
src/services/Signup.js
View file @
6bcaa3cb
...
@@ -120,7 +120,7 @@ export default () => {
...
@@ -120,7 +120,7 @@ export default () => {
<
/InputGroupAddon
>
<
/InputGroupAddon
>
<
Input
<
Input
required
required
placeholder
=
"
E
xample@company
.com
"
placeholder
=
"
E
mail@gmail
.com
"
type
=
"
email
"
type
=
"
email
"
value
=
{
email
}
value
=
{
email
}
onChange
=
{(
e
)
=>
setEmail
(
e
.
target
.
value
)}
onChange
=
{(
e
)
=>
setEmail
(
e
.
target
.
value
)}
...
...
src/services/VerifyCode.js
View file @
6bcaa3cb
...
@@ -97,7 +97,7 @@ export default () => {
...
@@ -97,7 +97,7 @@ export default () => {
autoFocus
autoFocus
required
required
type
=
"
number
"
type
=
"
number
"
placeholder
=
"
Verify C
ode
"
placeholder
=
"
Nhập mã c
ode
"
min
=
{
0
}
min
=
{
0
}
value
=
{
code
}
value
=
{
code
}
onChange
=
{(
e
)
=>
setCode
(
e
.
target
.
value
)}
/
>
onChange
=
{(
e
)
=>
setCode
(
e
.
target
.
value
)}
/
>
...
@@ -109,7 +109,7 @@ export default () => {
...
@@ -109,7 +109,7 @@ export default () => {
color
=
"
primary
"
color
=
"
primary
"
type
=
"
submit
"
type
=
"
submit
"
>
>
Verify
X
á
c
nh
ậ
n
<
/Button
>
<
/Button
>
<
/div
>
<
/div
>
<
/Form
>
<
/Form
>
...
@@ -120,7 +120,7 @@ export default () => {
...
@@ -120,7 +120,7 @@ export default () => {
<
Link
<
Link
to
=
{
Routes
.
Signup
.
path
}
>
to
=
{
Routes
.
Signup
.
path
}
>
<
small
className
=
"
text-primary
"
>
<
small
className
=
"
text-primary
"
>
Back
to
sign
up
Quay
l
ạ
i
đă
ng
k
í
<
/small
>
<
/small
>
<
/Link
>
<
/Link
>
<
/Col
>
<
/Col
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment