Use smaller logos for OpenID logins

This commit is contained in:
Tom Hughes 2011-06-19 17:49:36 +01:00
parent 59b740690e
commit 84733f2fb0
10 changed files with 3 additions and 39 deletions

View file

@ -19,13 +19,13 @@
<p><%= t 'user.login.with openid' %></p>
<table id="login_openid_buttons_wide">
<table id="login_openid_buttons">
<tr>
<td>
<%=
link_to_function(image_tag("openid_large.png", :alt => t("user.login.openid_providers.openid.title")), nil, :title => t("user.login.openid_providers.openid.title")) do |page|
link_to_function(image_tag("openid.png", :alt => t("user.login.openid_providers.openid.title")), nil, :title => t("user.login.openid_providers.openid.title")) do |page|
page[:login_form][:openid_url].value = "http://"
page[:login_openid_buttons_wide].hide
page[:login_openid_buttons].hide
page[:login_openid_url].show
page[:login_openid_submit].show
end
@ -33,38 +33,12 @@
</td>
<td><%= openid_button "google", "gmail.com" %></td>
<td><%= openid_button "yahoo", "me.yahoo.com" %></td>
</tr>
<tr>
<td><%= openid_button "myopenid", "myopenid.com" %></td>
<td><%= openid_button "wordpress", "wordpress.com" %></td>
<td><%= openid_button "aol", "aol.com" %></td>
</tr>
</table>
<table id="login_openid_buttons_narrow">
<tr>
<td>
<%=
link_to_function(image_tag("openid_large.png", :alt => t("user.login.openid_providers.openid.title")), nil, :title => t("user.login.openid_providers.openid.title")) do |page|
page[:login_form][:openid_url].value = "http://"
page[:login_openid_buttons_narrow].hide
page[:login_openid_url].show
page[:login_openid_submit].show
end
%>
</td>
<td><%= openid_button "google", "gmail.com" %></td>
</tr>
<tr>
<td><%= openid_button "yahoo", "me.yahoo.com" %></td>
<td><%= openid_button "myopenid", "myopenid.com" %></td>
</tr>
<tr>
<td><%= openid_button "wordpress", "wordpress.com" %></td>
<td><%= openid_button "aol", "aol.com" %></td>
</tr>
</table>
<table>
<tr id="login_openid_url">
<td class="fieldName nowrap">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Before After
Before After

BIN
public/images/openid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Before After
Before After

View file

@ -18,9 +18,3 @@
.olControlPanZoom {
display: none;
}
/* Rules for the login form */
#login_openid_buttons_narrow {
display: none;
}

View file

@ -136,10 +136,6 @@ h1 {
max-width: 18em;
}
#login_openid_buttons_wide {
display: none;
}
/* Rules for the profile page */
.user_map {