-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import ControlTable from '../components/PodTemperatures'; | ||
Check failure on line 1 in src/components/ControlGrid.tsx GitHub Actions / test-tauri (macos-latest)
Check failure on line 1 in src/components/ControlGrid.tsx GitHub Actions / test-tauri (ubuntu-latest)
|
||
import { Grid, Paper, Box, Skeleton, styled } from '@mui/material'; | ||
Check failure on line 2 in src/components/ControlGrid.tsx GitHub Actions / test-tauri (macos-latest)
Check failure on line 2 in src/components/ControlGrid.tsx GitHub Actions / test-tauri (macos-latest)
Check failure on line 2 in src/components/ControlGrid.tsx GitHub Actions / test-tauri (ubuntu-latest)
Check failure on line 2 in src/components/ControlGrid.tsx GitHub Actions / test-tauri (ubuntu-latest)
Check failure on line 2 in src/components/ControlGrid.tsx GitHub Actions / test-tauri (windows-latest)
|
||
|
||
const Item = styled(Paper)(({ theme }) => ({ | ||
backgroundColor: theme.palette.mode === 'dark' ? '#1A2027' : '#fff', | ||
...theme.typography.body2, | ||
padding: theme.spacing(1), | ||
textAlign: 'center', | ||
color: theme.palette.text.secondary, | ||
})); | ||
|
||
|
||
function ControlGrid() { | ||
|
||
|
||
return ( | ||
<div> | ||
<Grid container rowSpacing={1} columnSpacing={{ xs: 1, md: 2 }} sx={{ margin: "1%"}}> | ||
<Grid item xs={12} md={12}> | ||
</Grid> | ||
<Grid item xs={6} md={8}> | ||
<Item sx={{ width: "100%", height: "300px"}}> | ||
xs=6 md=8 | ||
</Item> | ||
</Grid> | ||
<Grid item xs={6} md={4}> | ||
<Item sx={{ width: "100%", height: "300px"}}> | ||
xs=6 md=8 | ||
</Item> | ||
</Grid> | ||
<Grid item xs={6} md={4}> | ||
<Item sx={{ width: "100%", height: "300px"}}> | ||
xs=6 md=8 | ||
</Item> | ||
</Grid> | ||
<Grid item xs={6} md={8}> | ||
<Item sx={{ width: "100%", height: "300px"}}> | ||
xs=6 md=8 | ||
</Item> | ||
</Grid> | ||
<Grid item xs={6} md={4}> | ||
<Item sx={{ width: "100%", height: "300px"}}> | ||
xs=6 md=8 | ||
</Item> | ||
</Grid> | ||
<Grid item xs={12} md={12}> | ||
<Item sx={{ width: "100%", height: "300px"}}> | ||
xs=6 md=8 | ||
</Item> | ||
</Grid> | ||
</Grid> | ||
</div> | ||
); | ||
} | ||
|
||
export default ControlGrid; |