1
0
Fork 0
mirror of https://github.com/dducret/kopano-webapp-passwd synced 2026-08-05 06:52:39 +02:00

Improved UI, added password strength meter, frontend checks and an password change icon.

This commit is contained in:
Christoph Haas 2015-05-20 01:39:42 +02:00
commit 33d35759a3
11 changed files with 281 additions and 185 deletions

View file

@ -30,26 +30,30 @@ Zarafa.plugins.passwd.settings.PasswdPanel = Ext.extend(Ext.form.FormPanel, {
}, {
xtype : 'textfield',
name : 'current_password',
ref : 'current_password',
fieldLabel : dgettext("plugin_passwd", 'Current password'),
inputType : 'password',
allowBlank : false,
listeners : {
change : this.onFieldChange,
scope : this
}
}, {
xtype : 'textfield',
xtype : 'ux.passwordmeterfield',
name : 'new_password',
ref : 'new_password',
allowBlank : false,
fieldLabel : dgettext("plugin_passwd", 'New password'),
inputType : 'password',
listeners : {
change : this.onFieldChange,
scope : this
}
}, {
xtype : 'textfield',
xtype : 'ux.passwordmeterfield',
name : 'new_password_repeat',
allowBlank : false,
ref : 'new_password_repeat',
fieldLabel : dgettext("plugin_passwd", 'Retype new password'),
inputType : 'password',
listeners : {
change : this.onFieldChange,
scope : this