mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
formatting icon table
This commit is contained in:
@@ -116,28 +116,24 @@ const SettingsCustomization: FC = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Box mb={1} color="warning.main">
|
||||
Select a device and customize each entity using the options:
|
||||
<Typography display="block" variant="body2" sx={{ alignItems: 'center', display: 'flex' }}>
|
||||
|
||||
<Box color="warning.main">
|
||||
<Typography variant="body2">Select a device and customize each of its entities using the options:</Typography>
|
||||
<Typography mt={1} ml={2} display="block" variant="body2" sx={{ alignItems: 'center', display: 'flex' }}>
|
||||
<FavoriteBorderOutlinedIcon color="success" fontSize="small" />
|
||||
mark it as favorite to be listed at the top of the Dashboard
|
||||
</Typography>
|
||||
<Typography display="block" variant="body2" sx={{ alignItems: 'center', display: 'flex' }}>
|
||||
|
||||
<VisibilityOffOutlinedIcon color="action" fontSize="small" />
|
||||
hide from the Dashboard
|
||||
</Typography>
|
||||
<Typography display="block" variant="body2" sx={{ alignItems: 'center', display: 'flex' }}>
|
||||
|
||||
<Typography ml={2} display="block" variant="body2" sx={{ alignItems: 'center', display: 'flex' }}>
|
||||
<EditOffOutlinedIcon color="action" fontSize="small" />
|
||||
make it read-only (if it has write operation available)
|
||||
make it read-only, only if it has write operation available
|
||||
</Typography>
|
||||
<Typography display="block" variant="body2" sx={{ alignItems: 'center', display: 'flex' }}>
|
||||
|
||||
<Typography ml={2} display="block" variant="body2" sx={{ alignItems: 'center', display: 'flex' }}>
|
||||
<CommentsDisabledOutlinedIcon color="action" fontSize="small" />
|
||||
excluded it from MQTT and API outputs
|
||||
</Typography>
|
||||
<Typography ml={2} mb={1} display="block" variant="body2" sx={{ alignItems: 'center', display: 'flex' }}>
|
||||
<VisibilityOffOutlinedIcon color="action" fontSize="small" />
|
||||
hide it from the Dashboard
|
||||
</Typography>
|
||||
</Box>
|
||||
<ValidatedTextField
|
||||
name="device"
|
||||
@@ -216,7 +212,7 @@ const SettingsCustomization: FC = () => {
|
||||
};
|
||||
|
||||
return (
|
||||
<Table size="small">
|
||||
<Table size="small" padding="normal">
|
||||
<TableHead>
|
||||
<TableRow>
|
||||
<StyledTableCell align="center">OPTIONS</StyledTableCell>
|
||||
@@ -227,7 +223,7 @@ const SettingsCustomization: FC = () => {
|
||||
<TableBody>
|
||||
{deviceEntities.map((de) => (
|
||||
<TableRow key={de.s} hover>
|
||||
<StyledTableCell padding="checkbox">
|
||||
<StyledTableCell padding="none">
|
||||
<ToggleButtonGroup
|
||||
size="small"
|
||||
color="secondary"
|
||||
|
||||
Reference in New Issue
Block a user