better l&f (#822)

This commit is contained in:
Michael Quigley 2025-01-21 14:18:05 -05:00
parent 2d444a568d
commit 3751d0b75a
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -43,13 +43,13 @@ const ReleaseEnvironmentModal = ({ close, isOpen, detail, action }: ReleaseEnvir
<Typography variant="h5"><strong>Release Environment</strong></Typography>
</Grid2>
<Grid2 container sx={{ flexGrow: 1, p: 1 }} alignItems="center">
<Typography variant="body1">Would you like to release the environment <strong>'{description}'</strong>?</Typography>
<Typography variant="body1">Would you like to release the environment <code>{description}</code> ?</Typography>
</Grid2>
<Grid2 container sx={{ flexGrow: 1, p: 1 }} alignItems="center">
<Typography variant="body1">Releasing this environment will also release any shares and accesses that are associated with it.</Typography>
</Grid2>
<Grid2 container sx={{ flexGrow: 1, p: 1 }} alignItems="center">
<FormControlLabel control={<Checkbox checked={checked} onChange={toggleChecked} />} label={"I am ready to release '" + description + "'"} sx={{ mt: 2 }} />
<FormControlLabel control={<Checkbox checked={checked} onChange={toggleChecked} />} label={<p>I confirm the release of <code>{description}</code></p>} sx={{ mt: 2 }} />
</Grid2>
<Grid2 container sx={{ flexGrow: 1 }} alignItems="center">
<Button color="error" variant="contained" disabled={!checked} onClick={action}>Release</Button>