aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/device/Device.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-25 20:36:46 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-25 20:36:46 +1200
commit5d70c533792397f9e2b7502ff44226d654866d64 (patch)
tree56e43676a01006d286b44c36b6c8c6792ce831d6 /web/app/view/device/Device.js
parent0824f4fd3355b7e63f6524e8ca21b5e57d77e757 (diff)
downloadtrackermap-server-5d70c533792397f9e2b7502ff44226d654866d64.tar.gz
trackermap-server-5d70c533792397f9e2b7502ff44226d654866d64.tar.bz2
trackermap-server-5d70c533792397f9e2b7502ff44226d654866d64.zip
Add device commands button
Diffstat (limited to 'web/app/view/device/Device.js')
-rw-r--r--web/app/view/device/Device.js20
1 files changed, 16 insertions, 4 deletions
diff --git a/web/app/view/device/Device.js b/web/app/view/device/Device.js
index 0f8cb876e..ef225ff31 100644
--- a/web/app/view/device/Device.js
+++ b/web/app/view/device/Device.js
@@ -29,20 +29,32 @@ Ext.define('Traccar.view.device.Device', {
selType: 'rowmodel',
tbar: [{
- text: strings.shared_add,
handler: 'onAddClick',
reference: 'deviceAddButton',
- glyph: 'xf067@FontAwesome'
+ glyph: 'xf067@FontAwesome',
+ tooltip: strings.shared_add,
+ tooltipType: 'title'
}, {
disabled: true,
handler: 'onEditClick',
reference: 'deviceEditButton',
- glyph: 'xf040@FontAwesome'
+ glyph: 'xf040@FontAwesome',
+ tooltip: strings.shared_edit,
+ tooltipType: 'title'
}, {
disabled: true,
handler: 'onRemoveClick',
reference: 'deviceRemoveButton',
- glyph: 'xf00d@FontAwesome'
+ glyph: 'xf00d@FontAwesome',
+ tooltip: strings.shared_remove,
+ tooltipType: 'title'
+ }, {
+ disabled: true,
+ handler: 'onCommandClick',
+ reference: 'deviceCommandButton',
+ glyph: 'xf093@FontAwesome',
+ tooltip: strings.device_command,
+ tooltipType: 'title'
}, {
xtype: 'tbfill'
}, {