diff --git a/modules/chat/client/views/chat.client.view.html b/modules/chat/client/views/chat.client.view.html index b1ffe84171..3b9174c6ed 100644 --- a/modules/chat/client/views/chat.client.view.html +++ b/modules/chat/client/views/chat.client.view.html @@ -7,7 +7,7 @@

Chat Example

- + diff --git a/modules/core/client/directives/autofocus.client.directives.js b/modules/core/client/directives/autofocus.client.directives.js new file mode 100644 index 0000000000..0cebc7ddba --- /dev/null +++ b/modules/core/client/directives/autofocus.client.directives.js @@ -0,0 +1,28 @@ +(function () { + 'use strict'; + + // Focus the element on page load + // Unless the user is on a small device, because this could obscure the page with a keyboard + + angular.module('core') + .directive('autofocus', autofocus); + + autofocus.$inject = ['$timeout', '$window']; + + function autofocus($timeout, $window) { + var directive = { + restrict: 'A', + link: link + }; + + return directive; + + function link(scope, element, attrs) { + if ($window.innerWidth >= 800) { + $timeout(function() { + element[0].focus(); + }, 100); + } + } + } +}()); diff --git a/modules/users/client/img/buttons/facebook.png b/modules/users/client/img/buttons/facebook.png index 8ebea4f71f..984f261c93 100644 Binary files a/modules/users/client/img/buttons/facebook.png and b/modules/users/client/img/buttons/facebook.png differ diff --git a/modules/users/client/img/buttons/github.png b/modules/users/client/img/buttons/github.png index 6ff6672fc3..86e3365297 100644 Binary files a/modules/users/client/img/buttons/github.png and b/modules/users/client/img/buttons/github.png differ diff --git a/modules/users/client/img/buttons/google.png b/modules/users/client/img/buttons/google.png index 0c00712521..baf5b7dc41 100644 Binary files a/modules/users/client/img/buttons/google.png and b/modules/users/client/img/buttons/google.png differ diff --git a/modules/users/client/img/buttons/linkedin.png b/modules/users/client/img/buttons/linkedin.png index ff039a423a..e9ef1fa5b8 100644 Binary files a/modules/users/client/img/buttons/linkedin.png and b/modules/users/client/img/buttons/linkedin.png differ diff --git a/modules/users/client/img/buttons/paypal.png b/modules/users/client/img/buttons/paypal.png index 5468939563..17e70aba7a 100644 Binary files a/modules/users/client/img/buttons/paypal.png and b/modules/users/client/img/buttons/paypal.png differ diff --git a/modules/users/client/img/buttons/twitter.png b/modules/users/client/img/buttons/twitter.png index 2e399c1748..66ca70c703 100644 Binary files a/modules/users/client/img/buttons/twitter.png and b/modules/users/client/img/buttons/twitter.png differ diff --git a/modules/users/client/views/authentication/signin.client.view.html b/modules/users/client/views/authentication/signin.client.view.html index 061677fc13..d70ab8850b 100644 --- a/modules/users/client/views/authentication/signin.client.view.html +++ b/modules/users/client/views/authentication/signin.client.view.html @@ -4,8 +4,11 @@

Or with your account

+ + + - +

Username is required.

@@ -25,12 +28,7 @@

Or with your account

-

-   -

- - - +
diff --git a/modules/users/client/views/authentication/signup.client.view.html b/modules/users/client/views/authentication/signup.client.view.html index 927f59bf0b..edd6214e23 100644 --- a/modules/users/client/views/authentication/signup.client.view.html +++ b/modules/users/client/views/authentication/signup.client.view.html @@ -5,7 +5,7 @@

Or sign up using your email

- +

First name is required.

@@ -34,7 +34,7 @@

Or sign up using your email

- +

Password is required.

diff --git a/modules/users/client/views/settings/edit-profile.client.view.html b/modules/users/client/views/settings/edit-profile.client.view.html index 6482155456..62ab91984c 100644 --- a/modules/users/client/views/settings/edit-profile.client.view.html +++ b/modules/users/client/views/settings/edit-profile.client.view.html @@ -4,7 +4,7 @@
- +

First name is required.

diff --git a/modules/users/client/views/settings/manage-social-accounts.client.view.html b/modules/users/client/views/settings/manage-social-accounts.client.view.html index cba91a035c..0fe8b3249c 100644 --- a/modules/users/client/views/settings/manage-social-accounts.client.view.html +++ b/modules/users/client/views/settings/manage-social-accounts.client.view.html @@ -7,9 +7,11 @@