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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Grégoire Locqueville
purescript-gargantext
Commits
65499d20
Commit
65499d20
authored
May 31, 2022
by
Karen Konou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Login form] Adjust lost password design
parent
fa4d3a5b
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 @
65499d20
...
...
@@ -32,7 +32,7 @@ forgotPasswordCpt = here.component "forgotPassword" cpt where
email <- T.useBox ""
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" ]
, formGroup
[ emailInput email ]
...
...
@@ -60,7 +60,7 @@ submitButtonCpt = here.component "submitButton" cpt where
cpt { backend, email, sessions } _ = do
email' <- T.useLive T.unequal email
pure $
formGroup
pure $
H.div {className: "form-group text-center"}
[ H.button { className: "btn btn-primary"
, on: { click: click email' }}
[ H.text "Submit" ]
...
...
src/Gargantext/Components/Login/Form.purs
View file @
65499d20
...
...
@@ -176,8 +176,8 @@ forgotPasswordCpt :: R.Component ForgotPasswordProps
forgotPasswordCpt = here.component "forgotPassword" cpt where
cpt { formType } _ = do
pure $ H.div { className: "form-group text-center" }
[ H.
button { className: "btn btn-danger"
, on: { click } } [ H.text "Forgot password
" ]
[ H.
a { className: "text-primary",
on: { click } } [ H.text "Forgot password?
" ]
]
where
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