diff --git a/striker-ui/components/StrikerConfig/ComplexOperationsPanel.tsx b/striker-ui/components/StrikerConfig/ComplexOperationsPanel.tsx new file mode 100644 index 00000000..417ba9e9 --- /dev/null +++ b/striker-ui/components/StrikerConfig/ComplexOperationsPanel.tsx @@ -0,0 +1,17 @@ +import { FC } from 'react'; + +import FlexBox from '../FlexBox'; +import { ExpandablePanel, Panel } from '../Panels'; +import { BodyText } from '../Text'; + +const ComplexOperationsPanel: FC = () => ( + + Configure striker peers}> + + Inbound connections + + + +); + +export default ComplexOperationsPanel; diff --git a/striker-ui/components/StrikerConfig/SimpleOperationsPanel.tsx b/striker-ui/components/StrikerConfig/SimpleOperationsPanel.tsx new file mode 100644 index 00000000..0601c329 --- /dev/null +++ b/striker-ui/components/StrikerConfig/SimpleOperationsPanel.tsx @@ -0,0 +1,39 @@ +import { Grid } from '@mui/material'; +import { FC } from 'react'; +import ContainedButton, { ContainedButtonProps } from '../ContainedButton'; +import { Panel, PanelHeader } from '../Panels'; +import { HeaderText } from '../Text'; + +type SimpleOperationsPanelProps = { + strikerHostName: string; +}; + +const StretchedButton: FC = (props) => ( + +); + +const SimpleOperationsPanel: FC = ({ + strikerHostName, +}) => ( + + + + + + + Update system + + + Enable "Install target" + + + Reboot + + + Shutdown + + + +); + +export default SimpleOperationsPanel; diff --git a/striker-ui/components/StrikerConfig/index.tsx b/striker-ui/components/StrikerConfig/index.tsx new file mode 100644 index 00000000..d2330f25 --- /dev/null +++ b/striker-ui/components/StrikerConfig/index.tsx @@ -0,0 +1,4 @@ +import ComplexOperationsPanel from './ComplexOperationsPanel'; +import SimpleOperationsPanel from './SimpleOperationsPanel'; + +export { ComplexOperationsPanel, SimpleOperationsPanel }; diff --git a/striker-ui/pages/config/index.tsx b/striker-ui/pages/config/index.tsx new file mode 100644 index 00000000..8844b63c --- /dev/null +++ b/striker-ui/pages/config/index.tsx @@ -0,0 +1,25 @@ +import { Box, Grid } from '@mui/material'; +import { FC } from 'react'; + +import Header from '../../components/Header'; + +import { + ComplexOperationsPanel, + SimpleOperationsPanel, +} from '../../components/StrikerConfig'; + +const Config: FC = () => ( + +
+ + + + + + + + + +); + +export default Config;