-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f21820
commit 4e2c82f
Showing
17 changed files
with
1,183 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
|
||
const TableLines: React.FC = () => { | ||
return ( | ||
<div> | ||
<h1>Tables lines</h1> | ||
</div> | ||
) | ||
} | ||
|
||
export default TableLines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from 'react' | ||
|
||
import { Grid, Typography } from '@mui/material' | ||
|
||
type HeaderPageProps = { | ||
id: string | ||
title: string | ||
} | ||
|
||
const HeaderPage: React.FC<HeaderPageProps> = (props) => { | ||
const { id, title } = props | ||
return ( | ||
<Grid item xs={12} margin="60px 0"> | ||
<Typography id={id} variant="h1" color="primary" padding="20px 0" borderBottom="1px solid #D0D7D8"> | ||
{title} | ||
</Typography> | ||
</Grid> | ||
) | ||
} | ||
|
||
export default HeaderPage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import React from 'react' | ||
|
||
import { Grid, CssBaseline } from '@mui/material' | ||
|
||
import HeaderPage from 'components/ui/HeaderPage' | ||
import DataTable from 'components/DataTable/DataTable' | ||
import Tables from 'components/Tables' | ||
|
||
import { useAppSelector } from 'state' | ||
|
||
import sideBarTransition from 'styles/sideBarTransition' | ||
|
||
const exportColumnsTable = [ | ||
{ label: 'N° de cohorte' }, | ||
{ label: 'Nom de la cohorte' }, | ||
{ label: 'Nombre de patient' }, | ||
{ label: "Nom de l'export" }, | ||
{ label: 'Date de l’export' }, | ||
{ label: 'Statut' }, | ||
{ label: 'Actions' } | ||
] | ||
|
||
const Export: React.FC = () => { | ||
const { classes, cx } = sideBarTransition() | ||
const openDrawer = useAppSelector((state) => state.drawer) | ||
|
||
return ( | ||
<Grid | ||
container | ||
direction="column" | ||
className={cx(classes.appBar, { | ||
[classes.appBarShift]: openDrawer | ||
})} | ||
> | ||
<Grid container justifyContent="center" alignItems="center"> | ||
<CssBaseline /> | ||
<Grid container item xs={11}> | ||
<HeaderPage id="export-page-title" title="Mes exports" /> | ||
<DataTable columns={exportColumnsTable}> | ||
<p>salut</p> | ||
</DataTable> | ||
</Grid> | ||
</Grid> | ||
</Grid> | ||
) | ||
} | ||
|
||
export default Export |
Oops, something went wrong.