From 375de0803d0e7b6289047f70863137007f90a2e8 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 13 Mar 2017 17:35:52 +0500 Subject: Implement Timezone field --- web/app/view/ServerDialog.js | 8 ++++++++ web/app/view/UserDialog.js | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'web/app/view') diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js index e5021b5f..bba5e729 100644 --- a/web/app/view/ServerDialog.js +++ b/web/app/view/ServerDialog.js @@ -101,6 +101,14 @@ Ext.define('Traccar.view.ServerDialog', { displayField: 'name', valueField: 'key', editable: false + }, { + xtype: 'combobox', + name: 'timezone', + fieldLabel: Strings.sharedTimezone, + store: 'AllTimezones', + queryMode: 'local', + displayField: 'key', + editable: false }] }, { xtype: 'fieldset', diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index d4235e9e..874f9f00 100644 --- a/web/app/view/UserDialog.js +++ b/web/app/view/UserDialog.js @@ -111,6 +111,14 @@ Ext.define('Traccar.view.UserDialog', { displayField: 'name', valueField: 'key', editable: false + }, { + xtype: 'combobox', + name: 'timezone', + fieldLabel: Strings.sharedTimezone, + store: 'AllTimezones', + queryMode: 'local', + displayField: 'key', + editable: false }] }, { xtype: 'fieldset', -- cgit v1.2.3