hover color edit.
little preparations for add special widgets for appbar and sidebar
This commit is contained in:
parent
85c3378a16
commit
7d93212f7f
@ -24,6 +24,7 @@ import SettingsIcon from '@mui/icons-material/SettingsOutlined';
|
||||
import LogoutIcon from '@mui/icons-material/LogoutOutlined';
|
||||
import AccountCircleIcon from '@mui/icons-material/AccountCircleOutlined';
|
||||
import InfoIcon from '@mui/icons-material/InfoOutlined';
|
||||
import UpdateIcon from '@mui/icons-material/SystemUpdateAltOutlined';
|
||||
import { ThemeProvider } from '@mui/material/styles';
|
||||
import theme from '../theme';
|
||||
import deleteToken from '../core/deleteToken';
|
||||
@ -115,20 +116,24 @@ export default function SettingsMain() {
|
||||
>
|
||||
<Divider />
|
||||
<List>
|
||||
<ListItem button key="Database Configuration">
|
||||
<ListItem button key="Database Configuration" selected={window.location.pathname === '/settings'}>
|
||||
<DashboardIcon sx={{ marginRight: 2, color: '#FFFFFF'}}/>
|
||||
<ListItemText primary="Database Configuration" sx={{ color: '#FFFFFF' }} />
|
||||
</ListItem>
|
||||
<ListItem button key="Access lists">
|
||||
<ListItem button key="Access lists" selected={window.location.pathname === '/settings/access'}>
|
||||
<PeopleIcon sx={{ marginRight: 2, color: '#FFFFFF' }}/>
|
||||
<ListItemText primary="Access lists" sx={{ color: '#FFFFFF' }} />
|
||||
</ListItem>
|
||||
<ListItem button key="Info">
|
||||
<ListItem button key="Update" selected={window.location.pathname === '/settings/update'}>
|
||||
<UpdateIcon sx={{ marginRight: 2, color: '#FFFFFF' }}/>
|
||||
<ListItemText primary="Update" sx={{ color: '#FFFFFF' }} />
|
||||
</ListItem>
|
||||
<ListItem button key="Info" selected={window.location.pathname === '/settings/info'}>
|
||||
<InfoIcon sx={{ marginRight: 2, color: '#FFFFFF' }}/>
|
||||
<ListItemText primary="Info" sx={{ color: '#FFFFFF' }} />
|
||||
<ListItemText primary="Info" sx={{ color: '#FFFFFF' }} onClick={() => { window.location.href = '/settings/info'; }}/>
|
||||
</ListItem>
|
||||
{getDeveloperMode() && (
|
||||
<ListItem button key="Debug">
|
||||
<ListItem button key="Debug" selected={window.location.pathname === '/settings/debug'}>
|
||||
<BarChartIcon sx={{ marginRight: 2, color: '#FFFFFF' }}/>
|
||||
<ListItemText primary="Debug" sx={{ color: '#FFFFFF' }} />
|
||||
</ListItem>
|
||||
|
||||
@ -1 +1 @@
|
||||
{"buildMajor":1,"buildMinor":0,"buildRevision":14,"buildTag":"DEV"}
|
||||
{"buildMajor":1,"buildMinor":0,"buildRevision":15,"buildTag":"DEV"}
|
||||
@ -11,6 +11,10 @@ const theme = createTheme({
|
||||
warning: {
|
||||
main: '#520013'
|
||||
}
|
||||
,
|
||||
action: {
|
||||
hover: '#00271e'
|
||||
}
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user