aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}]
-
});