Blurred background on login and sign up pages, hide navbar on those pages

pull/2/head
Sahat Yalkabov 2013-12-04 18:35:40 -05:00
parent 1140e17113
commit 389929df8a
7 changed files with 26 additions and 6 deletions

View File

@ -36,7 +36,12 @@ a {
} }
.login-body { .login-body {
background: url(../img/6.jpg) no-repeat; background: url(../img/01.jpg) no-repeat;
background-size: cover;
}
.signup-body {
background: url(../img/06.jpg) no-repeat;
background-size: cover; background-size: cover;
} }

BIN
public/img/01.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 KiB

BIN
public/img/06.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 KiB

View File

@ -1,5 +1,7 @@
$(document).ready(function() { $(document).ready(function() {
$('.dataTable').dataTable({ $('.dataTable').dataTable({
sPaginationType: 'full_numbers' sPaginationType: 'full_numbers'
}); });
}); });

View File

@ -8,6 +8,10 @@ html
meta(name='author', content='') meta(name='author', content='')
title #{title} - Starter Template for Bootstrap title #{title} - Starter Template for Bootstrap
link(href='/css/app.css', rel='stylesheet') link(href='/css/app.css', rel='stylesheet')
script(src='/js/lib/jquery.js')
script(src='/js/lib/jquery.dataTables.min.js')
script(src='/js/lib/bootstrap.js')
script(src='/js/main.js')
body body
.navbar.navbar-default.navbar-fixed-top .navbar.navbar-default.navbar-fixed-top
.container .container
@ -40,7 +44,4 @@ html
.container .container
block content block content
script(src='/js/lib/jquery.js')
script(src='/js/lib/jquery.dataTables.min.js')
script(src='/js/lib/bootstrap.js')
script(src='/js/main.js')

View File

@ -40,4 +40,10 @@ block content
i.fa.fa-github i.fa.fa-github
|   GitHub |   GitHub
p Don't have an account yet?  p Don't have an account yet? 
a(href='/signup') Sign up now a(href='/signup') Sign up now
script
$(function() {
$('.navbar').remove();
$('body').addClass('login-body');
});

View File

@ -42,3 +42,9 @@ block content
| GitHub | GitHub
p Already have an account?  p Already have an account? 
a(href='/login') Login now a(href='/login') Login now
script
$(function() {
$('.navbar').remove();
$('body').addClass('signup-body');
});