aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-18 09:32:54 +1300
committerGitHub <noreply@github.com>2017-01-18 09:32:54 +1300
commit6171c7275a32c3ad9653aafaf673ab93254c8d1a (patch)
tree49828903f03061e2f72fc35130055927c8a346fc /web/app/view/UserDialog.js
parent4d092d96d6d872096abaf2f9883d2b578c5c8f72 (diff)
parent75828393fd64389be296c95bc67144b0c742cf48 (diff)
downloadetbsa-traccar-web-6171c7275a32c3ad9653aafaf673ab93254c8d1a.tar.gz
etbsa-traccar-web-6171c7275a32c3ad9653aafaf673ab93254c8d1a.tar.bz2
etbsa-traccar-web-6171c7275a32c3ad9653aafaf673ab93254c8d1a.zip
Merge pull request #385 from Abyss777/manager
Implement user management
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r--web/app/view/UserDialog.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 02e7b2f..8ab3f6b 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 Anton Tananaev (anton@traccar.org)
+ * Copyright 2015 - 2017 Anton Tananaev (anton@traccar.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -139,6 +139,12 @@ Ext.define('Traccar.view.UserDialog', {
disabled: true,
reference: 'deviceLimitField'
}, {
+ xtype: 'numberfield',
+ name: 'userLimit',
+ fieldLabel: Strings.userUserLimit,
+ disabled: true,
+ reference: 'userLimitField'
+ }, {
xtype: 'textfield',
name: 'token',
reference: 'tokenField',
@@ -153,6 +159,10 @@ Ext.define('Traccar.view.UserDialog', {
}]
},
+ listeners: {
+ show: 'onShow'
+ },
+
buttons: [{
text: Strings.sharedAttributes,
handler: 'showAttributesView'