aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/admin
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/admin
parentf449d805a01e709b06c4b06e6dcb35d1651f73ad (diff)
downloadtrackermap-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.tar.gz
trackermap-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.tar.bz2
trackermap-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.zip
Add server and user attributes
Diffstat (limited to 'web/app/view/admin')
-rw-r--r--web/app/view/admin/ServerDialog.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/app/view/admin/ServerDialog.js b/web/app/view/admin/ServerDialog.js
index 12170dc03..de3efd6fa 100644
--- a/web/app/view/admin/ServerDialog.js
+++ b/web/app/view/admin/ServerDialog.js
@@ -44,6 +44,20 @@ Ext.define('Traccar.view.admin.ServerDialog', {
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