diff options
author | Abyss777 <abyss@fox5.ru> | 2017-10-17 17:02:47 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-10-17 17:02:47 +0500 |
commit | 41a18fef939d249ae5ed9ac4ae35c0a4e5ed8770 (patch) | |
tree | e405165239075265962fee36ec3d2289f3d98b1a /web/app/view/permissions | |
parent | 531f9d5c556e9795b32099587bfa84f3b74017c4 (diff) | |
download | trackermap-web-41a18fef939d249ae5ed9ac4ae35c0a4e5ed8770.tar.gz trackermap-web-41a18fef939d249ae5ed9ac4ae35c0a4e5ed8770.tar.bz2 trackermap-web-41a18fef939d249ae5ed9ac4ae35c0a4e5ed8770.zip |
Implement base Grid Panel class with common configs
Diffstat (limited to 'web/app/view/permissions')
-rw-r--r-- | web/app/view/permissions/Base.js | 2 | ||||
-rw-r--r-- | web/app/view/permissions/Calendars.js | 6 | ||||
-rw-r--r-- | web/app/view/permissions/ComputedAttributes.js | 6 | ||||
-rw-r--r-- | web/app/view/permissions/Devices.js | 3 | ||||
-rw-r--r-- | web/app/view/permissions/Drivers.js | 6 | ||||
-rw-r--r-- | web/app/view/permissions/Geofences.js | 6 | ||||
-rw-r--r-- | web/app/view/permissions/Groups.js | 3 | ||||
-rw-r--r-- | web/app/view/permissions/Notifications.js | 6 | ||||
-rw-r--r-- | web/app/view/permissions/SavedCommands.js | 6 |
9 files changed, 1 insertions, 43 deletions
diff --git a/web/app/view/permissions/Base.js b/web/app/view/permissions/Base.js index 2b07d84c..57017531 100644 --- a/web/app/view/permissions/Base.js +++ b/web/app/view/permissions/Base.js @@ -16,7 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ Ext.define('Traccar.view.permissions.Base', { - extend: 'Ext.grid.Panel', + extend: 'Traccar.view.GridPanel', requires: [ 'Traccar.view.permissions.BaseController' diff --git a/web/app/view/permissions/Calendars.js b/web/app/view/permissions/Calendars.js index ff2796bb..3d08efca 100644 --- a/web/app/view/permissions/Calendars.js +++ b/web/app/view/permissions/Calendars.js @@ -20,12 +20,6 @@ Ext.define('Traccar.view.permissions.Calendars', { extend: 'Traccar.view.permissions.Base', xtype: 'linkCalendarsView', - requires: [ - 'Ext.grid.filters.Filters' - ], - - plugins: 'gridfilters', - columns: { items: [{ text: Strings.sharedName, diff --git a/web/app/view/permissions/ComputedAttributes.js b/web/app/view/permissions/ComputedAttributes.js index 800717ce..19af72ad 100644 --- a/web/app/view/permissions/ComputedAttributes.js +++ b/web/app/view/permissions/ComputedAttributes.js @@ -20,12 +20,6 @@ Ext.define('Traccar.view.permissions.ComputedAttributes', { extend: 'Traccar.view.permissions.Base', xtype: 'linkComputedAttributesView', - requires: [ - 'Ext.grid.filters.Filters' - ], - - plugins: 'gridfilters', - columns: { items: [{ text: Strings.sharedDescription, diff --git a/web/app/view/permissions/Devices.js b/web/app/view/permissions/Devices.js index 4cadafe4..d120eacb 100644 --- a/web/app/view/permissions/Devices.js +++ b/web/app/view/permissions/Devices.js @@ -20,12 +20,9 @@ Ext.define('Traccar.view.permissions.Devices', { xtype: 'linkDevicesView', requires: [ - 'Ext.grid.filters.Filters', 'Traccar.AttributeFormatter' ], - plugins: 'gridfilters', - columns: { items: [{ text: Strings.sharedName, diff --git a/web/app/view/permissions/Drivers.js b/web/app/view/permissions/Drivers.js index f0ea2890..33cf2f76 100644 --- a/web/app/view/permissions/Drivers.js +++ b/web/app/view/permissions/Drivers.js @@ -20,12 +20,6 @@ Ext.define('Traccar.view.permissions.Drivers', { extend: 'Traccar.view.permissions.Base', xtype: 'linkDriversView', - requires: [ - 'Ext.grid.filters.Filters' - ], - - plugins: 'gridfilters', - columns: { items: [{ text: Strings.sharedName, diff --git a/web/app/view/permissions/Geofences.js b/web/app/view/permissions/Geofences.js index 84135d3b..efdf18da 100644 --- a/web/app/view/permissions/Geofences.js +++ b/web/app/view/permissions/Geofences.js @@ -19,12 +19,6 @@ Ext.define('Traccar.view.permissions.Geofences', { extend: 'Traccar.view.permissions.Base', xtype: 'linkGeofencesView', - requires: [ - 'Ext.grid.filters.Filters' - ], - - plugins: 'gridfilters', - columns: { items: [{ text: Strings.sharedName, diff --git a/web/app/view/permissions/Groups.js b/web/app/view/permissions/Groups.js index d3cad98e..91a639c0 100644 --- a/web/app/view/permissions/Groups.js +++ b/web/app/view/permissions/Groups.js @@ -20,12 +20,9 @@ Ext.define('Traccar.view.permissions.Groups', { xtype: 'linkGroupsView', requires: [ - 'Ext.grid.filters.Filters', 'Traccar.AttributeFormatter' ], - plugins: 'gridfilters', - columns: { items: [{ text: Strings.sharedName, diff --git a/web/app/view/permissions/Notifications.js b/web/app/view/permissions/Notifications.js index 6538e67d..9386d6d6 100644 --- a/web/app/view/permissions/Notifications.js +++ b/web/app/view/permissions/Notifications.js @@ -20,12 +20,6 @@ Ext.define('Traccar.view.permissions.Notifications', { extend: 'Traccar.view.permissions.Base', xtype: 'linkNotificationsView', - requires: [ - 'Ext.grid.filters.Filters' - ], - - plugins: 'gridfilters', - columns: { items: [{ text: Strings.notificationType, diff --git a/web/app/view/permissions/SavedCommands.js b/web/app/view/permissions/SavedCommands.js index 106fad52..52b759bb 100644 --- a/web/app/view/permissions/SavedCommands.js +++ b/web/app/view/permissions/SavedCommands.js @@ -20,12 +20,6 @@ Ext.define('Traccar.view.permissions.SavedCommands', { extend: 'Traccar.view.permissions.Base', xtype: 'linkSavedCommandsView', - requires: [ - 'Ext.grid.filters.Filters' - ], - - plugins: 'gridfilters', - columns: { items: [{ text: Strings.sharedDescription, |