diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-05 01:10:31 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-05 01:10:31 +1300 |
commit | 0ea22d28252eeee1f12e38914855b34004042fcd (patch) | |
tree | 7adf6a73a5f42a1af1f0dbb6e9cb8090518d56f8 /web/app | |
parent | e4d8fb584dbafce24baed04c7034891c19f839c1 (diff) | |
download | trackermap-web-0ea22d28252eeee1f12e38914855b34004042fcd.tar.gz trackermap-web-0ea22d28252eeee1f12e38914855b34004042fcd.tar.bz2 trackermap-web-0ea22d28252eeee1f12e38914855b34004042fcd.zip |
Add icons in the settings menu
Diffstat (limited to 'web/app')
-rw-r--r-- | web/app/view/SettingsMenu.js | 14 | ||||
-rw-r--r-- | web/app/view/State.js | 2 | ||||
-rw-r--r-- | web/app/view/Users.js | 18 |
3 files changed, 25 insertions, 9 deletions
diff --git a/web/app/view/SettingsMenu.js b/web/app/view/SettingsMenu.js index 7a594c3a..8d40a8d7 100644 --- a/web/app/view/SettingsMenu.js +++ b/web/app/view/SettingsMenu.js @@ -32,48 +32,58 @@ Ext.define('Traccar.view.SettingsMenu', { items: [{ text: Strings.settingsUser, + glyph: 'xf007@FontAwesome', handler: 'onUserClick' }, { hidden: true, text: Strings.settingsGroups, + glyph: 'xf247@FontAwesome', handler: 'onGroupsClick', reference: 'settingsGroupsButton' }, { hidden: true, text: Strings.sharedGeofences, + glyph: 'xf21d@FontAwesome', handler: 'onGeofencesClick', reference: 'settingsGeofencesButton' }, { - text: Strings.settingsServer, hidden: true, + text: Strings.settingsServer, + glyph: 'xf0ad@FontAwesome', handler: 'onServerClick', reference: 'settingsServerButton' }, { - text: Strings.settingsUsers, hidden: true, + text: Strings.settingsUsers, + glyph: 'xf0c0@FontAwesome', handler: 'onUsersClick', reference: 'settingsUsersButton' }, { text: Strings.sharedNotifications, + glyph: 'xf003@FontAwesome', handler: 'onNotificationsClick', reference: 'settingsNotificationsButton' }, { hidden: true, text: Strings.sharedAttributeAliases, + glyph: 'xf07e@FontAwesome', handler: 'onAttributeAliasesClick', reference: 'settingsAttributeAliasesButton' }, { hidden: true, text: Strings.sharedDeviceDistance, + glyph: 'xf1b9@FontAwesome', handler: 'onDeviceDistanceClick', reference: 'settingsDeviceDistanceButton' }, { hidden: true, text: Strings.statisticsTitle, + glyph: 'xf080@FontAwesome', handler: 'onStatisticsClick', reference: 'settingsStatisticsButton' }, { text: Strings.loginLogout, + glyph: 'xf08b@FontAwesome', handler: 'onLogoutClick' }] } diff --git a/web/app/view/State.js b/web/app/view/State.js index 8f029035..5dbe0352 100644 --- a/web/app/view/State.js +++ b/web/app/view/State.js @@ -39,7 +39,7 @@ Ext.define('Traccar.view.State', { disabled: true, handler: 'onAliasEditClick', reference: 'aliasEditButton', - glyph: 'xf040@FontAwesome', + glyph: 'xf07e@FontAwesome', tooltip: Strings.sharedEdit, tooltipType: 'title' }] diff --git a/web/app/view/Users.js b/web/app/view/Users.js index 5f52d0e3..28581c59 100644 --- a/web/app/view/Users.js +++ b/web/app/view/Users.js @@ -39,20 +39,26 @@ Ext.define('Traccar.view.Users', { tooltip: Strings.sharedGeofences, tooltipType: 'title' }, { - text: Strings.deviceTitle, disabled: true, handler: 'onDevicesClick', - reference: 'userDevicesButton' + reference: 'userDevicesButton', + glyph: 'xf248@FontAwesome', + tooltip: Strings.deviceTitle, + tooltipType: 'title' }, { - text: Strings.settingsGroups, disabled: true, handler: 'onGroupsClick', - reference: 'userGroupsButton' + reference: 'userGroupsButton', + glyph: 'xf247@FontAwesome', + tooltip: Strings.settingsGroups, + tooltipType: 'title' }, { - text: Strings.sharedNotifications, disabled: true, handler: 'onNotificationsClick', - reference: 'userNotificationsButton' + reference: 'userNotificationsButton', + glyph: 'xf003@FontAwesome', + tooltip: Strings.sharedNotifications, + tooltipType: 'title' }] }, |