From 9478adea88b64f776e1281ee25bc537eb69b0bd3 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 5 Oct 2016 21:24:22 -0400 Subject: [PATCH] label hint as optional during registration. formatting. lint updates --- .../app/accounts/views/accountsLoginInfo.html | 9 ++++--- .../accounts/views/accountsPasswordHint.html | 6 +++-- .../app/accounts/views/accountsRegister.html | 25 +++++++++++++------ .../app/directives/passwordMeterDirective.js | 4 +-- 4 files changed, 28 insertions(+), 16 deletions(-) diff --git a/src/Web/wwwroot/app/accounts/views/accountsLoginInfo.html b/src/Web/wwwroot/app/accounts/views/accountsLoginInfo.html index 7bf478aa1a1..68e2723ce4b 100644 --- a/src/Web/wwwroot/app/accounts/views/accountsLoginInfo.html +++ b/src/Web/wwwroot/app/accounts/views/accountsLoginInfo.html @@ -8,14 +8,15 @@
- +
- +
diff --git a/src/Web/wwwroot/app/accounts/views/accountsPasswordHint.html b/src/Web/wwwroot/app/accounts/views/accountsPasswordHint.html index d4f7f05d0cd..7837a4d5cc9 100644 --- a/src/Web/wwwroot/app/accounts/views/accountsPasswordHint.html +++ b/src/Web/wwwroot/app/accounts/views/accountsPasswordHint.html @@ -10,7 +10,8 @@
Ready to log in? -
+

Errors have occured

    @@ -19,7 +20,8 @@
- +
diff --git a/src/Web/wwwroot/app/accounts/views/accountsRegister.html b/src/Web/wwwroot/app/accounts/views/accountsRegister.html index 0c704a0fb1a..5fa9cea21d0 100644 --- a/src/Web/wwwroot/app/accounts/views/accountsRegister.html +++ b/src/Web/wwwroot/app/accounts/views/accountsRegister.html @@ -11,7 +11,8 @@
Ready to log in? - +

Errors have occured

    @@ -20,32 +21,40 @@
- +

You'll use your email address to log in.

- +

What should we call you?

- +

The master password is the password you use to access your vault.

- -

It is very important that you do not forget your master password. There is no way to recover the password in the event that you forget it.

+

+ It is very important that you do not forget your master password. + There is no way to recover the password in the event that you forget it. +

- - + +

A master password hint can help you remember your password if you forget it.

diff --git a/src/Web/wwwroot/app/directives/passwordMeterDirective.js b/src/Web/wwwroot/app/directives/passwordMeterDirective.js index d712ebe5309..15b6e86fcdf 100644 --- a/src/Web/wwwroot/app/directives/passwordMeterDirective.js +++ b/src/Web/wwwroot/app/directives/passwordMeterDirective.js @@ -4,8 +4,8 @@ angular .directive('passwordMeter', function () { return { template: '
{{value}}%
', + 'role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="100" ' + + 'ng-style="{width : ( value + \'%\' ) }">{{value}}%', restrict: 'A', scope: { password: '=passwordMeter',