Unify the UI style in sign up, sign in buttons when using omniauth (GRN-35) (#301)

* Changed style to buttons for sign up

* Added assets and generalized code for sign up buttons

* Added new style to sign in modal

* Replaced hex colors with the official ones

* Removed the old social icons that are no longer used

* Centred text in sign up buttons

* Base button rendering on iconset_providers and secured office 365
This commit is contained in:
Jesus Federico
2018-10-17 12:41:57 -04:00
committed by GitHub
parent 1bb5be68a5
commit 207ec6ffb2
11 changed files with 68 additions and 51 deletions

View File

@ -28,7 +28,7 @@ module ApplicationHelper
# Determines which providers can show a login button in the login modal.
def iconset_providers
configured_providers & [:google, :twitter]
configured_providers & [:google, :twitter, :microsoft_office365]
end
# Generates the login URL for a specific provider.