Skip to content
Snippets Groups Projects
Commit df07f208 authored by Sina Rohde's avatar Sina Rohde
Browse files

some styling details

parent e6f12560
No related branches found
No related tags found
1 merge request!7Revert "MAINT: Ignore venv and package-lock.json"
Pipeline #55599 failed
...@@ -46,6 +46,7 @@ const ShowFDO = () => { ...@@ -46,6 +46,7 @@ const ShowFDO = () => {
return <ErrorComponent message={t('fdo.show.handle_not_found', 'Handle not found.')} /> return <ErrorComponent message={t('fdo.show.handle_not_found', 'Handle not found.')} />
} }
const displayName = 'FDO-Name' const displayName = 'FDO-Name'
const genInfo = 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore voluptua.'
const handleUrl = resolvePid(showId) const handleUrl = resolvePid(showId)
const dataPid = data?.data?.dataPid const dataPid = data?.data?.dataPid
const metadataPid = data?.data?.metadataPid const metadataPid = data?.data?.metadataPid
...@@ -140,15 +141,20 @@ const ShowFDO = () => { ...@@ -140,15 +141,20 @@ const ShowFDO = () => {
</MenuList> </MenuList>
</Item> </Item>
<Item sx={{ width: '60%' }} > <Item sx={{ width: '50%' }} >
<Stack direction="row" spacing={3}> <Stack direction="row" spacing={3}>
<Avatar sx={{ bgcolor: blue[500] }} variant="rounded"> <Avatar sx={{ bgcolor: blue[500] }} variant="rounded">
<AssignmentIcon /> <AssignmentIcon />
</Avatar> </Avatar>
<Typography variant="h5" gutterBottom> {displayName} </Typography> <Typography variant="h5" gutterBottom> {displayName} </Typography>
</Stack><br/> </Stack><br/>
<Details/> <Typography variant="subtitle1" gutterBottom sx={{ display: 'block', marginLeft: '10px' }}> {genInfo} </Typography>
</Item> <br/>
<Box>
<Details/>
</Box>
</Item>
</Stack> </Stack>
</div><br/><br/> </div><br/><br/>
......
...@@ -31,7 +31,6 @@ const StyledTableRow = styled(TableRow)(({ theme }) => ({ ...@@ -31,7 +31,6 @@ const StyledTableRow = styled(TableRow)(({ theme }) => ({
} }
})) }))
const genInfo = 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.'
const typeInfo = 'CETTS' const typeInfo = 'CETTS'
const repoInfo = 'LinkAhead' const repoInfo = 'LinkAhead'
const dataSpInfo = 'RWTH' const dataSpInfo = 'RWTH'
...@@ -47,12 +46,10 @@ function createData ( ...@@ -47,12 +46,10 @@ function createData (
} }
const rows = [ const rows = [
createData('Desription:', genInfo, ''),
createData('Type:', typeInfo, ''), createData('Type:', typeInfo, ''),
createData('Repository:', repoInfo, 'xx'), createData('Repository:', repoInfo, ''),
createData('Dataspace:', dataSpInfo, 'xx'), createData('Dataspace:', dataSpInfo, ''),
createData('Technology:', techInfo, 'xx') createData('Technology:', techInfo, '')
] ]
export default function CustomizedTables () { export default function CustomizedTables () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment