aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/State.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-06 09:53:06 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-09-06 09:53:06 +1200
commitae9de5a7b9cf43ad488022675d243a4b7a863aa4 (patch)
treec2880267bca7fe494c294d5ae59e15a9ad0e5a2d /web/app/view/State.js
parent00e840b3dbc087a0b187f283d14f5169a626da93 (diff)
downloadtrackermap-web-ae9de5a7b9cf43ad488022675d243a4b7a863aa4.tar.gz
trackermap-web-ae9de5a7b9cf43ad488022675d243a4b7a863aa4.tar.bz2
trackermap-web-ae9de5a7b9cf43ad488022675d243a4b7a863aa4.zip
Add attributes button to state toolbar
Diffstat (limited to 'web/app/view/State.js')
-rw-r--r--web/app/view/State.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/app/view/State.js b/web/app/view/State.js
index 82149713..d161251c 100644
--- a/web/app/view/State.js
+++ b/web/app/view/State.js
@@ -35,6 +35,16 @@ Ext.define('Traccar.view.State', {
xtype: 'tbtext',
html: Strings.stateTitle,
baseCls: 'x-panel-header-title-default'
+ }, {
+ xtype: 'tbfill'
+ }, {
+ xtype: 'button',
+ disabled: true,
+ handler: 'onComputedAttributesClick',
+ reference: 'computedAttributesButton',
+ glyph: 'xf0ae@FontAwesome',
+ tooltip: Strings.sharedComputedAttributes,
+ tooltipType: 'title'
}]
},