From 71ba0f70031fad0f7bfbf67757e6bd20a052d29a Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 15 Feb 2018 11:51:53 +0800 Subject: [PATCH] Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- Pman.Dialog.VerifyAccess.bjs | 54 -------------------------- Pman.Dialog.VerifyAccess.js | 74 ------------------------------------ 2 files changed, 128 deletions(-) diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index e355bb88..8f825f19 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -9,9 +9,7 @@ "e2c9d024b79dfb48b42a7807206c6aed" : "Verify New IP Access", "d41d8cd98f00b204e9800998ecf8427e" : "", "f6039d44b29456b20f8f373155ae4973" : "Username", - "51eea3dc60ae3a0b1bb8188bc6337dc2" : "enter password", "dfb790522fdea3859af206d32916fe77" : "User Agent", - "1849ffc8731b5e74ae6157c91ba73575" : "Please confirm your password", "d71940f24ee38ee09f6e06b908480bcf" : "Resend email", "14cf5e829f5cb6fbf8cb54f7c5ff4ca9" : "Start the application process " }, @@ -53,7 +51,6 @@ "Boolean readOnly" : true, "xtype" : "Input", "string fieldLabel" : "Username", - "String labelAlign" : "top", "$ xns" : "Roo.bootstrap" } ] @@ -83,57 +80,6 @@ } ] }, - { - "listeners" : { - "render" : "function (_self)\n{\n _this.row_pwd1 = _self;\n}" - }, - "xtype" : "Row", - "$ xns" : "Roo.bootstrap", - "items" : [ - { - "xtype" : "Column", - "Number xs" : 12, - "$ xns" : "Roo.bootstrap", - "items" : [ - { - "Boolean allowBlank" : false, - "String name" : "password", - "xtype" : "SecurePass", - "String labelAlign" : "top", - "string placeholder" : "enter password", - "String inputType" : "password", - "$ xns" : "Roo.bootstrap" - } - ] - } - ] - }, - { - "listeners" : { - "render" : "function (_self)\n{\n _this.row_pwd2 = _self;\n}" - }, - "xtype" : "Row", - "$ xns" : "Roo.bootstrap", - "items" : [ - { - "xtype" : "Column", - "Number xs" : 12, - "$ xns" : "Roo.bootstrap", - "items" : [ - { - "Boolean allowBlank" : false, - "string invalidText" : "The passwords you entered do not match", - "String name" : "password1", - "xtype" : "Input", - "string placeholder" : "Please confirm your password", - "String inputType" : "password", - "$ xns" : "Roo.bootstrap", - "$ Function validator" : "function(v){\n \n if(_this.form.findField('password').getValue() == v) {\n \n return true;\n }\n \n return false;\n}" - } - ] - } - ] - }, { "xtype" : "Row", "$ xns" : "Roo.bootstrap", diff --git a/Pman.Dialog.VerifyAccess.js b/Pman.Dialog.VerifyAccess.js index 08655db2..95c323c2 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -11,9 +11,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { 'e2c9d024b79dfb48b42a7807206c6aed' :"Verify New IP Access", 'd41d8cd98f00b204e9800998ecf8427e' :"", 'f6039d44b29456b20f8f373155ae4973' :"Username", - '51eea3dc60ae3a0b1bb8188bc6337dc2' :"enter password", 'dfb790522fdea3859af206d32916fe77' :"User Agent", - '1849ffc8731b5e74ae6157c91ba73575' :"Please confirm your password", 'd71940f24ee38ee09f6e06b908480bcf' :"Resend email", '14cf5e829f5cb6fbf8cb54f7c5ff4ca9' :"Start the application process " }, @@ -235,7 +233,6 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { { xtype : 'Input', fieldLabel : _this._strings['f6039d44b29456b20f8f373155ae4973'] /* Username */, - labelAlign : 'top', name : 'email', readOnly : true, xns : Roo.bootstrap, @@ -274,77 +271,6 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { } ] }, - { - xtype : 'Row', - listeners : { - render : function (_self) - { - _this.row_pwd1 = _self; - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ - { - xtype : 'Column', - xs : 12, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ - { - xtype : 'SecurePass', - allowBlank : false, - inputType : 'password', - labelAlign : 'top', - name : 'password', - placeholder : _this._strings['51eea3dc60ae3a0b1bb8188bc6337dc2'] /* enter password */, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap' - } - ] - } - ] - }, - { - xtype : 'Row', - listeners : { - render : function (_self) - { - _this.row_pwd2 = _self; - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ - { - xtype : 'Column', - xs : 12, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ - { - xtype : 'Input', - allowBlank : false, - inputType : 'password', - invalidText : 'The passwords you entered do not match', - name : 'password1', - placeholder : _this._strings['1849ffc8731b5e74ae6157c91ba73575'] /* Please confirm your password */, - validator : function(v){ - - if(_this.form.findField('password').getValue() == v) { - - return true; - } - - return false; - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap' - } - ] - } - ] - }, { xtype : 'Row', xns : Roo.bootstrap, -- 2.39.2