Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
purescript-gargantext
Commits
96790ae5
Commit
96790ae5
authored
May 31, 2022
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/405-dev-lost-password-design' into dev
parents
23f52455
65499d20
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ForgotPassword.purs
src/Gargantext/Components/Login/ForgotPassword.purs
+2
-2
Form.purs
src/Gargantext/Components/Login/Form.purs
+2
-2
No files found.
src/Gargantext/Components/Login/ForgotPassword.purs
View file @
96790ae5
...
@@ -32,7 +32,7 @@ forgotPasswordCpt = here.component "forgotPassword" cpt where
...
@@ -32,7 +32,7 @@ forgotPasswordCpt = here.component "forgotPassword" cpt where
email <- T.useBox ""
email <- T.useBox ""
pure $ H.div { className: "row" }
pure $ H.div { className: "row" }
[ H.form { className: "col-md-12" }
[ H.form { className: "
text-center
col-md-12" }
[ H.h4 {} [ H.text "Forgot password" ]
[ H.h4 {} [ H.text "Forgot password" ]
, formGroup
, formGroup
[ emailInput email ]
[ emailInput email ]
...
@@ -60,7 +60,7 @@ submitButtonCpt = here.component "submitButton" cpt where
...
@@ -60,7 +60,7 @@ submitButtonCpt = here.component "submitButton" cpt where
cpt { backend, email, sessions } _ = do
cpt { backend, email, sessions } _ = do
email' <- T.useLive T.unequal email
email' <- T.useLive T.unequal email
pure $
formGroup
pure $
H.div {className: "form-group text-center"}
[ H.button { className: "btn btn-primary"
[ H.button { className: "btn btn-primary"
, on: { click: click email' }}
, on: { click: click email' }}
[ H.text "Submit" ]
[ H.text "Submit" ]
...
...
src/Gargantext/Components/Login/Form.purs
View file @
96790ae5
...
@@ -176,8 +176,8 @@ forgotPasswordCpt :: R.Component ForgotPasswordProps
...
@@ -176,8 +176,8 @@ forgotPasswordCpt :: R.Component ForgotPasswordProps
forgotPasswordCpt = here.component "forgotPassword" cpt where
forgotPasswordCpt = here.component "forgotPassword" cpt where
cpt { formType } _ = do
cpt { formType } _ = do
pure $ H.div { className: "form-group text-center" }
pure $ H.div { className: "form-group text-center" }
[ H.
button { className: "btn btn-danger"
[ H.
a { className: "text-primary",
, on: { click } } [ H.text "Forgot password
" ]
on: { click } } [ H.text "Forgot password?
" ]
]
]
where
where
click _ = T.write_ ForgotPassword formType
click _ = T.write_ ForgotPassword formType
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