aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Login.js
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-08-01 17:29:54 +0300
committerninioe <ninioe@gmail.com>2016-08-01 17:29:54 +0300
commit5b526f60f29b222a3269547ac938ab512d1ba4d6 (patch)
treed1f1480f3bb2d93614f1e89188107b81ee35d01a /web/app/view/Login.js
parent94781fa3ba35e494e309aee19a5e15c14d3193c1 (diff)
downloadtrackermap-server-5b526f60f29b222a3269547ac938ab512d1ba4d6.tar.gz
trackermap-server-5b526f60f29b222a3269547ac938ab512d1ba4d6.tar.bz2
trackermap-server-5b526f60f29b222a3269547ac938ab512d1ba4d6.zip
added remember me checkbox at login
Diffstat (limited to 'web/app/view/Login.js')
-rw-r--r--web/app/view/Login.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/app/view/Login.js b/web/app/view/Login.js
index 4f04a0f37..085f853be 100644
--- a/web/app/view/Login.js
+++ b/web/app/view/Login.js
@@ -54,6 +54,7 @@ Ext.define('Traccar.view.Login', {
}, {
xtype: 'textfield',
name: 'email',
+ id: 'txtUser',
fieldLabel: Strings.userEmail,
allowBlank: false,
enableKeyEvents: true,
@@ -65,6 +66,7 @@ Ext.define('Traccar.view.Login', {
}, {
xtype: 'textfield',
name: 'password',
+ id: 'txtPassword',
fieldLabel: Strings.userPassword,
inputType: 'password',
allowBlank: false,
@@ -74,6 +76,10 @@ Ext.define('Traccar.view.Login', {
},
inputAttrTpl: ['autocomplete="on"']
}, {
+ xtype: 'checkboxfield',
+ id: 'chkRememberMe',
+ fieldLabel: Strings.rememberMe
+ }, {
xtype: 'component',
html: '<iframe id="submitTarget" name="submitTarget" style="display:none"></iframe>'
}, {