aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/Devices.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-19 09:36:16 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-19 16:38:28 +0500
commit3a5e334b50bf35d11743d937c9fae2fb8c7829ec (patch)
treef66c5d8ddcbe861b045e20d0390e8987ac329d7b /web/app/view/edit/Devices.js
parentd078ef703795ed9c1fb0b6111ee7d12e09143f82 (diff)
downloadtrackermap-web-3a5e334b50bf35d11743d937c9fae2fb8c7829ec.tar.gz
trackermap-web-3a5e334b50bf35d11743d937c9fae2fb8c7829ec.tar.bz2
trackermap-web-3a5e334b50bf35d11743d937c9fae2fb8c7829ec.zip
Implement Notifications per device
Diffstat (limited to 'web/app/view/edit/Devices.js')
-rw-r--r--web/app/view/edit/Devices.js23
1 files changed, 6 insertions, 17 deletions
diff --git a/web/app/view/edit/Devices.js b/web/app/view/edit/Devices.js
index 5ec452b8..d2ba0f3d 100644
--- a/web/app/view/edit/Devices.js
+++ b/web/app/view/edit/Devices.js
@@ -23,7 +23,8 @@ Ext.define('Traccar.view.edit.Devices', {
'Ext.grid.filters.Filters',
'Traccar.AttributeFormatter',
'Traccar.view.edit.DevicesController',
- 'Traccar.view.ArrayListFilter'
+ 'Traccar.view.ArrayListFilter',
+ 'Traccar.view.DeviceMenu'
],
controller: 'devices',
@@ -65,26 +66,14 @@ Ext.define('Traccar.view.edit.Devices', {
glyph: 'xf00d@FontAwesome',
tooltip: Strings.sharedRemove
}, {
- handler: 'onGeofencesClick',
- reference: 'toolbarGeofencesButton',
- glyph: 'xf21d@FontAwesome',
- tooltip: Strings.sharedGeofences
- }, {
- handler: 'onAttributesClick',
- reference: 'toolbarAttributesButton',
- glyph: 'xf0ae@FontAwesome',
- tooltip: Strings.sharedComputedAttributes
- }, {
- xtype: 'button',
- handler: 'onDriversClick',
- reference: 'toolbarDriversButton',
- glyph: 'xf2c2@FontAwesome',
- tooltip: Strings.sharedDrivers
- }, {
handler: 'onCommandClick',
reference: 'deviceCommandButton',
glyph: 'xf093@FontAwesome',
tooltip: Strings.deviceCommand
+ }, {
+ xtype: 'deviceMenu',
+ reference: 'toolbarDeviceMenu',
+ enableToggle: false
}]
},