mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-13 19:36:26 +03:00
button formatting
This commit is contained in:
@@ -296,7 +296,12 @@ const Scheduler = () => {
|
|||||||
<Cell stiff>
|
<Cell stiff>
|
||||||
<CircleIcon
|
<CircleIcon
|
||||||
color={si.active ? 'success' : 'error'}
|
color={si.active ? 'success' : 'error'}
|
||||||
sx={{ fontSize: ICON_SIZE, verticalAlign: 'middle' }}
|
sx={{
|
||||||
|
fontSize: ICON_SIZE,
|
||||||
|
ml: '4px',
|
||||||
|
position: 'relative',
|
||||||
|
top: '2px'
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</Cell>
|
</Cell>
|
||||||
<Cell stiff>
|
<Cell stiff>
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import { useEffect, useState } from 'react';
|
|||||||
|
|
||||||
import AddIcon from '@mui/icons-material/Add';
|
import AddIcon from '@mui/icons-material/Add';
|
||||||
import CancelIcon from '@mui/icons-material/Cancel';
|
import CancelIcon from '@mui/icons-material/Cancel';
|
||||||
|
import CircleIcon from '@mui/icons-material/Circle';
|
||||||
import DoneIcon from '@mui/icons-material/Done';
|
import DoneIcon from '@mui/icons-material/Done';
|
||||||
import RemoveIcon from '@mui/icons-material/RemoveCircleOutlined';
|
import RemoveIcon from '@mui/icons-material/RemoveCircleOutlined';
|
||||||
import {
|
import {
|
||||||
@@ -273,7 +274,15 @@ const SchedulerDialog = ({
|
|||||||
}
|
}
|
||||||
label={LL.ACTIVE()}
|
label={LL.ACTIVE()}
|
||||||
/>
|
/>
|
||||||
|
<CircleIcon
|
||||||
|
color={editItem.active ? 'success' : 'error'}
|
||||||
|
sx={{
|
||||||
|
fontSize: 16,
|
||||||
|
mt: '12px'
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid container>
|
<Grid container>
|
||||||
{needsTimeField ? (
|
{needsTimeField ? (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user