|
3 | 3 | header
|
4 | 4 | a.logo-link(href="/")
|
5 | 5 | img(src="/images/logo_mobile.svg", alt="Topcoder Logo")
|
| 6 | + |
6 | 7 | .arrow
|
| 8 | + |
7 | 9 | h1(class="header") PASSWORD RESET
|
8 | 10 |
|
9 | 11 | form.reset-form(name='vm.generateTokenForm', role="form", ng-submit="vm.generateTokenForm.$valid && vm.sendLink()", novalidate)
|
10 |
| - |
11 | 12 | p.email-label Please enter your email address, and we'll send you a link to reset your password
|
12 | 13 |
|
13 | 14 | .validation-bar(ng-class="{ 'error-bar': (vm.generateTokenForm.email.$dirty && vm.generateTokenForm.email.$invalid), 'success-bar': (vm.generateTokenForm.email.$valid) }")
|
|
16 | 17 |
|
17 | 18 | .tips.email-tips(ng-show="vm.emailTips")
|
18 | 19 | .arrow
|
| 20 | + |
19 | 21 | h3 Email Tips:
|
20 | 22 |
|
21 | 23 | p Enter your email address and we'll get back to you with a reset link
|
22 | 24 |
|
23 | 25 | .form-errors
|
24 | 26 | p.form-error(ng-show="vm.generateTokenForm.email.$dirty && vm.generateTokenForm.email.$invalid") Please enter a valid email address.
|
| 27 | + |
25 | 28 | p.form-error(ng-show="vm.alreadySent") You already requested a reset link recently. Please check your inbox or spam folder. If you have any trouble, please contact
|
26 | 29 | a (href= "mailto:[email protected]?Subject=Unable%20to%20reset%20my%20password" target= "_top") [email protected]
|
| 30 | + |
27 | 31 | p.form-error(ng-show="vm.emailNotFound") We couldn't find a member with that email address. Please check that you entered it correctly. If you continue to have trouble, please contact
|
28 | 32 | a (href= "mailto:[email protected]?Subject=Unable%20to%20reset%20my%20password" target= "_top") [email protected]
|
| 33 | + |
29 | 34 | p.form-error(ng-show="vm.unkownError") We were unable to send you a reset link because of a temporary problem. Please try again. If you continue to have trouble, please contact
|
30 | 35 | a (href= "mailto:[email protected]?Subject=Unable%20to%20reset%20my%20password" target= "_top") [email protected]
|
31 | 36 |
|
|
34 | 39 | a.link(ui-sref="login") Back to Login
|
35 | 40 |
|
36 | 41 | .reset-password-container(ng-show="vm.resetTokenSent")
|
| 42 | + header |
| 43 | + a.logo-link(href="/") |
| 44 | + img(src="/images/logo_mobile.svg", alt="Topcoder Logo") |
| 45 | + |
| 46 | + .arrow |
| 47 | + |
37 | 48 | h1(class="header") Back on Track!
|
38 |
| - p We have sent you an email with a link to reset your password. |
| 49 | + |
| 50 | + p(class="m-b-lg") We have sent you an email with a link to reset your password. |
| 51 | + |
39 | 52 | a.link(ui-sref="login") Back to Login
|
40 | 53 |
|
41 | 54 | .reset-password-container(ng-show="vm.token")
|
42 | 55 | header
|
43 | 56 | img(src="/images/logo_mobile.svg", alt="Topcoder Logo")
|
| 57 | + |
44 | 58 | .arrow
|
| 59 | + |
45 | 60 | h1(class="header") CREATE NEW PASSWORD
|
46 | 61 |
|
47 | 62 | form.reset-form(name='vm.resetPasswordForm', role="form", ng-submit="vm.resetPasswordForm.$valid && vm.resetPassword()", novalidate)
|
48 |
| - |
49 | 63 | .validation-bar(ng-class="{ 'success-bar': (vm.resetPasswordForm.password.$valid) }")
|
50 | 64 | toggle-password-with-tips
|
51 | 65 |
|
52 | 66 | .tips.password-tips(ng-show="vm.passwordFocus")
|
53 | 67 | .arrow
|
| 68 | + |
54 | 69 | h3 Password Tips:
|
55 |
| - |
| 70 | + |
56 | 71 | p(ng-class="{ 'has-length-between-range': (vm.resetPasswordForm.password.$dirty && !vm.resetPasswordForm.password.$error.minlength && !vm.resetPasswordForm.password.$error.maxlength && !vm.resetPasswordForm.password.$error.required) }") Must be between 8 and 64 characters
|
57 |
| - |
| 72 | + |
58 | 73 | p(ng-class="{ 'has-letter': (vm.resetPasswordForm.password.$dirty && !vm.resetPasswordForm.password.$error.hasLetter) }") At least one letter
|
59 |
| - |
| 74 | + |
60 | 75 | p(ng-class="{ 'has-symbol-or-number': (vm.resetPasswordForm.password.$dirty && !vm.resetPasswordForm.password.$error.hasSymbolOrNumber) }") At least one number or symbol
|
61 | 76 |
|
62 | 77 | .form-errors
|
|
0 commit comments