Only show quick login for large screens

This commit is contained in:
calzoneman 2015-02-14 13:21:42 -06:00
parent a31273be5c
commit 10aa7519da
1 changed files with 9 additions and 3 deletions

View File

@ -43,9 +43,9 @@ mixin navloginlogout(redirect)
mixin navloginform(redirect)
mixin navloginform(redirect)
.visible-md.visible-lg
if loginDomain == null
- loginDomain = ""
if loginDomain == null
- loginDomain = ""
.visible-lg
form#loginform.navbar-form.navbar-right(action="#{loginDomain}/login", method="post")
input(type="hidden", name="redirect", value=redirect)
.form-group
@ -58,6 +58,12 @@ mixin navloginform(redirect)
input(type="checkbox", name="remember")
| Remember me
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)
if loginDomain == null