Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
FDO Manager WebUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
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
Code review analytics
Issue 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
fdo
FDO Manager WebUI
Commits
e20d352f
Commit
e20d352f
authored
9 months ago
by
Sina Rohde
Browse files
Options
Downloads
Patches
Plain Diff
fix linting errors
parent
65d3b67d
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
F landing page
Pipeline
#52304
passed
8 months ago
Stage: setup
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pages/index.tsx
+23
-24
23 additions, 24 deletions
pages/index.tsx
with
23 additions
and
24 deletions
pages/index.tsx
+
23
−
24
View file @
e20d352f
import
Button
from
'
@mui/material/Button
'
;
import
Stack
from
'
@mui/material/Stack
'
;
import
Item
from
'
@mui/material/ListItem
'
;
import
{
styled
,
alpha
}
from
'
@mui/material/styles
'
;
import
InputBase
from
'
@mui/material/InputBase
'
;
import
SearchIcon
from
'
@mui/icons-material/Search
'
;
import
Grid
from
'
@mui/material/Grid
'
;
import
Button
from
'
@mui/material/Button
'
import
Stack
from
'
@mui/material/Stack
'
import
Item
from
'
@mui/material/ListItem
'
import
{
styled
,
alpha
}
from
'
@mui/material/styles
'
import
InputBase
from
'
@mui/material/InputBase
'
import
SearchIcon
from
'
@mui/icons-material/Search
'
import
Grid
from
'
@mui/material/Grid
'
const
Search
=
styled
(
'
div
'
)(({
theme
})
=>
({
position
:
'
relative
'
,
borderRadius
:
theme
.
shape
.
borderRadius
,
backgroundColor
:
alpha
(
theme
.
palette
.
common
.
white
,
0.15
),
'
&:hover
'
:
{
backgroundColor
:
alpha
(
theme
.
palette
.
common
.
white
,
0.25
)
,
backgroundColor
:
alpha
(
theme
.
palette
.
common
.
white
,
0.25
)
},
marginRight
:
theme
.
spacing
(
2
),
marginLeft
:
0
,
width
:
'
100%
'
,
[
theme
.
breakpoints
.
up
(
'
sm
'
)]:
{
marginLeft
:
theme
.
spacing
(
3
),
width
:
'
auto
'
,
}
,
}))
;
width
:
'
auto
'
}
}))
const
SearchIconWrapper
=
styled
(
'
div
'
)(({
theme
})
=>
({
padding
:
theme
.
spacing
(
0
,
2
),
...
...
@@ -29,8 +29,8 @@ const SearchIconWrapper = styled('div')(({ theme }) => ({
pointerEvents
:
'
none
'
,
display
:
'
flex
'
,
alignItems
:
'
center
'
,
justifyContent
:
'
center
'
,
}))
;
justifyContent
:
'
center
'
}))
const
StyledInputBase
=
styled
(
InputBase
)(({
theme
})
=>
({
color
:
'
inherit
'
,
...
...
@@ -41,20 +41,19 @@ const StyledInputBase = styled(InputBase)(({ theme }) => ({
transition
:
theme
.
transitions
.
create
(
'
width
'
),
width
:
'
100%
'
,
[
theme
.
breakpoints
.
up
(
'
md
'
)]:
{
width
:
'
20ch
'
,
},
},
}));
width
:
'
20ch
'
}
}
}))
export
default
function
Index
()
{
const
info
=
(
'
This is the FDO Manager. The hardware and infrastructure for this test instance are provided by GWDG. IndiScale is responsible for the architecture and implementation.
'
)
return
(
<
Grid
container
direction
=
"column"
justifyContent
=
"center"
alignItems
=
"center"
>
return
(
<
Grid
container
direction
=
"column"
justifyContent
=
"center"
alignItems
=
"center"
>
<
Stack
direction
=
"column"
spacing
=
{
2
}
width
=
"350px"
>
<
Stack
direction
=
"column"
spacing
=
{
2
}
width
=
"350px"
>
<
Item
><
h1
>
FDO-Manager
</
h1
></
Item
>
<
Item
>
{
info
}
</
Item
>
<
Item
>
{
info
}
</
Item
>
<
Item
><
Button
variant
=
"contained"
>
Create FDO
</
Button
></
Item
>
<
Item
><
Search
>
<
SearchIconWrapper
>
...
...
@@ -63,10 +62,10 @@ export default function Index () {
<
StyledInputBase
placeholder
=
"Search…"
inputProps
=
{
{
'
aria-label
'
:
'
search
'
}
}
/>
</
Search
></
Item
>
</
Stack
>
</
Grid
>
)
;
)
}
Index
.
noLayout
=
true
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