From 1a06115aa27a0c1545b8eb9bfb38930fcb8b56bf Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 1 Nov 2020 21:25:10 -0800 Subject: Empty page for replay --- modern/src/App.js | 2 ++ modern/src/MainToolbar.js | 7 +++++++ modern/src/reports/ReplayPage.js | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 modern/src/reports/ReplayPage.js (limited to 'modern') diff --git a/modern/src/App.js b/modern/src/App.js index 1f6b55a4..6fd5c007 100644 --- a/modern/src/App.js +++ b/modern/src/App.js @@ -14,6 +14,7 @@ import NotificationPage from './settings/NotificationPage'; import GroupsPage from './settings/GroupsPage'; import GroupPage from './settings/GroupPage'; import PositionPage from './PositionPage'; +import ReplayPage from './reports/ReplayPage'; const App = () => { return ( @@ -23,6 +24,7 @@ const App = () => { + diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js index b4757d89..942aac67 100644 --- a/modern/src/MainToolbar.js +++ b/modern/src/MainToolbar.js @@ -29,6 +29,7 @@ import NotificationsActiveIcon from '@material-ui/icons/NotificationsActive'; import FormatListBulletedIcon from '@material-ui/icons/FormatListBulleted'; import TrendingUpIcon from '@material-ui/icons/TrendingUp'; import FolderIcon from '@material-ui/icons/Folder'; +import ReplayIcon from '@material-ui/icons/Replay'; import t from './common/localization'; const useStyles = makeStyles(theme => ({ @@ -96,6 +97,12 @@ const MainToolbar = () => { + history.push('/replay')}> + + + + + ({ + 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 ( +
+ + + +
+ ); +} + +export default ReplayPage; -- cgit v1.2.3