Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dashboard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
red-giant
dashboard
Commits
38ae3d86
Verified
Commit
38ae3d86
authored
3 years ago
by
Defendi Alberto
Browse files
Options
Downloads
Patches
Plain Diff
Include test tag to solve failing test.
parent
1a35c942
No related branches found
No related tags found
1 merge request
!60
New component to search senior (see #12). Enhance responsiveness and solve #10 and #11
Pipeline
#12912
passed
3 years ago
Stage: build
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/Dashboard/ProfilePage/ProfilePage.tsx
+143
-141
143 additions, 141 deletions
src/components/Dashboard/ProfilePage/ProfilePage.tsx
with
143 additions
and
141 deletions
src/components/Dashboard/ProfilePage/ProfilePage.tsx
+
143
−
141
View file @
38ae3d86
...
@@ -121,166 +121,168 @@ export const ProfilePage: FC = () => {
...
@@ -121,166 +121,168 @@ export const ProfilePage: FC = () => {
};
};
return
(
return
(
<
Grid
container
direction
=
"column"
className
=
{
classes
.
paddingBottom
}
>
<
div
data-testid
=
"ProfilePage"
>
<
div
className
=
{
classes
.
root
}
>
<
Grid
container
direction
=
"column"
className
=
{
classes
.
paddingBottom
}
>
<
CssBaseline
/>
<
div
className
=
{
classes
.
root
}
>
<
CssBaseline
/>
<
Grid
item
>
<
Grid
item
>
<
NavBar
/>
<
NavBar
/>
</
Grid
>
</
Grid
>
<
header
>
<
header
>
<
MuiThemeProvider
theme
=
{
themeResp
}
>
<
MuiThemeProvider
theme
=
{
themeResp
}
>
<
Grid
item
container
className
=
{
classes
.
paddingBottom
}
>
<
Grid
item
container
className
=
{
classes
.
paddingBottom
}
>
<
Grid
item
xs
=
{
1
}
md
=
{
2
}
lg
=
{
2
}
/>
<
Grid
item
xs
=
{
1
}
md
=
{
2
}
lg
=
{
2
}
/>
<
Grid
item
xs
=
{
10
}
md
=
{
6
}
lg
=
{
4
}
>
<
Grid
item
xs
=
{
10
}
md
=
{
6
}
lg
=
{
4
}
>
<
Typography
variant
=
"h2"
className
=
{
classes
.
whiteText
}
>
<
Typography
variant
=
"h2"
className
=
{
classes
.
whiteText
}
>
Set Here Your
Set Here Your
</
Typography
>
</
Typography
>
<
Typography
variant
=
"h1"
className
=
{
classes
.
whiteText
}
>
<
Typography
variant
=
"h1"
className
=
{
classes
.
whiteText
}
>
PROFILE
PROFILE
</
Typography
>
</
Typography
>
</
Grid
>
<
Grid
item
xs
=
{
1
}
/>
</
Grid
>
</
Grid
>
</
MuiThemeProvider
>
</
header
>
</
div
>
<
Grid
item
xs
=
{
1
}
/>
<
FormControl
aria-label
=
"Info User"
>
</
Grid
>
<
MuiThemeProvider
theme
=
{
themeResp
}
>
</
MuiThemeProvider
>
<
Grid
item
container
className
=
{
classes
.
paddingTop
}
>
</
header
>
<
Grid
item
xs
=
{
2
}
/>
</
div
>
<
Grid
item
container
xs
=
{
8
}
>
<
Grid
item
xs
=
{
12
}
>
<
Typography
variant
=
"h2"
>
Your Profile Settings
</
Typography
>
</
Grid
>
<
FormControl
aria-label
=
"Info User"
>
<
Grid
item
xs
=
{
5
}
className
=
{
classes
.
paddingTopLittle
}
>
<
MuiThemeProvider
theme
=
{
themeResp
}
>
<
TextField
<
Grid
item
container
className
=
{
classes
.
paddingTop
}
>
autoFocus
<
Grid
item
xs
=
{
2
}
/>
margin
=
"dense"
<
Grid
item
container
xs
=
{
8
}
>
id
=
"firstName"
<
Grid
item
xs
=
{
12
}
>
label
=
"First Name"
<
Typography
variant
=
"h2"
>
Your Profile Settings
</
Typography
>
type
=
"text"
</
Grid
>
fullWidth
/>
</
Grid
>
<
Grid
item
xs
=
{
2
}
className
=
{
classes
.
paddingTopLittle
}
/>
<
Grid
item
xs
=
{
5
}
className
=
{
classes
.
paddingTopLittle
}
>
<
TextField
autoFocus
margin
=
"dense"
id
=
"lastName"
label
=
"Last Name"
type
=
"text"
fullWidth
/>
</
Grid
>
<
Grid
item
xs
=
{
5
}
className
=
{
classes
.
paddingTopLittle
}
>
<
Grid
item
xs
=
{
5
}
className
=
{
classes
.
paddingTopLittle
}
>
<
TextField
<
TextField
autoFocus
autoFocus
margin
=
"dense"
margin
=
"dense"
id
=
"firstName"
id
=
"address"
label
=
"First Name"
label
=
"Address"
type
=
"text"
type
=
"text"
fullWidth
fullWidth
/>
/>
</
Grid
>
</
Grid
>
<
Grid
item
xs
=
{
2
}
className
=
{
classes
.
paddingTopLittle
}
/>
<
Grid
item
xs
=
{
5
}
className
=
{
classes
.
paddingTopLittle
}
>
<
TextField
autoFocus
margin
=
"dense"
id
=
"lastName"
label
=
"Last Name"
type
=
"text"
fullWidth
/>
</
Grid
>
<
Grid
item
xs
=
{
5
}
className
=
{
classes
.
paddingTopLittle
}
>
<
Grid
item
xs
=
{
2
}
className
=
{
classes
.
paddingTopLittle
}
/>
<
TextField
autoFocus
margin
=
"dense"
id
=
"address"
label
=
"Address"
type
=
"text"
fullWidth
/>
</
Grid
>
<
Grid
item
xs
=
{
2
}
className
=
{
classes
.
paddingTopLittle
}
/>
<
Grid
item
xs
=
{
2
}
className
=
{
classes
.
paddingTopLittle
}
>
<
TextField
autoFocus
margin
=
"dense"
id
=
"cap"
label
=
"CAP"
type
=
"text"
fullWidth
/>
</
Grid
>
<
Grid
item
xs
=
{
2
}
className
=
{
classes
.
paddingTopLittle
}
>
<
Grid
item
xs
=
{
1
}
className
=
{
classes
.
paddingTopLittle
}
/>
<
TextField
autoFocus
margin
=
"dense"
id
=
"cap"
label
=
"CAP"
type
=
"text"
fullWidth
/>
</
Grid
>
<
Grid
item
xs
=
{
1
}
className
=
{
classes
.
paddingTopLittle
}
/>
<
Grid
item
xs
=
{
2
}
className
=
{
classes
.
paddingTopLittle
}
>
<
TextField
autoFocus
margin
=
"dense"
id
=
"province"
label
=
"Prov"
type
=
"text"
fullWidth
/>
</
Grid
>
<
Grid
item
xs
=
{
2
}
className
=
{
classes
.
paddingTopLittle
}
>
<
Grid
item
xs
=
{
1
2
}
className
=
{
classes
.
paddingTopLittle
}
>
<
TextField
<
TextField
autoFocus
autoFocus
margin
=
"dense"
margin
=
"dense"
id
=
"
province
"
id
=
"
email
"
label
=
"
Prov
"
label
=
"
Email
"
type
=
"text"
type
=
"text"
fullWidth
fullWidth
/>
/>
</
Grid
>
</
Grid
>
<
Grid
item
xs
=
{
12
}
className
=
{
classes
.
paddingTopLittle
}
>
<
Grid
item
xs
=
{
12
}
className
=
{
classes
.
paddingTopLittle
}
>
<
TextField
<
TextField
autoFocus
autoFocus
margin
=
"dense"
margin
=
"dense"
id
=
"
email
"
id
=
"
cardNumber
"
label
=
"
Email
"
label
=
"
Card No
"
type
=
"text"
type
=
"text"
fullWidth
fullWidth
/>
/>
</
Grid
>
</
Grid
>
<
Grid
item
xs
=
{
12
}
className
=
{
classes
.
paddingTopLittle
}
>
<
Grid
item
xs
=
{
12
}
className
=
{
classes
.
paddingTop
}
>
<
TextField
<
Select
autoFocus
labelId
=
"Language"
margin
=
"dense"
id
=
"Language"
id
=
"cardNumber"
label
=
"Language"
label
=
"Card No"
open
=
{
open
}
type
=
"text"
onClose
=
{
handleClose
}
fullWidth
onOpen
=
{
handleOpen
}
/>
value
=
{
lang
}
</
Grid
>
onChange
=
{
handleChange
}
fullWidth
>
<
MenuItem
value
=
{
20
}
>
Italiano
</
MenuItem
>
<
MenuItem
value
=
{
10
}
>
English
</
MenuItem
>
<
MenuItem
value
=
{
30
}
>
Deutsch
</
MenuItem
>
<
MenuItem
value
=
{
40
}
>
Ladinisch
</
MenuItem
>
</
Select
>
</
Grid
>
<
Grid
item
xs
=
{
12
}
className
=
{
classes
.
paddingTop
}
>
<
Button
<
Select
color
=
"primary"
labelId
=
"Language"
variant
=
"contained"
id
=
"Language"
className
=
{
classes
.
buttonUpdate
}
label
=
"Language"
>
open
=
{
open
}
Update
onClose
=
{
handleClose
}
</
Button
>
onOpen
=
{
handleOpen
}
value
=
{
lang
}
<
Button
onChange
=
{
handleChange
}
fullWidth
fullWidth
variant
=
"outlined"
color
=
"default"
onClick
=
{
logout
}
className
=
{
classes
.
marginTop
}
>
>
<
MenuItem
value
=
{
20
}
>
Italiano
</
MenuItem
>
Logout
<
MenuItem
value
=
{
10
}
>
English
</
MenuItem
>
</
Button
>
<
MenuItem
value
=
{
30
}
>
Deutsch
</
MenuItem
>
<
MenuItem
value
=
{
40
}
>
Ladinisch
</
MenuItem
>
</
Select
>
</
Grid
>
</
Grid
>
<
Button
<
Grid
item
xs
=
{
2
}
/>
color
=
"primary"
variant
=
"contained"
className
=
{
classes
.
buttonUpdate
}
>
Update
</
Button
>
<
Button
fullWidth
variant
=
"outlined"
color
=
"default"
onClick
=
{
logout
}
className
=
{
classes
.
marginTop
}
>
Logout
</
Button
>
</
Grid
>
</
Grid
>
</
MuiThemeProvider
>
<
Grid
item
xs
=
{
2
}
/>
</
FormControl
>
</
Grid
>
</
Grid
>
</
MuiThemeProvider
>
</
div
>
</
FormControl
>
</
Grid
>
);
);
};
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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