aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/CalendarsPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 17:33:58 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 17:33:58 -0700
commitbf95e1bb48379bc1c3482d3f201017250991a832 (patch)
tree044446e36f395d3bcc0f48f8d95e25bc23ba2009 /modern/src/settings/CalendarsPage.js
parented99455abb6c73ded056ae3239cfce01a63ab76f (diff)
downloadtrackermap-web-bf95e1bb48379bc1c3482d3f201017250991a832.tar.gz
trackermap-web-bf95e1bb48379bc1c3482d3f201017250991a832.tar.bz2
trackermap-web-bf95e1bb48379bc1c3482d3f201017250991a832.zip
Implement new page layout
Diffstat (limited to 'modern/src/settings/CalendarsPage.js')
-rw-r--r--modern/src/settings/CalendarsPage.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/modern/src/settings/CalendarsPage.js b/modern/src/settings/CalendarsPage.js
index db4dc770..875530a8 100644
--- a/modern/src/settings/CalendarsPage.js
+++ b/modern/src/settings/CalendarsPage.js
@@ -5,8 +5,9 @@ import {
import MoreVertIcon from '@material-ui/icons/MoreVert';
import { useEffectAsync } from '../reactHelper';
import EditCollectionView from './components/EditCollectionView';
-import OptionsLayout from './components/OptionsLayout';
import { useTranslation } from '../common/components/LocalizationProvider';
+import PageLayout from '../common/components/PageLayout';
+import SettingsMenu from './components/SettingsMenu';
const useStyles = makeStyles((theme) => ({
columnAction: {
@@ -55,9 +56,9 @@ const CalendarsView = ({ updateTimestamp, onMenuClick }) => {
};
const CalendarsPage = () => (
- <OptionsLayout>
+ <PageLayout menu={<SettingsMenu />} breadcrumbs={['settingsTitle', 'sharedCalendars']}>
<EditCollectionView content={CalendarsView} editPath="/settings/calendar" endpoint="calendars" />
- </OptionsLayout>
+ </PageLayout>
);
export default CalendarsPage;