aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Report.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-12-27 09:48:42 +0500
committerAbyss777 <abyss@fox5.ru>2016-12-27 09:48:42 +0500
commit187e8dc8ce48aa2c4d70fe7bddbc234cbab94950 (patch)
treef3d15bfcc80146b7f03f2c84829ac4349e25751e /web/app/view/Report.js
parent557ffa7f106e44a09a99746dcd8e4f369ea4730d (diff)
downloadtrackermap-web-187e8dc8ce48aa2c4d70fe7bddbc234cbab94950.tar.gz
trackermap-web-187e8dc8ce48aa2c4d70fe7bddbc234cbab94950.tar.bz2
trackermap-web-187e8dc8ce48aa2c4d70fe7bddbc234cbab94950.zip
- use 'card' layout
- use functions instead of fields
Diffstat (limited to 'web/app/view/Report.js')
-rw-r--r--web/app/view/Report.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/web/app/view/Report.js b/web/app/view/Report.js
index bc78fe07..4a4c992c 100644
--- a/web/app/view/Report.js
+++ b/web/app/view/Report.js
@@ -67,9 +67,7 @@ Ext.define('Traccar.view.Report', {
}]
},
- layout: {
- type: 'fit'
- },
+ layout: 'card',
items: [{
xtype: 'grid',
@@ -77,9 +75,7 @@ Ext.define('Traccar.view.Report', {
listeners: {
selectionchange: 'onSelectionChange'
},
- hidden: true,
forceFit: true,
- flex: 1,
columns: {
defaults: {
minWidth: Traccar.Style.columnWidthNormal
@@ -95,9 +91,6 @@ Ext.define('Traccar.view.Report', {
ptype: 'chartitemevents',
moveEvents: true
},
- hidden: true,
- forceFit: true,
- flex: 1,
store: 'ReportRoute',
axes: [{
title: Strings.reportCharts,