aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/State.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-04 07:33:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-04 07:33:09 +1300
commit9adb468ca86dc1b40c29c692a3710426174ea5f9 (patch)
tree2f34a71db749d248daa724af90e8063d3f0f1f55 /web/app/view/State.js
parent50089e020512144e80082b800050793489a93e8b (diff)
downloadetbsa-traccar-web-9adb468ca86dc1b40c29c692a3710426174ea5f9.tar.gz
etbsa-traccar-web-9adb468ca86dc1b40c29c692a3710426174ea5f9.tar.bz2
etbsa-traccar-web-9adb468ca86dc1b40c29c692a3710426174ea5f9.zip
Replace header with toolbar
Diffstat (limited to 'web/app/view/State.js')
-rw-r--r--web/app/view/State.js28
1 files changed, 15 insertions, 13 deletions
diff --git a/web/app/view/State.js b/web/app/view/State.js
index 681428f..593c5e6 100644
--- a/web/app/view/State.js
+++ b/web/app/view/State.js
@@ -26,20 +26,22 @@ Ext.define('Traccar.view.State', {
controller: 'state',
store: 'Attributes',
- header: {
- xtype: 'header',
- title: Strings.stateTitle,
+ tbar: {
items: [{
- xtype: 'tbfill'
- }, {
- xtype: 'button',
- disabled: true,
- handler: 'onAliasEditClick',
- reference: 'aliasEditButton',
- glyph: 'xf040@FontAwesome',
- tooltip: Strings.sharedEdit,
- tooltipType: 'title'
- }]
+ xtype: 'tbtext',
+ html: Strings.stateTitle,
+ baseCls: 'x-panel-header-title-default'
+ }, {
+ xtype: 'tbfill'
+ }, {
+ xtype: 'button',
+ disabled: true,
+ handler: 'onAliasEditClick',
+ reference: 'aliasEditButton',
+ glyph: 'xf040@FontAwesome',
+ tooltip: Strings.sharedEdit,
+ tooltipType: 'title'
+ }]
},
listeners: {