use standard spacing
This commit is contained in:
1 parent
96378a5581
commit
b856ce3dd1
1 file changed
+28
-29
@@ -58,37 +58,36 @@ const Maintenance = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<Stack gap={theme.spacing(10)}>
|
||||||
<Stack gap={theme.spacing(8)}>
|
<Stack
|
||||||
<Stack
|
direction="row"
|
||||||
direction="row"
|
justifyContent="space-between"
|
||||||
justifyContent="space-between"
|
alignItems="center"
|
||||||
alignItems="center"
|
mt={theme.spacing(5)}
|
||||||
mt={theme.spacing(5)}
|
>
|
||||||
|
<Breadcrumbs list={[{ name: "maintenance", path: "/maintenance" }]} />
|
||||||
|
<Button
|
||||||
|
variant="contained"
|
||||||
|
color="accent"
|
||||||
|
onClick={() => {
|
||||||
|
navigate("/maintenance/create");
|
||||||
|
}}
|
||||||
|
sx={{ fontWeight: 500 }}
|
||||||
>
|
>
|
||||||
<Breadcrumbs list={[{ name: "maintenance", path: "/maintenance" }]} />
|
Create maintenance window
|
||||||
<Button
|
</Button>
|
||||||
variant="contained"
|
|
||||||
color="accent"
|
|
||||||
onClick={() => {
|
|
||||||
navigate("/maintenance/create");
|
|
||||||
}}
|
|
||||||
sx={{ fontWeight: 500 }}
|
|
||||||
>
|
|
||||||
Create maintenance window
|
|
||||||
</Button>
|
|
||||||
</Stack>
|
|
||||||
<MaintenanceTable
|
|
||||||
page={page}
|
|
||||||
setPage={setPage}
|
|
||||||
rowsPerPage={rowsPerPage}
|
|
||||||
sort={sort}
|
|
||||||
setSort={setSort}
|
|
||||||
maintenanceWindows={maintenanceWindows}
|
|
||||||
maintenanceWindowCount={maintenanceWindowCount}
|
|
||||||
updateCallback={handleActionMenuDelete}
|
|
||||||
/>
|
|
||||||
</Stack>
|
</Stack>
|
||||||
|
<MaintenanceTable
|
||||||
|
page={page}
|
||||||
|
setPage={setPage}
|
||||||
|
rowsPerPage={rowsPerPage}
|
||||||
|
sort={sort}
|
||||||
|
setSort={setSort}
|
||||||
|
maintenanceWindows={maintenanceWindows}
|
||||||
|
maintenanceWindowCount={maintenanceWindowCount}
|
||||||
|
updateCallback={handleActionMenuDelete}
|
||||||
|
/>
|
||||||
|
</Stack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user