mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
merge #2108
This commit is contained in:
@@ -3,6 +3,7 @@ import { IconContext } from 'react-icons/lib';
|
||||
import { toast } from 'react-toastify';
|
||||
|
||||
import ChevronRightIcon from '@mui/icons-material/ChevronRight';
|
||||
import ConstructionIcon from '@mui/icons-material/Construction';
|
||||
import EditIcon from '@mui/icons-material/Edit';
|
||||
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
||||
import UnfoldLessIcon from '@mui/icons-material/UnfoldLess';
|
||||
@@ -235,7 +236,10 @@ const Dashboard = () => {
|
||||
<Grid container spacing={0} justifyContent="flex-start">
|
||||
<Grid size={11}>
|
||||
<Typography mb={2} variant="body1" color="warning">
|
||||
{LL.DASHBOARD_1()}.
|
||||
{LL.DASHBOARD_1()}
|
||||
<ConstructionIcon
|
||||
sx={{ color: '#9e9e9e', fontSize: 20, verticalAlign: 'middle' }}
|
||||
/>
|
||||
</Typography>
|
||||
</Grid>
|
||||
|
||||
|
||||
@@ -73,11 +73,6 @@ const LayoutMenu = () => {
|
||||
>
|
||||
<ListItemText
|
||||
primary={LL.MODULES()}
|
||||
primaryTypographyProps={{
|
||||
fontWeight: '600',
|
||||
mb: '2px',
|
||||
color: 'lightblue'
|
||||
}}
|
||||
// secondary={
|
||||
// LL.CUSTOMIZATIONS() +
|
||||
// ', ' +
|
||||
@@ -92,6 +87,13 @@ const LayoutMenu = () => {
|
||||
// color: menuOpen ? 'rgba(0,0,0,0)' : 'rgba(255,255,255,0.5)'
|
||||
// }}
|
||||
sx={{ my: 0 }}
|
||||
slotProps={{
|
||||
primary: {
|
||||
fontWeight: '600',
|
||||
mb: '2px',
|
||||
color: 'lightblue'
|
||||
}
|
||||
}}
|
||||
/>
|
||||
<KeyboardArrowDown
|
||||
sx={{
|
||||
@@ -132,7 +134,6 @@ const LayoutMenu = () => {
|
||||
)}
|
||||
</Box>
|
||||
</List>
|
||||
|
||||
<List style={{ marginTop: `auto` }}>
|
||||
<LayoutMenuItem
|
||||
icon={AssessmentIcon}
|
||||
@@ -158,7 +159,6 @@ const LayoutMenu = () => {
|
||||
</ListItemButton>
|
||||
</ListItem>
|
||||
</List>
|
||||
|
||||
<Popover
|
||||
id={id}
|
||||
open={open}
|
||||
|
||||
@@ -347,4 +347,4 @@ const nl: Translation = {
|
||||
UPGRADE: 'Upgraden'
|
||||
};
|
||||
|
||||
export default nl;
|
||||
export default nl;
|
||||
Reference in New Issue
Block a user