diff options
author | Abyss777 <abyss@fox5.ru> | 2016-08-29 17:16:22 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-08-29 17:16:22 +0500 |
commit | 9829184c5f941fd32d9d6c351dbdd113f00d352d (patch) | |
tree | 7d5c125f93c381451f1bc1842e176c6968f20751 /web/app/view/Report.js | |
parent | e65a701cb52ec0b5a32228b4f922cdc1a0a6fd6a (diff) | |
download | traccar-server-9829184c5f941fd32d9d6c351dbdd113f00d352d.tar.gz traccar-server-9829184c5f941fd32d9d6c351dbdd113f00d352d.tar.bz2 traccar-server-9829184c5f941fd32d9d6c351dbdd113f00d352d.zip |
Implemented "Configure" dialog for reports
Diffstat (limited to 'web/app/view/Report.js')
-rw-r--r-- | web/app/view/Report.js | 41 |
1 files changed, 2 insertions, 39 deletions
diff --git a/web/app/view/Report.js b/web/app/view/Report.js index 2ce9137ee..161ac4c64 100644 --- a/web/app/view/Report.js +++ b/web/app/view/Report.js @@ -41,45 +41,8 @@ Ext.define('Traccar.view.Report', { change: 'onTypeChange' } }, '-', { - xtype: 'tbtext', - html: Strings.reportDevice - }, { - xtype: 'tagfield', - maxWidth: Traccar.Style.maxTagfieldWidth, - growMax: Traccar.Style.maxTagfieldGrow, - reference: 'deviceField', - store: 'Devices', - valueField: 'id', - displayField: 'name', - queryMode: 'local' - }, '-', { - xtype: 'tbtext', - html: Strings.reportFrom - }, { - xtype: 'datefield', - reference: 'fromDateField', - startDay: Traccar.Style.weekStartDay, - format: Traccar.Style.dateFormat, - value: new Date(new Date().getTime() - 30 * 60 * 1000) - }, { - xtype: 'customTimeField', - reference: 'fromTimeField', - maxWidth: Traccar.Style.reportTime, - value: new Date(new Date().getTime() - 30 * 60 * 1000) - }, '-', { - xtype: 'tbtext', - html: Strings.reportTo - }, { - xtype: 'datefield', - reference: 'toDateField', - startDay: Traccar.Style.weekStartDay, - format: Traccar.Style.dateFormat, - value: new Date() - }, { - xtype: 'customTimeField', - reference: 'toTimeField', - maxWidth: Traccar.Style.reportTime, - value: new Date() + text: Strings.reportConfigure, + handler: 'onConfigureClick' }, '-', { text: Strings.reportShow, reference: 'showButton', |