mirror of https://github.com/calzoneman/sync.git
Only show quick login for large screens
This commit is contained in:
parent
a31273be5c
commit
10aa7519da
|
@ -43,9 +43,9 @@ mixin navloginlogout(redirect)
|
||||||
mixin navloginform(redirect)
|
mixin navloginform(redirect)
|
||||||
|
|
||||||
mixin navloginform(redirect)
|
mixin navloginform(redirect)
|
||||||
.visible-md.visible-lg
|
|
||||||
if loginDomain == null
|
if loginDomain == null
|
||||||
- loginDomain = ""
|
- loginDomain = ""
|
||||||
|
.visible-lg
|
||||||
form#loginform.navbar-form.navbar-right(action="#{loginDomain}/login", method="post")
|
form#loginform.navbar-form.navbar-right(action="#{loginDomain}/login", method="post")
|
||||||
input(type="hidden", name="redirect", value=redirect)
|
input(type="hidden", name="redirect", value=redirect)
|
||||||
.form-group
|
.form-group
|
||||||
|
@ -58,6 +58,12 @@ mixin navloginform(redirect)
|
||||||
input(type="checkbox", name="remember")
|
input(type="checkbox", name="remember")
|
||||||
| Remember me
|
| Remember me
|
||||||
button#login.btn.btn-default(type="submit") Login
|
button#login.btn.btn-default(type="submit") Login
|
||||||
|
.visible-md
|
||||||
|
p#loginform.navbar-text.pull-right
|
||||||
|
a#login.navbar-link(href="#{loginDomain}/login?redirect=#{redirect}") Log in
|
||||||
|
span ·
|
||||||
|
a#register.navbar-link(href="/register") Register
|
||||||
|
|
||||||
|
|
||||||
mixin navlogoutform(redirect)
|
mixin navlogoutform(redirect)
|
||||||
if loginDomain == null
|
if loginDomain == null
|
||||||
|
|
Loading…
Reference in New Issue