Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cbolles committed Nov 22, 2024
1 parent 62d9d86 commit f2c4b8c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LayoutParametersInput } from '../../graphql/graphql'
import { LayoutParametersInput } from '../../graphql/graphql';
import { Card, CardHeader, CardContent, List, ListItem } from '@mui/material';
import { getLayoutName } from '../../helpers/names';

Expand All @@ -9,7 +9,7 @@ export interface LayoutParamsViewProps {
export const LayoutParamsView: React.FC<LayoutParamsViewProps> = ({ params }) => {
return (
<Card>
<CardHeader title='Global Parameters' titleTypographyProps={{ variant: 'h3' }} />
<CardHeader title="Global Parameters" titleTypographyProps={{ variant: 'h3' }} />
<CardContent>
<List>
<ListItem>Type: {getLayoutName(params.type)}</ListItem>
Expand All @@ -18,4 +18,4 @@ export const LayoutParamsView: React.FC<LayoutParamsViewProps> = ({ params }) =>
</CardContent>
</Card>
);
}
};
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ const SingleModelParamsView: React.FC<{ params: ModelParametersInput }> = ({ par
return (
<Paper elevation={2}>
<List>
<ListItem>Name: <i>{getModelName(params.name)}</i></ListItem>
<ListItem>Neutral Drift: {params.neutralDrift ? 'True': 'False'}</ListItem>
<ListItem>
Name: <i>{getModelName(params.name)}</i>
</ListItem>
<ListItem>Neutral Drift: {params.neutralDrift ? 'True' : 'False'}</ListItem>
<ListItem>Neutral Drift Amp: {params.neutralDriftAmp}</ListItem>
<ListItem>Death Rate: {params.deathRate}</ListItem>
<ListItem>Linear Diffusivity: {params.linearDiffusivity}</ListItem>
Expand Down
14 changes: 6 additions & 8 deletions packages/frontend/src/pages/ExperimentSubmitted.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
import { useState } from 'react';
import { Box, Drawer, Grid, Stack, Typography } from '@mui/material';
import { Box, Drawer, Stack, Typography } from '@mui/material';
import FooterStepper from '../components/FooterStepper';

export function ExperimentSubmittedPage() {
const [activeStep, _setActiveStep] = useState(2);

return (
<>
<Box sx={{ display: 'flex', justifyContent: 'flex-left', alignItems: 'left', width: '100%'}}>
<Box sx={{ display: 'flex', justifyContent: 'flex-left', alignItems: 'left', width: '100%' }}>
<Stack spacing={5} sx={{ alignItems: 'left', justifyContent: 'left' }}>
<Typography variant='h1'>EXPERIMENT SUBMITTED!</Typography>
<Typography variant="h1">EXPERIMENT SUBMITTED!</Typography>

<Typography variant="h2">
Thank you for using the COMETS Layout Builder!
</Typography>
<Typography variant="h2">Thank you for using the COMETS Layout Builder!</Typography>

<Typography variant="h3">
Your layout is now running. You will be sent an email with a link to the results of your layout once
it’s done running.
Your layout is now running. You will be sent an email with a link to the results of your layout once it’s
done running.
</Typography>
</Stack>

Expand Down

0 comments on commit f2c4b8c

Please sign in to comment.