From 81ad6a0e5c8ed4f35ccac0cd271b8923e686c060 Mon Sep 17 00:00:00 2001 From: Ashutosh Bishnoi Date: Mon, 24 May 2021 14:47:57 +0530 Subject: Resolved some comments on the reports --- modern/package.json | 3 +- modern/public/logo.svg | 170 +++++-------------------- modern/public/logo_back.svg | 33 ----- modern/src/MainToolbar.js | 51 +------- modern/src/components/reports/ReportNavbar.js | 16 +-- modern/src/components/reports/ReportSidebar.js | 9 +- modern/src/reports/ChartReportPage.js | 16 +-- modern/src/reports/Graph.js | 28 ++-- modern/src/reports/ReportLayoutPage.js | 14 +- 9 files changed, 67 insertions(+), 273 deletions(-) delete mode 100644 modern/public/logo_back.svg (limited to 'modern') diff --git a/modern/package.json b/modern/package.json index 8e5edc62..6902d37c 100644 --- a/modern/package.json +++ b/modern/package.json @@ -18,11 +18,10 @@ "react": "^16.13.1", "react-container-dimensions": "^1.4.1", "react-dom": "^16.13.1", - "react-perfect-scrollbar": "^1.5.8", "react-redux": "^7.2.1", "react-router-dom": "^5.2.0", "react-scripts": "^3.4.3", - "recharts": "^1.8.5", + "recharts": "^2.0.9", "redux": "^4.0.5", "typeface-roboto": "0.0.75", "wellknown": "^0.5.0" diff --git a/modern/public/logo.svg b/modern/public/logo.svg index c2ed83b2..008b46d4 100644 --- a/modern/public/logo.svg +++ b/modern/public/logo.svg @@ -1,145 +1,33 @@ - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - GPSLABS - - - - - + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modern/public/logo_back.svg b/modern/public/logo_back.svg deleted file mode 100644 index 008b46d4..00000000 --- a/modern/public/logo_back.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js index 702a7e50..63d8efec 100644 --- a/modern/src/MainToolbar.js +++ b/modern/src/MainToolbar.js @@ -22,12 +22,7 @@ import PeopleIcon from '@material-ui/icons/People'; import StorageIcon from '@material-ui/icons/Storage'; import PersonIcon from '@material-ui/icons/Person'; import NotificationsIcon from '@material-ui/icons/Notifications'; -import TimelineIcon from '@material-ui/icons/Timeline'; -import PauseCircleFilledIcon from '@material-ui/icons/PauseCircleFilled'; -import PlayCircleFilledIcon from '@material-ui/icons/PlayCircleFilled'; -import NotificationsActiveIcon from '@material-ui/icons/NotificationsActive'; -import FormatListBulletedIcon from '@material-ui/icons/FormatListBulleted'; -import TrendingUpIcon from '@material-ui/icons/TrendingUp'; +import DescriptionIcon from '@material-ui/icons/Description'; import FolderIcon from '@material-ui/icons/Folder'; import ReplayIcon from '@material-ui/icons/Replay'; import BuildIcon from '@material-ui/icons/Build'; @@ -104,50 +99,12 @@ const MainToolbar = () => { - - - - {t('reportTitle')} - - }> history.push('/reports/route')}> - - - - - history.push('/reports/event')}> - - + - - - history.push('/reports/trip')}> - - - - - - history.push('/reports/stop')}> - - - - - - history.push('/reports/summary')}> - - - - - - history.push('/reports/chart')}> - - - - - + +
{filter} - - - {children} - - + {children}
-- cgit v1.2.3