aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 17:17:27 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 17:17:27 +1300
commit4966403aab46912dd29b8385b6050e95c47c295f (patch)
tree28b71a74e278274170fb7cbb13587f1fcd1dc26a /web/app/view
parentfc408a9ad93ebef686453be0d6565a5e630bf476 (diff)
downloadtrackermap-web-4966403aab46912dd29b8385b6050e95c47c295f.tar.gz
trackermap-web-4966403aab46912dd29b8385b6050e95c47c295f.tar.bz2
trackermap-web-4966403aab46912dd29b8385b6050e95c47c295f.zip
Add various coordinate formats
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/ServerDialog.js8
-rw-r--r--web/app/view/UserDialog.js8
2 files changed, 16 insertions, 0 deletions
diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js
index 14af1833..c16a75db 100644
--- a/web/app/view/ServerDialog.js
+++ b/web/app/view/ServerDialog.js
@@ -96,6 +96,14 @@ Ext.define('Traccar.view.ServerDialog', {
name: 'forceSettings',
fieldLabel: Strings.serverForceSettings,
allowBlank: false
+ }, {
+ xtype: 'combobox',
+ name: 'coordinateFormat',
+ fieldLabel: Strings.settingsCoordinateFormat,
+ store: 'CoordinateFormats',
+ displayField: 'name',
+ valueField: 'key',
+ editable: false
}]
},
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index f717da72..196032f2 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -102,6 +102,14 @@ Ext.define('Traccar.view.UserDialog', {
name: 'twelveHourFormat',
fieldLabel: Strings.settingsTwelveHourFormat,
allowBlank: false
+ }, {
+ xtype: 'combobox',
+ name: 'coordinateFormat',
+ fieldLabel: Strings.settingsCoordinateFormat,
+ store: 'CoordinateFormats',
+ displayField: 'name',
+ valueField: 'key',
+ editable: false
}]
},