aboutsummaryrefslogtreecommitdiff
path: root/underlays
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2015-05-13 12:36:38 -0400
committerJoey Hess <joeyh@joeyh.name>2015-05-13 12:36:38 -0400
commit1b79ccc71bf4486b3b2d831c8e2e209af81fb582 (patch)
treeb95b5ed53e76901830932f1a28dfe73332920fc7 /underlays
parentec72b4c95bce640f8b02b7885dad84640b924ffe (diff)
downloadikiwiki-1b79ccc71bf4486b3b2d831c8e2e209af81fb582.tar
ikiwiki-1b79ccc71bf4486b3b2d831c8e2e209af81fb582.tar.gz
promote the other/password item to a large button
Diffstat (limited to 'underlays')
-rw-r--r--underlays/openid-selector/ikiwiki/openid/openid-jquery.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
index 448d20d74..6965295be 100644
--- a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
+++ b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
@@ -80,15 +80,6 @@ var openid = {
for (id in providers_large) {
openid_btns.append(this.getBoxHTML(providers_large[id], 'large'));
}
-
- if (providers_small) {
- openid_btns.append('<br/>');
-
- for (id in providers_small) {
-
- openid_btns.append(this.getBoxHTML(providers_small[id], 'small'));
- }
- }
if (localsignin_label != "") {
this.localsignin_label=localsignin_label;
}
@@ -100,13 +91,22 @@ var openid = {
openid_btns.append(
'<a href="javascript: openid.signin(\'localsignin\');"' +
' style="background: #FFF" ' +
- 'class="localsignin openid_small_btn">' +
+ 'class="localsignin openid_large_btn">' +
'<img alt="" width="16" height="16" src="favicon.ico" />' +
' ' + this.localsignin_label +
'</a>'
);
$('#'+this.localsignin_id).hide();
}
+
+ if (providers_small) {
+ openid_btns.append('<br/>');
+
+ for (id in providers_small) {
+
+ openid_btns.append(this.getBoxHTML(providers_small[id], 'small'));
+ }
+ }
$('#openid_form').submit(this.submit);