aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/admin
diff options
context:
space:
mode:
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