diff --git a/addons/auth_oauth/data/auth_oauth_data.xml b/addons/auth_oauth/data/auth_oauth_data.xml index 8ee65946d84..67c1c98e7cc 100644 --- a/addons/auth_oauth/data/auth_oauth_data.xml +++ b/addons/auth_oauth/data/auth_oauth_data.xml @@ -7,7 +7,7 @@ userinfo https://accounts.odoo.com/oauth2/tokeninfo - zocial openerp + fa fa-fw o_custom_icon Log in with Odoo.com @@ -17,8 +17,8 @@ public_profile,email https://graph.facebook.com/me https://graph.facebook.com/me?fields=id,name,email - fa fa-facebook-square - Log in with facebook + fa fa-fw fa-facebook-square + Log in with Facebook Google OAuth2 @@ -26,7 +26,7 @@ https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/oauth2/v1/tokeninfo https://www.googleapis.com/oauth2/v1/userinfo - fa fa-google-plus-square + fa fa-fw fa-google-plus-square Log in with Google diff --git a/addons/auth_oauth/models/auth_oauth.py b/addons/auth_oauth/models/auth_oauth.py index de27556140c..2dbea1f85ec 100644 --- a/addons/auth_oauth/models/auth_oauth.py +++ b/addons/auth_oauth/models/auth_oauth.py @@ -18,6 +18,6 @@ class AuthOAuthProvider(models.Model): validation_endpoint = fields.Char(string='Validation URL', required=True) # OAuth provider URL to validate tokens data_endpoint = fields.Char(string='Data URL') enabled = fields.Boolean(string='Allowed') - css_class = fields.Char(string='CSS class', default='zocial') + css_class = fields.Char(string='CSS class', default='fa fa-fw fa-sign-in text-primary') body = fields.Char(required=True) sequence = fields.Integer() diff --git a/addons/auth_oauth/static/src/scss/auth_oauth.scss b/addons/auth_oauth/static/src/scss/auth_oauth.scss new file mode 100644 index 00000000000..3225d521ace --- /dev/null +++ b/addons/auth_oauth/static/src/scss/auth_oauth.scss @@ -0,0 +1,17 @@ +.o_auth_oauth_providers { + .fa-facebook-square { + color: #3b5998; + } + + .fa-google-plus-square { + color: #de564a; + } + + .o_custom_icon { + margin: 0 0.15em; + @include size(1em); + border: 3px solid #875A7B; + border-radius: 100%; + transform: translateY(2px); + } +} diff --git a/addons/auth_oauth/views/auth_oauth_templates.xml b/addons/auth_oauth/views/auth_oauth_templates.xml index bdc5cf4f244..37fb23ecdd3 100644 --- a/addons/auth_oauth/views/auth_oauth_templates.xml +++ b/addons/auth_oauth/views/auth_oauth_templates.xml @@ -1,35 +1,47 @@ - - - - - - - - - - - - - - + + + - - - - + + + - or - + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + diff --git a/addons/auth_signup/views/auth_signup_login_templates.xml b/addons/auth_signup/views/auth_signup_login_templates.xml index 4a9abbd01e0..5b0621b8857 100644 --- a/addons/auth_signup/views/auth_signup_login_templates.xml +++ b/addons/auth_signup/views/auth_signup_login_templates.xml @@ -1,36 +1,38 @@ - - Don't have an account? - Reset Password + + + Don't have an account? + Reset Password + - Your Email - Your Email + - Your Name - Your Name + - - Password - + Password + - Confirm Password - + Confirm Password + @@ -48,11 +50,11 @@ - - Already have an account? - Sign up + + Sign up + Already have an account? + - @@ -89,9 +91,12 @@ - Back to Login - Back to Login - Confirm + + Confirm + Back to Login + Back to Login + + diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index 76ea7c7c153..8b210c29c52 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -352,19 +352,21 @@ - + - - - - - - - - - Manage Databases | - - Powered by Odoo + + + + + + + + + + Manage Databases + + Powered by Odoo + @@ -378,8 +380,8 @@ Database - - + + Select @@ -387,13 +389,13 @@ - Email - + Email + - Password - + Password + @@ -404,8 +406,9 @@ - - Log in + + Log in +
@@ -404,8 +406,9 @@