diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-01 21:25:10 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-01 21:25:10 -0800 |
commit | 1a06115aa27a0c1545b8eb9bfb38930fcb8b56bf (patch) | |
tree | cc839bff2fdba47c1774faef1605edfa6103012b /modern/src/reports | |
parent | 0802e051c2a27c4df5020f2a65a57504a762ad30 (diff) | |
download | etbsa-traccar-web-1a06115aa27a0c1545b8eb9bfb38930fcb8b56bf.tar.gz etbsa-traccar-web-1a06115aa27a0c1545b8eb9bfb38930fcb8b56bf.tar.bz2 etbsa-traccar-web-1a06115aa27a0c1545b8eb9bfb38930fcb8b56bf.zip |
Empty page for replay
Diffstat (limited to 'modern/src/reports')
-rw-r--r-- | modern/src/reports/ReplayPage.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/modern/src/reports/ReplayPage.js b/modern/src/reports/ReplayPage.js new file mode 100644 index 0000000..826b361 --- /dev/null +++ b/modern/src/reports/ReplayPage.js @@ -0,0 +1,38 @@ +import React from 'react'; +import { makeStyles } from '@material-ui/core'; +import MainToolbar from '../MainToolbar'; +import Map from '../map/Map'; + +const useStyles = makeStyles(theme => ({ + root: { + height: '100%', + display: 'flex', + flexDirection: 'column', + }, + content: { + flexGrow: 1, + overflow: 'hidden', + display: 'flex', + flexDirection: 'row', + [theme.breakpoints.down('xs')]: { + flexDirection: 'column-reverse', + } + }, + mapContainer: { + flexGrow: 1, + }, +})); + +const ReplayPage = () => { + const classes = useStyles(); + + return ( + <div className={classes.root}> + <MainToolbar /> + <Map> + </Map> + </div> + ); +} + +export default ReplayPage; |