aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/user/UserDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 20:39:14 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 20:39:14 +1300
commitd16121684ecae7646aa87616a64d60978d087bc0 (patch)
tree69a02f798950bc9ee54e33cdf8ae09fed40168e4 /web/app/view/user/UserDialog.js
parent8782eeec561e490b4262ba8983e69623daaf5845 (diff)
downloadtrackermap-server-d16121684ecae7646aa87616a64d60978d087bc0.tar.gz
trackermap-server-d16121684ecae7646aa87616a64d60978d087bc0.tar.bz2
trackermap-server-d16121684ecae7646aa87616a64d60978d087bc0.zip
Move remaining classes to view
Diffstat (limited to 'web/app/view/user/UserDialog.js')
-rw-r--r--web/app/view/user/UserDialog.js99
1 files changed, 0 insertions, 99 deletions
diff --git a/web/app/view/user/UserDialog.js b/web/app/view/user/UserDialog.js
deleted file mode 100644
index d1bc68f96..000000000
--- a/web/app/view/user/UserDialog.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-Ext.define('Traccar.view.user.UserDialog', {
- extend: 'Ext.window.Window',
-
- requires: [
- 'Traccar.view.user.UserDialogController'
- ],
-
- controller: 'userDialog',
-
- bodyPadding: styles.panelPadding,
- title: strings.settingsUser,
- resizable: false,
- modal: true,
-
- items: {
- xtype: 'form',
- items: [{
- xtype: 'textfield',
- name: 'name',
- fieldLabel: strings.userName
- }, {
- xtype: 'textfield',
- name: 'email',
- fieldLabel: strings.userEmail,
- allowBlank: false
- }, {
- xtype: 'textfield',
- name: 'password',
- fieldLabel: strings.userPassword,
- inputType: 'password',
- allowBlank: false
- }, {
- xtype: 'checkboxfield',
- name: 'admin',
- fieldLabel: strings.userAdmin,
- allowBlank: false,
- disabled: true,
- reference: 'adminField'
- }, {
- xtype: 'combobox',
- name: 'map',
- fieldLabel: strings.mapLayer,
- store: 'MapTypes',
- displayField: 'name',
- valueField: 'key'
- }, {
- xtype: 'combobox',
- name: 'distanceUnit',
- fieldLabel: strings.settingsDistanceUnit,
- store: 'DistanceUnits',
- displayField: 'name',
- valueField: 'key'
- }, {
- xtype: 'combobox',
- name: 'speedUnit',
- fieldLabel: strings.settingsSpeedUnit,
- store: 'SpeedUnits',
- displayField: 'name',
- valueField: 'key'
- }, {
- xtype: 'numberfield',
- name: 'latitude',
- fieldLabel: strings.positionLatitude
- }, {
- xtype: 'numberfield',
- name: 'longitude',
- fieldLabel: strings.positionLongitude
- }, {
- xtype: 'numberfield',
- name: 'zoom',
- fieldLabel: strings.serverZoom
- }]
- },
-
- buttons: [{
- text: strings.sharedSave,
- handler: 'onSaveClick'
- }, {
- text: strings.sharedCancel,
- handler: 'onCancelClick'
- }]
-
-});