From b640a22a660b951327018586f6fa7db8da6ac478 Mon Sep 17 00:00:00 2001 From: Steven Zou Date: Thu, 6 Apr 2017 18:33:00 +0800 Subject: [PATCH 1/2] adjust the size of inputbox in related forms --- .../account/password/forgot-password.component.html | 2 +- .../account/password/password-setting.component.html | 6 +++--- .../shared/about-dialog/about-dialog.component.html | 2 +- .../new-user-form/new-user-form.component.html | 12 ++++++------ 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/ui_ng/src/app/account/password/forgot-password.component.html b/src/ui_ng/src/app/account/password/forgot-password.component.html index d95eeb94f..5f50299e2 100644 --- a/src/ui_ng/src/app/account/password/forgot-password.component.html +++ b/src/ui_ng/src/app/account/password/forgot-password.component.html @@ -12,7 +12,7 @@ required email id="reset_pwd_email" - size="40" + size="30" (input)="handleValidation(true)" (blur)="handleValidation(false)"> diff --git a/src/ui_ng/src/app/account/password/password-setting.component.html b/src/ui_ng/src/app/account/password/password-setting.component.html index 2292585ec..55e396ba5 100644 --- a/src/ui_ng/src/app/account/password/password-setting.component.html +++ b/src/ui_ng/src/app/account/password/password-setting.component.html @@ -11,7 +11,7 @@ required name="oldPassword" [(ngModel)]="oldPwd" - #oldPassInput="ngModel" size="42"> + #oldPassInput="ngModel" size="30"> {{'TOOLTIP.CURRENT_PWD' | translate}} @@ -25,7 +25,7 @@ pattern="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{8,20}$" name="newPassword" [(ngModel)]="newPwd" - #newPassInput="ngModel" size="42" + #newPassInput="ngModel" size="30" (input)='handleValidation("newPassword", false)' (blur)='handleValidation("newPassword", true)'> @@ -42,7 +42,7 @@ pattern="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{8,20}$" name="reNewPassword" [(ngModel)]="reNewPwd" - #reNewPassInput="ngModel" size="42" + #reNewPassInput="ngModel" size="30" (input)='handleValidation("reNewPassword", false)' (blur)='handleValidation("reNewPassword", true)'> diff --git a/src/ui_ng/src/app/shared/about-dialog/about-dialog.component.html b/src/ui_ng/src/app/shared/about-dialog/about-dialog.component.html index 628abcf9c..0077c134c 100644 --- a/src/ui_ng/src/app/shared/about-dialog/about-dialog.component.html +++ b/src/ui_ng/src/app/shared/about-dialog/about-dialog.component.html @@ -1,4 +1,4 @@ - +