Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xpub-faraday
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
xpub
xpub-faraday
Commits
e775d2a5
Commit
e775d2a5
authored
6 years ago
by
Alexandru Munteanu
Browse files
Options
Downloads
Patches
Plain Diff
style(sign-up): minor changes to the signup and reset password flows
parent
e0ae33d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/components-faraday/src/components/SignUp/SignUpStep0.js
+3
-6
3 additions, 6 deletions
...s/components-faraday/src/components/SignUp/SignUpStep0.js
packages/components-faraday/src/components/SignUp/SignUpStep1.js
+1
-1
1 addition, 1 deletion
...s/components-faraday/src/components/SignUp/SignUpStep1.js
with
4 additions
and
7 deletions
packages/components-faraday/src/components/SignUp/SignUpStep0.js
+
3
−
6
View file @
e775d2a5
...
...
@@ -4,7 +4,6 @@ import { reduxForm } from 'redux-form'
import
{
get
,
isUndefined
}
from
'
lodash
'
import
{
required
as
requiredValidator
}
from
'
xpub-validators
'
import
{
Menu
,
Button
,
Checkbox
,
TextField
,
ValidatedField
}
from
'
@pubsweet/ui
'
import
styled
from
'
styled-components
'
import
{
Row
,
...
...
@@ -27,9 +26,6 @@ const AgreeCheckbox = ({ value, onChange }) => (
<
/Text
>
<
/Row
>
)
const
ValidationRow
=
styled
(
Row
)
`
justify-content: left;
`
const
Step0
=
({
type
,
...
...
@@ -102,13 +98,13 @@ const Step0 = ({
<
/Item
>
<
/Row
>
<
Validation
Row
data
-
test
-
id
=
"
sign-up-agree-TC
"
mb
=
{
2
}
>
<
Row
data
-
test
-
id
=
"
sign-up-agree-TC
"
justify
=
"
flex-start
"
mb
=
{
2
}
>
<
ValidatedField
component
=
{
AgreeCheckbox
}
name
=
"
agreeTC
"
validate
=
{[
requiredValidator
]}
/
>
<
/
Validation
Row
>
<
/Row
>
<
Row
>
<
Text
secondary
small
>
...
...
@@ -127,6 +123,7 @@ const Step0 = ({
data
-
test
-
id
=
"
sign-up-proceed-to-set-email-and-password
"
mt
=
{
4
}
onClick
=
{
handleSubmit
}
primary
>
PROCEED
TO
SET
{
type
===
'
signup
'
&&
'
EMAIL AND
'
}
PASSWORD
<
/Button
>
...
...
This diff is collapsed.
Click to expand it.
packages/components-faraday/src/components/SignUp/SignUpStep1.js
+
1
−
1
View file @
e775d2a5
...
...
@@ -99,7 +99,7 @@ const Step1 = ({
{
type
===
'
forgotPassword
'
&&
<
ForgotEmailForm
/>
}
{
type
===
'
invite
'
&&
<
InviteForm
/>
}
{
error
&&
(
<
Row
justify
=
"
flex-start
"
mb
=
{
1
}
>
<
Row
justify
=
"
flex-start
"
mb
=
{
2
}
>
<
Text
error
>
{
error
}
<
/Text
>
<
/Row
>
)}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment