Switch Buttons Position
This commit is contained in:
1 parent
d19bbf2b8e
commit
2d839285f2
1 file changed
+21
-29
@@ -133,26 +133,6 @@ const SettingsEmail = ({
|
|||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
<Box
|
|
||||||
sx={{
|
|
||||||
display: "flex",
|
|
||||||
flexDirection: "column",
|
|
||||||
gap: theme.spacing(4),
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Typography>{t("settingsEmailSecure")}</Typography>
|
|
||||||
<Switch
|
|
||||||
name="systemEmailSecure"
|
|
||||||
checked={systemEmailSecure}
|
|
||||||
onChange={handleChange}
|
|
||||||
/>
|
|
||||||
<Typography>{t("settingsEmailPool")}</Typography>
|
|
||||||
<Switch
|
|
||||||
name="systemEmailPool"
|
|
||||||
checked={systemEmailPool}
|
|
||||||
onChange={handleChange}
|
|
||||||
/>
|
|
||||||
</Box>
|
|
||||||
<Box>
|
<Box>
|
||||||
<Typography>{t("settingsEmailUser")}</Typography>
|
<Typography>{t("settingsEmailUser")}</Typography>
|
||||||
<TextInput
|
<TextInput
|
||||||
@@ -213,6 +193,15 @@ const SettingsEmail = ({
|
|||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
<Box>
|
||||||
|
<Typography>{t("settingsEmailConnectionHost")}</Typography>
|
||||||
|
<TextInput
|
||||||
|
name="systemEmailConnectionHost"
|
||||||
|
placeholder="bluewavelabs.ca"
|
||||||
|
value={systemEmailConnectionHost}
|
||||||
|
onChange={handleChange}
|
||||||
|
/>
|
||||||
|
</Box>
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
@@ -220,6 +209,18 @@ const SettingsEmail = ({
|
|||||||
gap: theme.spacing(4),
|
gap: theme.spacing(4),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<Typography>{t("settingsEmailSecure")}</Typography>
|
||||||
|
<Switch
|
||||||
|
name="systemEmailSecure"
|
||||||
|
checked={systemEmailSecure}
|
||||||
|
onChange={handleChange}
|
||||||
|
/>
|
||||||
|
<Typography>{t("settingsEmailPool")}</Typography>
|
||||||
|
<Switch
|
||||||
|
name="systemEmailPool"
|
||||||
|
checked={systemEmailPool}
|
||||||
|
onChange={handleChange}
|
||||||
|
/>
|
||||||
<Typography>{t("settingsEmailIgnoreTLS")}</Typography>
|
<Typography>{t("settingsEmailIgnoreTLS")}</Typography>
|
||||||
<Switch
|
<Switch
|
||||||
name="systemEmailIgnoreTLS"
|
name="systemEmailIgnoreTLS"
|
||||||
@@ -239,15 +240,6 @@ const SettingsEmail = ({
|
|||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
<Box>
|
|
||||||
<Typography>{t("settingsEmailConnectionHost")}</Typography>
|
|
||||||
<TextInput
|
|
||||||
name="systemEmailConnectionHost"
|
|
||||||
placeholder="bluewavelabs.ca"
|
|
||||||
value={systemEmailConnectionHost}
|
|
||||||
onChange={handleChange}
|
|
||||||
/>
|
|
||||||
</Box>
|
|
||||||
<Box>
|
<Box>
|
||||||
{systemEmailHost && systemEmailPort && systemEmailAddress && (
|
{systemEmailHost && systemEmailPort && systemEmailAddress && (
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in new issue
Block a user