aboutsummaryrefslogtreecommitdiff
path: root/modern/src/MainToolbar.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-09-22 23:01:32 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-09-22 23:01:32 -0700
commitbbc54a464a8a3cf41904c5335fb1845ff8af1887 (patch)
treeebf973383fb6d0ef1fd23f196c85621b5d8cd0bc /modern/src/MainToolbar.js
parent94fd5f9f6e8767014a1204794f790fbeaa5e821d (diff)
downloadtrackermap-web-bbc54a464a8a3cf41904c5335fb1845ff8af1887.tar.gz
trackermap-web-bbc54a464a8a3cf41904c5335fb1845ff8af1887.tar.bz2
trackermap-web-bbc54a464a8a3cf41904c5335fb1845ff8af1887.zip
Add server settings page
Diffstat (limited to 'modern/src/MainToolbar.js')
-rw-r--r--modern/src/MainToolbar.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js
index 60731967..71e92c3b 100644
--- a/modern/src/MainToolbar.js
+++ b/modern/src/MainToolbar.js
@@ -20,6 +20,7 @@ import DashboardIcon from '@material-ui/icons/Dashboard';
import BarChartIcon from '@material-ui/icons/BarChart';
import SettingsIcon from '@material-ui/icons/Settings';
import PeopleIcon from '@material-ui/icons/People';
+import StorageIcon from '@material-ui/icons/Storage';
import t from './common/localization';
const useStyles = makeStyles(theme => ({
@@ -167,6 +168,12 @@ const MainToolbar = () => {
{t('userAdmin')}
</ListSubheader>
}>
+ <ListItem button onClick={() => history.push('/admin/server')}>
+ <ListItemIcon>
+ <StorageIcon />
+ </ListItemIcon>
+ <ListItemText primary={t('settingsServer')} />
+ </ListItem>
<ListItem button onClick={() => history.push('/admin/users')}>
<ListItemIcon>
<PeopleIcon />