Use smaller logos for OpenID logins
|
@ -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">
|
||||
|
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 3.2 KiB |
BIN
public/images/openid.png
Normal file
After Width: | Height: | Size: 874 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 5.7 KiB |
|
@ -18,9 +18,3 @@
|
|||
.olControlPanZoom {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Rules for the login form */
|
||||
|
||||
#login_openid_buttons_narrow {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -136,10 +136,6 @@ h1 {
|
|||
max-width: 18em;
|
||||
}
|
||||
|
||||
#login_openid_buttons_wide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Rules for the profile page */
|
||||
|
||||
.user_map {
|
||||
|
|