diff options
author | Abyss777 <abyss@fox5.ru> | 2017-09-12 17:39:43 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-09-13 13:51:35 +0500 |
commit | a5d36c62facad98c409b9fcd4f8b92c3d47601ab (patch) | |
tree | 368a2ed169c1457a1cc2dd69a811f2dccc59ce04 /web/app/view/edit/Devices.js | |
parent | 31a6fed66b4f077d2b6443fdd34229befe8777c3 (diff) | |
download | trackermap-web-a5d36c62facad98c409b9fcd4f8b92c3d47601ab.tar.gz trackermap-web-a5d36c62facad98c409b9fcd4f8b92c3d47601ab.tar.bz2 trackermap-web-a5d36c62facad98c409b9fcd4f8b92c3d47601ab.zip |
Implement Saved Commands
Diffstat (limited to 'web/app/view/edit/Devices.js')
-rw-r--r-- | web/app/view/edit/Devices.js | 41 |
1 files changed, 14 insertions, 27 deletions
diff --git a/web/app/view/edit/Devices.js b/web/app/view/edit/Devices.js index 4fdcab00..5ec452b8 100644 --- a/web/app/view/edit/Devices.js +++ b/web/app/view/edit/Devices.js @@ -37,67 +37,54 @@ Ext.define('Traccar.view.edit.Devices', { tbar: { componentCls: 'toolbar-header-style', + defaults: { + xtype: 'button', + disabled: true, + tooltipType: 'title' + }, items: [{ xtype: 'tbtext', html: Strings.deviceTitle, baseCls: 'x-panel-header-title-default' }, { - xtype: 'tbfill' + xtype: 'tbfill', + disabled: false }, { - xtype: 'button', - disabled: true, handler: 'onAddClick', reference: 'toolbarAddButton', glyph: 'xf067@FontAwesome', - tooltip: Strings.sharedAdd, - tooltipType: 'title' + tooltip: Strings.sharedAdd }, { - xtype: 'button', - disabled: true, handler: 'onEditClick', reference: 'toolbarEditButton', glyph: 'xf040@FontAwesome', - tooltip: Strings.sharedEdit, - tooltipType: 'title' + tooltip: Strings.sharedEdit }, { - xtype: 'button', - disabled: true, handler: 'onRemoveClick', reference: 'toolbarRemoveButton', glyph: 'xf00d@FontAwesome', - tooltip: Strings.sharedRemove, - tooltipType: 'title' + tooltip: Strings.sharedRemove }, { - xtype: 'button', - disabled: true, handler: 'onGeofencesClick', reference: 'toolbarGeofencesButton', glyph: 'xf21d@FontAwesome', - tooltip: Strings.sharedGeofences, - tooltipType: 'title' + tooltip: Strings.sharedGeofences }, { - xtype: 'button', - disabled: true, handler: 'onAttributesClick', reference: 'toolbarAttributesButton', glyph: 'xf0ae@FontAwesome', - tooltip: Strings.sharedComputedAttributes, - tooltipType: 'title' + tooltip: Strings.sharedComputedAttributes }, { xtype: 'button', - disabled: true, handler: 'onDriversClick', reference: 'toolbarDriversButton', glyph: 'xf2c2@FontAwesome', - tooltip: Strings.sharedDrivers, - tooltipType: 'title' + tooltip: Strings.sharedDrivers }, { - disabled: true, handler: 'onCommandClick', reference: 'deviceCommandButton', glyph: 'xf093@FontAwesome', - tooltip: Strings.deviceCommand, - tooltipType: 'title' + tooltip: Strings.deviceCommand }] }, |