From 4a91ebb7535b8e199b8c9cce041757eeedd350ce Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 7 Jun 2015 16:41:46 +1200 Subject: Add device status panel --- web/app/view/main/Main.js | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'web/app/view/main') 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', -- cgit v1.2.3