diff options
author | Abyss777 <abyss@fox5.ru> | 2017-03-25 10:08:52 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-03-25 10:08:52 +0500 |
commit | 27f3933f86a1645f700fbdafa96e0b03e7c82670 (patch) | |
tree | 4e8bfdc028cd27fe1fb4a81e6fc04f6950fe181b /web/app/view/Users.js | |
parent | d68f47ef27eb6afc28444f2e7e0a8310ae4f25b5 (diff) | |
download | trackermap-web-27f3933f86a1645f700fbdafa96e0b03e7c82670.tar.gz trackermap-web-27f3933f86a1645f700fbdafa96e0b03e7c82670.tar.bz2 trackermap-web-27f3933f86a1645f700fbdafa96e0b03e7c82670.zip |
- Save state of State panel
- Add filter for Users email
Diffstat (limited to 'web/app/view/Users.js')
-rw-r--r-- | web/app/view/Users.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/web/app/view/Users.js b/web/app/view/Users.js index 6b29f401..96fe96fb 100644 --- a/web/app/view/Users.js +++ b/web/app/view/Users.js @@ -21,6 +21,7 @@ Ext.define('Traccar.view.Users', { xtype: 'usersView', requires: [ + 'Ext.grid.filters.Filters', 'Traccar.view.UsersController', 'Traccar.view.EditToolbar' ], @@ -28,6 +29,8 @@ Ext.define('Traccar.view.Users', { controller: 'users', store: 'Users', + plugins: 'gridfilters', + tbar: { xtype: 'editToolbar', items: [{ @@ -89,11 +92,20 @@ Ext.define('Traccar.view.Users', { dataIndex: 'name' }, { text: Strings.userEmail, - dataIndex: 'email' + dataIndex: 'email', + filter: 'string' }, { text: Strings.userAdmin, dataIndex: 'admin' }, { + text: Strings.serverReadonly, + dataIndex: 'readonly', + hidden: true + }, { + text: Strings.userDeviceReadonly, + dataIndex: 'deviceReadonly', + hidden: true + }, { text: Strings.userDisabled, dataIndex: 'disabled' }, { |