Merge pull request #4940 from astifter/fix_login_when_openid_disabled

frio: Fix login page layout without OpenId.
This commit is contained in:
Hypolite Petovan 2018-04-27 16:49:38 -04:00 committed by GitHub
commit e2612514e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -3187,7 +3187,6 @@ section .profile-match-wrapper {
.mod-home.is-not-singleuser .login-form > #login-extra-links { .mod-home.is-not-singleuser .login-form > #login-extra-links {
margin-top: 4em; margin-top: 4em;
margin-bottom: 1em;
} }
.mod-home.is-not-singleuser .login-form > #login-form label, .mod-home.is-not-singleuser .login-form > #login-form label,
@ -3213,7 +3212,6 @@ section .profile-match-wrapper {
background-color: #fff; background-color: #fff;
padding: 1em; padding: 1em;
position: relative; position: relative;
margin-top: 4em;
} }
.mod-home.is-not-singleuser .login-form > #login-extra-links { .mod-home.is-not-singleuser .login-form > #login-extra-links {
margin-top: unset; margin-top: unset;
@ -3225,7 +3223,7 @@ section .profile-match-wrapper {
color: #444; color: #444;
} }
.mod-home.is-not-singleuser .login-form > #login-form::before, .mod-home.is-not-singleuser .login-form::before,
.mod-login #content #login-form::before { .mod-login #content #login-form::before {
display: block; display: block;
position: absolute; position: absolute;
@ -3238,7 +3236,7 @@ section .profile-match-wrapper {
z-index: -1; z-index: -1;
} }
.mod-home.is-not-singleuser .login-form > #login-form::after, .mod-home.is-not-singleuser .login-form::after,
.mod-login #content #login-form::after { .mod-login #content #login-form::after {
display: block; display: block;
position: absolute; position: absolute;

View file

@ -11,6 +11,7 @@
<div id="login-lost-password-link"> <div id="login-lost-password-link">
<a href="lostpass" title="{{$lostpass|escape:'html'}}" id="lost-password-link" >{{$lostlink}}</a> <a href="lostpass" title="{{$lostpass|escape:'html'}}" id="lost-password-link" >{{$lostlink}}</a>
</div> </div>
<div id="login-end"></div>
</div> </div>
{{if $openid}} {{if $openid}}