aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialog.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-01-24 18:41:27 +0500
committerAbyss777 <abyss@fox5.ru>2017-01-26 11:42:25 +0500
commit048065b76ac3528a8fa802367aa2750c22487f6c (patch)
treec84414b2421b906d970d2a22549249629700f025 /web/app/view/UserDialog.js
parent6171c7275a32c3ad9653aafaf673ab93254c8d1a (diff)
downloadetbsa-traccar-web-048065b76ac3528a8fa802367aa2750c22487f6c.tar.gz
etbsa-traccar-web-048065b76ac3528a8fa802367aa2750c22487f6c.tar.bz2
etbsa-traccar-web-048065b76ac3528a8fa802367aa2750c22487f6c.zip
- Polish permissions
- Makeup imports
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r--web/app/view/UserDialog.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 8ab3f6b..34c3b4a 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -145,11 +145,18 @@ Ext.define('Traccar.view.UserDialog', {
disabled: true,
reference: 'userLimitField'
}, {
+ xtype: 'checkboxfield',
+ inputValue: true,
+ uncheckedValue: false,
+ name: 'deviceReadonly',
+ fieldLabel: Strings.userDeviceReadonly,
+ disabled: true,
+ reference: 'deviceReadonlyField'
+ }, {
xtype: 'textfield',
name: 'token',
reference: 'tokenField',
fieldLabel: Strings.userToken,
- disabled: true,
triggers: {
generate: {
cls: 'iconCls: x-fa fa-refresh',