aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-07 16:41:46 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-07 16:41:46 +1200
commit4a91ebb7535b8e199b8c9cce041757eeedd350ce (patch)
tree2a02d2937732ba6960cf1c834192d43abbec4597 /web/app/view/main
parent1680d3d0234d9d1e2152e644882a9c1fb39a8a47 (diff)
downloadtrackermap-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.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',