diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-25 19:05:33 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-25 19:05:33 +1200 |
commit | 87156d38c250abd9a1cba9b9af289d5ff0acb075 (patch) | |
tree | d13f72cffc3c6b4ba06a43b68f91a536c58f8fc0 /web/app/view/user/UserDialog.js | |
parent | f449d805a01e709b06c4b06e6dcb35d1651f73ad (diff) | |
download | trackermap-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.tar.gz trackermap-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.tar.bz2 trackermap-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.zip |
Add server and user attributes
Diffstat (limited to 'web/app/view/user/UserDialog.js')
-rw-r--r-- | web/app/view/user/UserDialog.js | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/web/app/view/user/UserDialog.js b/web/app/view/user/UserDialog.js index 3db21de6c..67bf2ccf1 100644 --- a/web/app/view/user/UserDialog.js +++ b/web/app/view/user/UserDialog.js @@ -53,6 +53,39 @@ Ext.define('Traccar.view.user.UserDialog', { allowBlank: false, disabled: true, reference: 'adminField' + }, { + xtype: 'combobox', + name: 'map', + fieldLabel: strings.map_layer, + store: 'MapTypes', + displayField: 'name', + valueField: 'key' + }, { + xtype: 'combobox', + name: 'distanceUnit', + fieldLabel: strings.settings_distance_unit, + store: 'DistanceUnits', + displayField: 'name', + valueField: 'key' + }, { + xtype: 'combobox', + name: 'speedUnit', + fieldLabel: strings.settings_speed_unit, + store: 'SpeedUnits', + displayField: 'name', + valueField: 'key' + }, { + xtype: 'numberfield', + name: 'latitude', + fieldLabel: strings.position_latitude + }, { + xtype: 'numberfield', + name: 'longitude', + fieldLabel: strings.position_longitude + }, { + xtype: 'numberfield', + name: 'zoom', + fieldLabel: strings.server_zoom }] }, |