Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LINAGORA
L
LGS
Labs
voice-web
Commits
91b27102
Commit
91b27102
authored
Sep 27, 2017
by
Michael Henretty
Browse files
add tab order for profile input fields, fixes #180
parent
33bba392
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
web/src/lib/components/pages/profile.tsx
web/src/lib/components/pages/profile.tsx
+7
-0
No files found.
web/src/lib/components/pages/profile.tsx
View file @
91b27102
...
...
@@ -137,10 +137,12 @@ export default class Profile extends Component<Props, State> {
id
=
"email"
type
=
"email"
name
=
"email"
tabIndex
=
{
1
}
value
=
{
this
.
state
.
email
}
/>
<
button
onClick
=
{
this
.
saveEmail
}
tabIndex
=
{
3
}
className
=
{
emailModified
?
'
highlight
'
:
''
}
>
Save
</
button
>
...
...
@@ -150,6 +152,7 @@ export default class Profile extends Component<Props, State> {
onClick
=
{
this
.
configSendEmails
}
id
=
"send-emails"
type
=
"checkbox"
tabIndex
=
{
2
}
checked
=
{
user
.
sendEmails
}
/>
<
label
for
=
"send-emails"
>
Send me emails
</
label
>
...
...
@@ -163,6 +166,7 @@ export default class Profile extends Component<Props, State> {
<
select
onChange
=
{
this
.
update
}
id
=
"profile-accent"
tabIndex
=
{
4
}
className
=
{
accentModified
?
'
unsaved
'
:
''
}
>
{
accentOptions
}
</
select
>
...
...
@@ -170,6 +174,7 @@ export default class Profile extends Component<Props, State> {
<
select
onChange
=
{
this
.
update
}
id
=
"profile-age"
tabIndex
=
{
5
}
className
=
{
ageModified
?
'
unsaved
'
:
''
}
>
{
ageOptions
}
</
select
>
...
...
@@ -177,12 +182,14 @@ export default class Profile extends Component<Props, State> {
<
select
onChange
=
{
this
.
update
}
id
=
"profile-gender"
tabIndex
=
{
6
}
className
=
{
genderModified
?
'
unsaved
'
:
''
}
>
{
genderOptions
}
</
select
>
<
button
id
=
"save-demos"
onClick
=
{
this
.
saveDemographics
}
tabIndex
=
{
7
}
className
=
{
accentModified
||
ageModified
||
genderModified
?
'
dark highlight
'
...
...
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