diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-07 16:41:46 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-07 16:41:46 +1200 |
commit | 4a91ebb7535b8e199b8c9cce041757eeedd350ce (patch) | |
tree | 2a02d2937732ba6960cf1c834192d43abbec4597 /web/app/view/main | |
parent | 1680d3d0234d9d1e2152e644882a9c1fb39a8a47 (diff) | |
download | trackermap-server-4a91ebb7535b8e199b8c9cce041757eeedd350ce.tar.gz trackermap-server-4a91ebb7535b8e199b8c9cce041757eeedd350ce.tar.bz2 trackermap-server-4a91ebb7535b8e199b8c9cce041757eeedd350ce.zip |
Add device status panel
Diffstat (limited to 'web/app/view/main')
-rw-r--r-- | web/app/view/main/Main.js | 19 |
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', |