diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-21 14:17:32 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-21 14:17:32 +1300 |
commit | e3de74167439ffdcad30ba1c5a716839b0df289c (patch) | |
tree | ed3973d317ddd5bc056202db952807542f905cc0 /web/app/view | |
parent | 524c64e5bac499a27b2ae9551e579f22b5dadb53 (diff) | |
parent | c93a38390de2b8a4f1e972ba49a5d73f53543b49 (diff) | |
download | etbsa-traccar-web-e3de74167439ffdcad30ba1c5a716839b0df289c.tar.gz etbsa-traccar-web-e3de74167439ffdcad30ba1c5a716839b0df289c.tar.bz2 etbsa-traccar-web-e3de74167439ffdcad30ba1c5a716839b0df289c.zip |
Merge pull request #304 from Abyss777/device_management_info
Edit and show device management info
Diffstat (limited to 'web/app/view')
-rw-r--r-- | web/app/view/DeviceDialog.js | 12 | ||||
-rw-r--r-- | web/app/view/Devices.js | 15 |
2 files changed, 27 insertions, 0 deletions
diff --git a/web/app/view/DeviceDialog.js b/web/app/view/DeviceDialog.js index 69f1ceb..ab602b8 100644 --- a/web/app/view/DeviceDialog.js +++ b/web/app/view/DeviceDialog.js @@ -45,6 +45,18 @@ Ext.define('Traccar.view.DeviceDialog', { queryMode: 'local', displayField: 'name', valueField: 'id' + }, { + xtype: 'textfield', + name: 'phone', + fieldLabel: Strings.devicePhone + }, { + xtype: 'textfield', + name: 'model', + fieldLabel: Strings.deviceModel + }, { + xtype: 'textfield', + name: 'contact', + fieldLabel: Strings.deviceContact }] } }); diff --git a/web/app/view/Devices.js b/web/app/view/Devices.js index 02f92ea..2203052 100644 --- a/web/app/view/Devices.js +++ b/web/app/view/Devices.js @@ -156,6 +156,21 @@ Ext.define('Traccar.view.Devices', { hidden: true, flex: 1 }, { + text: Strings.devicePhone, + dataIndex: 'phone', + hidden: true, + flex: 1 + }, { + text: Strings.deviceModel, + dataIndex: 'model', + hidden: true, + flex: 1 + }, { + text: Strings.deviceContact, + dataIndex: 'contact', + hidden: true, + flex: 1 + }, { text: Strings.deviceLastUpdate, dataIndex: 'lastUpdate', flex: 1, |