diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-21 17:01:44 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-21 17:01:44 +1200 |
commit | cbb9886e129b1e938be755558c020fbc7368cc04 (patch) | |
tree | 1cacb165c39d6c45aed1a8b3d9ac41c10b3eb791 /web/app/view | |
parent | 318ad837e5e9b26a8320c93114806514fc629166 (diff) | |
download | traccar-server-cbb9886e129b1e938be755558c020fbc7368cc04.tar.gz traccar-server-cbb9886e129b1e938be755558c020fbc7368cc04.tar.bz2 traccar-server-cbb9886e129b1e938be755558c020fbc7368cc04.zip |
Update mobile view layout
Diffstat (limited to 'web/app/view')
-rw-r--r-- | web/app/view/main/MainMobile.js | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/web/app/view/main/MainMobile.js b/web/app/view/main/MainMobile.js index f32ad9fb1..0fd39ed26 100644 --- a/web/app/view/main/MainMobile.js +++ b/web/app/view/main/MainMobile.js @@ -19,27 +19,31 @@ Ext.define('Traccar.view.main.MainMobile', { requires: [ 'Traccar.view.device.Device', + 'Traccar.view.state.State', 'Traccar.view.map.Map' ], layout: 'border', defaults: { + header: false, collapsible: true, split: true }, items: [{ - collapsible: false, - region: 'center', + xtype: 'stateView', + region: 'east', + collapsed:true, + flex: 4 + }, { xtype: 'mapView', - header: false, + region: 'center', + collapsible: false, flex: 2 }, { - region: 'south', xtype: 'deviceView', - header: false, + region: 'south', flex: 1 }] - }); |