Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xpub-epmc
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Literature-services
public-projects
xpub-epmc
Commits
0be25cbf
Commit
0be25cbf
authored
6 years ago
by
MoSelim
Browse files
Options
Downloads
Patches
Plain Diff
#180 #195
parent
c752b7d0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!60
Dev
,
!36
Shared data model
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/components/login/Login.jsx
+5
-2
5 additions, 2 deletions
app/components/login/Login.jsx
with
5 additions
and
2 deletions
app/components/login/Login.jsx
+
5
−
2
View file @
0be25cbf
...
...
@@ -12,7 +12,7 @@ import {
}
from
'
@pubsweet/ui
'
import
{
th
}
from
'
@pubsweet/ui-toolkit
'
import
styled
from
'
styled-components
'
import
{
Page
}
from
'
../ui
'
import
{
Page
,
Notification
}
from
'
../ui
'
import
SignInFooter
from
'
../SignInFooter
'
const
Signup
=
styled
.
p
`
...
...
@@ -42,6 +42,9 @@ const Container = styled(CenteredColumn)`
margin: 10px 0 10px 0;
width: inherit;
}
.error {
width: inherit;
}
`
const
EmailInput
=
props
=>
<
TextField
label
=
"Email address"
{
...
props
.
field
}
/>
const
PasswordInput
=
props
=>
(
...
...
@@ -78,7 +81,7 @@ class Login extends React.Component {
<
H1
>
Sign in with your Europe PMC plus account
</
H1
>
<
Container
medium
>
{
!
isEmpty
(
errors
)
&&
(
<
ErrorText
className
=
"login-
error"
>
{
errors
}
</
ErrorText
>
<
Notification
type
=
"
error"
>
{
errors
}
</
Notification
>
)
}
<
form
onSubmit
=
{
handleSubmit
}
>
<
Field
component
=
{
EmailInput
}
name
=
"email"
/>
...
...
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