aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/user
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-25 19:05:33 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-25 19:05:33 +1200
commit87156d38c250abd9a1cba9b9af289d5ff0acb075 (patch)
treed13f72cffc3c6b4ba06a43b68f91a536c58f8fc0 /web/app/view/user
parentf449d805a01e709b06c4b06e6dcb35d1651f73ad (diff)
downloadtraccar-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.tar.gz
traccar-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.tar.bz2
traccar-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.zip
Add server and user attributes
Diffstat (limited to 'web/app/view/user')
-rw-r--r--web/app/view/user/UserDialog.js33
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
}]
},