From 98f2dd952e35e41045c7c9f925e229000bbe4797 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 8 May 2022 18:11:23 -0700 Subject: Migrate reports to page layout --- modern/src/reports/RouteReportPage.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'modern/src/reports/RouteReportPage.js') diff --git a/modern/src/reports/RouteReportPage.js b/modern/src/reports/RouteReportPage.js index 035f6acd..dfce525f 100644 --- a/modern/src/reports/RouteReportPage.js +++ b/modern/src/reports/RouteReportPage.js @@ -1,14 +1,14 @@ import React, { useState } from 'react'; -import { Paper } from '@material-ui/core'; import { DataGrid } from '@material-ui/data-grid'; import { useTheme } from '@material-ui/core/styles'; import { formatDistance, formatSpeed, formatBoolean, formatDate, formatCoordinate, } from '../common/util/formatter'; import ReportFilter from './components/ReportFilter'; -import ReportLayout from './components/ReportLayout'; import { useAttributePreference, usePreference } from '../common/util/preferences'; import { useTranslation } from '../common/components/LocalizationProvider'; +import PageLayout from '../common/components/PageLayout'; +import ReportsMenu from './components/ReportsMenu'; const Filter = ({ setItems }) => { const handleSubmit = async (deviceId, from, to, mail, headers) => { @@ -88,16 +88,15 @@ const RouteReportPage = () => { const [items, setItems] = useState([]); return ( - }> - - - - + } breadcrumbs={['reportTitle', 'reportRoute']}> + + + ); }; -- cgit v1.2.3