From d3c7705bedebd65c94f9eea691aaf2fe03b0cafe Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 19 Aug 2023 13:58:45 -0700 Subject: Move to Vite --- modern/src/settings/UserConnectionsPage.jsx | 139 ++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 modern/src/settings/UserConnectionsPage.jsx (limited to 'modern/src/settings/UserConnectionsPage.jsx') diff --git a/modern/src/settings/UserConnectionsPage.jsx b/modern/src/settings/UserConnectionsPage.jsx new file mode 100644 index 00000000..80de8835 --- /dev/null +++ b/modern/src/settings/UserConnectionsPage.jsx @@ -0,0 +1,139 @@ +import React from 'react'; +import { useParams } from 'react-router-dom'; +import { + Accordion, + AccordionSummary, + AccordionDetails, + Typography, + Container, +} from '@mui/material'; +import makeStyles from '@mui/styles/makeStyles'; +import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; +import LinkField from '../common/components/LinkField'; +import { useTranslation } from '../common/components/LocalizationProvider'; +import SettingsMenu from './components/SettingsMenu'; +import { formatNotificationTitle } from '../common/util/formatter'; +import PageLayout from '../common/components/PageLayout'; + +const useStyles = makeStyles((theme) => ({ + container: { + marginTop: theme.spacing(2), + }, + details: { + display: 'flex', + flexDirection: 'column', + gap: theme.spacing(2), + paddingBottom: theme.spacing(3), + }, +})); + +const UserConnectionsPage = () => { + const classes = useStyles(); + const t = useTranslation(); + + const { id } = useParams(); + + return ( + } + breadcrumbs={['settingsTitle', 'settingsUser', 'sharedConnections']} + > + + + }> + + {t('sharedConnections')} + + + + + + + formatNotificationTitle(t, it, true)} + label={t('sharedNotifications')} + /> + + + it.description} + label={t('sharedComputedAttributes')} + /> + + it.description} + label={t('sharedSavedCommands')} + /> + + + + + + ); +}; + +export default UserConnectionsPage; -- cgit v1.2.3