From: Joey Hess Date: Sat, 8 May 2010 06:53:18 +0000 (-0400) Subject: Revert "add gmail button" X-Git-Tag: 3.20100515~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0914b386b026035d0055812a43dbd4a6ae528f7;p=ikiwiki.git Revert "add gmail button" This reverts commit 32a79523bbb4051a9a528a148a6db82e9fdd20d6. Buggy and I need sleep. --- diff --git a/doc/style.css b/doc/style.css index 171a68474..6832194b2 100644 --- a/doc/style.css +++ b/doc/style.css @@ -440,7 +440,7 @@ li.L8 { list-style: upper-alpha; } float: left; } .openid_large_btn { - padding: 1em 1.75em; + padding: 1em 1.5em; border: 1px solid #DDD; margin: 3px; float: left; diff --git a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js index 544ba8936..59a59c084 100644 --- a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js +++ b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js @@ -30,24 +30,18 @@ var providers_small = { label: 'Enter your Livejournal username:', url: 'http://{username}.livejournal.com/' }, + flickr: { + name: 'Flickr', + icon: 'http://flickr.com/favicon.ico', + label: 'Enter your Flickr username:', + url: 'http://flickr.com/photos/{username}/' + }, wordpress: { name: 'Wordpress', icon: 'https://ddgw.s3.amazonaws.com/wordpress.org.ico', label: 'Enter your Wordpress.com username:', url: 'http://{username}.wordpress.com/' }, - gmail: { - name: 'Gmail', - icon: 'http://mail.google.com/favicon.ico', - label: 'Enter your Gmail address:', - url: 'http://google.com/profiles/{email_username}/' - }, - flickr: { - name: 'Flickr', - icon: 'http://www.flickr.com/favicon.ico', - label: 'Enter your Flickr username:', - url: 'http://flickr.com/photos/{username}/' - }, myopenid: { name: 'MyOpenID', icon: 'http://myopenid.com/favicon.ico', @@ -178,7 +172,6 @@ var openid = { var url = openid.provider_url; if (url) { url = url.replace('{username}', $('#openid_username').val()); - url = url.replace('{email_username}', $('#openid_username').val().split('@')[0]); openid.setOpenIdUrl(url); } if(openid.ajaxHandler) {