promote the other/password item to a large button

master
Joey Hess 2015-05-13 12:36:38 -04:00
parent ec72b4c95b
commit 1b79ccc71b
1 changed files with 10 additions and 10 deletions

View File

@ -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,7 +91,7 @@ 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>'
@ -108,6 +99,15 @@ var openid = {
$('#'+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);
var box_id = this.readCookie();