Add (ui-only) Persona button to login modal
This commit is contained in:
parent
fd4d384dc1
commit
81c545539e
|
@ -16,6 +16,8 @@
|
||||||
{{#if Discourse.SiteSettings.enable_github_logins}}
|
{{#if Discourse.SiteSettings.enable_github_logins}}
|
||||||
<button class="btn btn-social github" title="{{i18n login.github.title}}" {{action "githubLogin" target="view"}}>{{i18n login.github.title}}</button>
|
<button class="btn btn-social github" title="{{i18n login.github.title}}" {{action "githubLogin" target="view"}}>{{i18n login.github.title}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
<br>
|
||||||
|
<button class="btn btn-social persona" title="{{i18n login.persona.title}}" {{action "personaLogin" target="view"}}>{{i18n login.persona.title}}</button>
|
||||||
</div>
|
</div>
|
||||||
<h3 style="text-align:center; margin-bottom:10px;">
|
<h3 style="text-align:center; margin-bottom:10px;">
|
||||||
{{i18n login.or}}
|
{{i18n login.or}}
|
||||||
|
|
|
@ -168,6 +168,12 @@
|
||||||
content: "g";
|
content: "g";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&.persona {
|
||||||
|
background: $persona;
|
||||||
|
&:before {
|
||||||
|
content: "]";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Button Sizes
|
// Button Sizes
|
||||||
|
|
|
@ -124,6 +124,7 @@ $facebook: #3b5998 !default;
|
||||||
$twitter: #00bced !default;
|
$twitter: #00bced !default;
|
||||||
$yahoo: #810293 !default;
|
$yahoo: #810293 !default;
|
||||||
$github: #6d6d6d !default;
|
$github: #6d6d6d !default;
|
||||||
|
$persona: #606060 !default;
|
||||||
|
|
||||||
// Layout dimensions
|
// Layout dimensions
|
||||||
|
|
||||||
|
|
|
@ -251,6 +251,9 @@ en:
|
||||||
github:
|
github:
|
||||||
title: "Log In with Github"
|
title: "Log In with Github"
|
||||||
message: "Authenticating with Github (make sure pop up blockers are not enabled)"
|
message: "Authenticating with Github (make sure pop up blockers are not enabled)"
|
||||||
|
persona:
|
||||||
|
title: "Log In with Any Email Address (Mozilla Persona)"
|
||||||
|
message: "Authenticating with Persona (make sure pop up blockers are not enabled)"
|
||||||
|
|
||||||
composer:
|
composer:
|
||||||
saving_draft_tip: "saving"
|
saving_draft_tip: "saving"
|
||||||
|
|
Loading…
Reference in New Issue