aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 12:04:24 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 12:04:24 +1300
commit8460acbc69ab19f35fd5079ab615ea11a6a09675 (patch)
tree1e5e350ae6fa9fa9865ffceeef6ab10869b996be /web/app/view
parent1c4aba3129d01a2dc982d1a6f0bed0a05f3f0a79 (diff)
downloadtrackermap-server-8460acbc69ab19f35fd5079ab615ea11a6a09675.tar.gz
trackermap-server-8460acbc69ab19f35fd5079ab615ea11a6a09675.tar.bz2
trackermap-server-8460acbc69ab19f35fd5079ab615ea11a6a09675.zip
Move device panel class
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/Device.js (renamed from web/app/view/device/Device.js)4
-rw-r--r--web/app/view/DeviceController.js (renamed from web/app/view/device/DeviceController.js)3
-rw-r--r--web/app/view/Main.js3
-rw-r--r--web/app/view/MainMobile.js3
-rw-r--r--web/app/view/login/Login.js1
5 files changed, 9 insertions, 5 deletions
diff --git a/web/app/view/device/Device.js b/web/app/view/Device.js
index d77f405bd..de2c7ed4c 100644
--- a/web/app/view/device/Device.js
+++ b/web/app/view/Device.js
@@ -14,12 +14,12 @@
* limitations under the License.
*/
-Ext.define('Traccar.view.device.Device', {
+Ext.define('Traccar.view.Device', {
extend: 'Ext.grid.Panel',
xtype: 'deviceView',
requires: [
- 'Traccar.view.device.DeviceController'
+ 'Traccar.view.DeviceController'
],
controller: 'device',
diff --git a/web/app/view/device/DeviceController.js b/web/app/view/DeviceController.js
index e2e82448d..e315d6f8d 100644
--- a/web/app/view/device/DeviceController.js
+++ b/web/app/view/DeviceController.js
@@ -14,12 +14,13 @@
* limitations under the License.
*/
-Ext.define('Traccar.view.device.DeviceController', {
+Ext.define('Traccar.view.DeviceController', {
extend: 'Ext.app.ViewController',
alias: 'controller.device',
requires: [
'Traccar.view.CommandDialog',
+ 'Traccar.view.DeviceDialog',
'Traccar.view.user.UserDialog',
'Traccar.view.user.User',
'Traccar.view.login.LoginController'
diff --git a/web/app/view/Main.js b/web/app/view/Main.js
index 814e5c1d5..958042542 100644
--- a/web/app/view/Main.js
+++ b/web/app/view/Main.js
@@ -16,9 +16,10 @@
Ext.define('Traccar.view.Main', {
extend: 'Ext.container.Viewport',
+ alias: 'widget.main',
requires: [
- 'Traccar.view.device.Device',
+ 'Traccar.view.Device',
'Traccar.view.state.State',
'Traccar.view.report.Report',
'Traccar.view.map.Map'
diff --git a/web/app/view/MainMobile.js b/web/app/view/MainMobile.js
index dc39a037c..310f3a872 100644
--- a/web/app/view/MainMobile.js
+++ b/web/app/view/MainMobile.js
@@ -16,9 +16,10 @@
Ext.define('Traccar.view.MainMobile', {
extend: 'Ext.container.Viewport',
+ alias: 'widget.mainMobile',
requires: [
- 'Traccar.view.device.Device',
+ 'Traccar.view.Device',
'Traccar.view.state.State',
'Traccar.view.map.Map'
],
diff --git a/web/app/view/login/Login.js b/web/app/view/login/Login.js
index fc1e749d1..a2d53fdf1 100644
--- a/web/app/view/login/Login.js
+++ b/web/app/view/login/Login.js
@@ -16,6 +16,7 @@
Ext.define('Traccar.view.login.Login', {
extend: 'Ext.window.Window',
+ alias: 'widget.login',
requires: [
'Traccar.view.login.LoginController'