aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/main
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/main')
-rw-r--r--web/app/view/main/Main.js19
1 files changed, 17 insertions, 2 deletions
diff --git a/web/app/view/main/Main.js b/web/app/view/main/Main.js
index d6a350785..e7dc5f83c 100644
--- a/web/app/view/main/Main.js
+++ b/web/app/view/main/Main.js
@@ -19,6 +19,7 @@ Ext.define('Traccar.view.main.Main', {
requires: [
'Traccar.view.device.Device',
+ 'Traccar.view.state.State',
'Traccar.view.report.Report',
'Traccar.view.map.Map'
],
@@ -32,8 +33,22 @@ Ext.define('Traccar.view.main.Main', {
items: [{
region:'west',
- xtype: 'device-view',
- width: styles.device_width
+ layout: 'border',
+ width: styles.device_width,
+ header: false,
+ defaults: {
+ split: true
+ },
+ items: [{
+ collapsible: false,
+ region: 'center',
+ xtype: 'device-view',
+ flex: 1
+ }, {
+ region: 'south',
+ xtype: 'state-view',
+ flex: 1
+ }]
}, {
region: 'south',
xtype: 'report-view',