aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-21 17:01:44 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-21 17:01:44 +1200
commitcbb9886e129b1e938be755558c020fbc7368cc04 (patch)
tree1cacb165c39d6c45aed1a8b3d9ac41c10b3eb791 /web/app
parent318ad837e5e9b26a8320c93114806514fc629166 (diff)
downloadtraccar-server-cbb9886e129b1e938be755558c020fbc7368cc04.tar.gz
traccar-server-cbb9886e129b1e938be755558c020fbc7368cc04.tar.bz2
traccar-server-cbb9886e129b1e938be755558c020fbc7368cc04.zip
Update mobile view layout
Diffstat (limited to 'web/app')
-rw-r--r--web/app/view/main/MainMobile.js16
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
}]
-
});