Commit 2adc5971 authored by Israel's avatar Israel

placeholders removed

parent 329ee9dd
......@@ -49,7 +49,6 @@
formControlName="username"
name="Username"
type="{{ViewOptions.defaultDomain ? 'text': 'email'}}"
placeholder="{{ViewOptions.changePasswordForm.usernamePlaceholder}}"
required
tabindex="1">
<mat-hint>
......@@ -78,14 +77,13 @@
<mat-label for="CurrentPassword">
{{ViewOptions.changePasswordForm.currentPasswordLabel}}
</mat-label>
<mat-form-field floatPlaceholder="never">
<mat-form-field floatLabel="never">
<input
matInput
[(ngModel)]="FormData.CurrentPassword"
formControlName="currentPassword"
name="CurrentPassword"
type="password"
placeholder="{{ViewOptions.changePasswordForm.currentPasswordPlaceholder}}"
tabindex="2"
>
<mat-hint>
......@@ -111,7 +109,7 @@
<mat-label for="NewPassword">
{{ViewOptions.changePasswordForm.newPasswordLabel}}
</mat-label>
<mat-form-field floatPlaceholder="never">
<mat-form-field floatLabel="never">
<input
matInput
[(ngModel)]="FormData.NewPassword"
......@@ -120,7 +118,6 @@
name="NewPassword"
#NewPassword
type="password"
placeholder="{{ViewOptions.changePasswordForm.newPasswordPlaceholder}}"
tabindex="3"
>
<mat-hint>
......@@ -152,7 +149,7 @@
<mat-label for="NewPasswordVerify">
{{ViewOptions.changePasswordForm.newPasswordVerifyLabel}}
</mat-label>
<mat-form-field floatPlaceholder="never">
<mat-form-field floatLabel="never">
<input
matInput
[(ngModel)]="FormData.NewPasswordVerify"
......@@ -160,7 +157,6 @@
formControlName="newPasswordVerify"
name="NewPasswordVerify"
type="password"
placeholder="{{ViewOptions.changePasswordForm.newPasswordVerifyPlaceholder}}"
tabindex="4"
>
<mat-hint>
......
......@@ -2,16 +2,12 @@ export class ChangePasswordForm{
changePasswordButtonLabel:string;
currentPasswordHelpblock:string;
currentPasswordLabel:string;
currentPasswordPlaceholder:string;
helpText:string;
helpTitle:string;
newPasswordHelpblock:string;
newPasswordLabel:string;
newPasswordPlaceholder:string;
newPasswordVerifyHelpblock:string;
newPasswordVerifyLabel:string;
newPasswordVerifyPlaceholder:string;
usernameHelpblock:string;
usernameLabel:string;
usernamePlaceholder:string;
}
\ No newline at end of file
......@@ -42,16 +42,12 @@ namespace Unosquare.PassCore.Web.Models
public string HelpTitle { get; set; }
public string HelpText { get; set; }
public string UsernameLabel { get; set; }
public string UsernamePlaceholder { get; set; }
public string UsernameHelpblock { get; set; }
public string CurrentPasswordLabel { get; set; }
public string CurrentPasswordPlaceholder { get; set; }
public string CurrentPasswordHelpblock { get; set; }
public string NewPasswordLabel { get; set; }
public string NewPasswordPlaceholder { get; set; }
public string NewPasswordHelpblock { get; set; }
public string NewPasswordVerifyLabel { get; set; }
public string NewPasswordVerifyPlaceholder { get; set; }
public string NewPasswordVerifyHelpblock { get; set; }
public string ChangePasswordButtonLabel { get; set; }
}
......
......@@ -30,17 +30,13 @@
"HelpTitle": "Help and Support",
"HelpText": "If you are having trouble with this tool, please contact IT Support",
"UsernameLabel": "Username",
"UsernamePlaceholder": "",
"UsernameHelpblock": "Your organization's email address",
"UsernameDefaultDomainHelperBlock": "Your organization's username",
"CurrentPasswordLabel": "Current Password",
"CurrentPasswordPlaceholder": "",
"CurrentPasswordHelpblock": "Enter your current password",
"NewPasswordLabel": "New Password",
"NewPasswordPlaceholder": "",
"NewPasswordHelpblock": "Enter a <a href='https://support.microsoft.com/en-us/help/4026406/microsoft-account-create-a-strong-password' target='_blank'>strong password</a>. You can use <a href='https://xkpasswd.net/s/' target='_blank'>this tool</a> to help you create one; use the XKCD (random sep, pad digit), or NTLM, options.",
"NewPasswordVerifyLabel": "Re-enter New Password",
"NewPasswordVerifyPlaceholder": "",
"NewPasswordVerifyHelpblock": "Enter your new password again",
"ChangePasswordButtonLabel": "Change Password"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment