mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 22:44:22 +08:00
Merge pull request #1042 from okriuchykhin/ok_SCI_2201
Use larger LinkedIn sign-in button [SCI-2201]
This commit is contained in:
commit
2356b78044
5 changed files with 10 additions and 4 deletions
BIN
app/assets/images/linkedin/Sign-in-Large---Active.png
Normal file
BIN
app/assets/images/linkedin/Sign-in-Large---Active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3 KiB |
BIN
app/assets/images/linkedin/Sign-in-Large---Default.png
Normal file
BIN
app/assets/images/linkedin/Sign-in-Large---Default.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3 KiB |
BIN
app/assets/images/linkedin/Sign-in-Large---Hover.png
Normal file
BIN
app/assets/images/linkedin/Sign-in-Large---Hover.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3 KiB |
|
@ -2203,3 +2203,7 @@ th.custom-field .modal-tooltiptext {
|
|||
.parse-records-table {
|
||||
max-height: 200px;
|
||||
}
|
||||
|
||||
.linkedin-signin-button {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
|
|
@ -27,10 +27,12 @@
|
|||
<%- if Rails.configuration.x.enable_user_registration && Rails.configuration.x.linkedin_signin_enabled %>
|
||||
<%- if devise_mapping.omniauthable? && resource_class.omniauth_providers.any? && controller_name != 'registrations' %>
|
||||
<%= link_to omniauth_authorize_path(resource_name, :linkedin), :title => "Sign in with LinkedIn" do %>
|
||||
<%= image_tag 'linkedin/Sign-in-Small---Default.png', alt: "Sign in with LinkedIn",
|
||||
onmouseover: "src='#{image_path('linkedin/Sign-in-Small---Hover.png')}'",
|
||||
onmouseout: "src='#{image_path('linkedin/Sign-in-Small---Default.png')}'",
|
||||
onclick: "src='#{image_path('linkedin/Sign-in-Small---Active.png')}'" %>
|
||||
<%= image_tag('linkedin/Sign-in-Large---Default.png',
|
||||
class: 'linkedin-signin-button',
|
||||
alt: "Sign in with LinkedIn",
|
||||
onmouseover: "src='#{image_path('linkedin/Sign-in-Large---Hover.png')}'",
|
||||
onmouseout: "src='#{image_path('linkedin/Sign-in-Large---Default.png')}'",
|
||||
onclick: "src='#{image_path('linkedin/Sign-in-Large---Active.png')}'") %>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in a new issue