diff --git a/public/css/ios7.less b/public/css/ios7.less index 0f5abca9dd..675d65394f 100644 --- a/public/css/ios7.less +++ b/public/css/ios7.less @@ -36,7 +36,12 @@ a { } .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; } diff --git a/public/img/01.jpg b/public/img/01.jpg new file mode 100755 index 0000000000..6c1db04ff5 Binary files /dev/null and b/public/img/01.jpg differ diff --git a/public/img/06.jpg b/public/img/06.jpg new file mode 100755 index 0000000000..31724f4621 Binary files /dev/null and b/public/img/06.jpg differ diff --git a/public/js/main.js b/public/js/main.js index 9575b04aa7..f1e55728f3 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -1,5 +1,7 @@ $(document).ready(function() { + $('.dataTable').dataTable({ sPaginationType: 'full_numbers' }); + }); \ No newline at end of file diff --git a/views/layout.jade b/views/layout.jade index 3cd140da7c..61e1169956 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -8,6 +8,10 @@ html meta(name='author', content='') title #{title} - Starter Template for Bootstrap 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 .navbar.navbar-default.navbar-fixed-top .container @@ -40,7 +44,4 @@ html .container 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') + diff --git a/views/login.jade b/views/login.jade index 145a556551..4c34e0a9fb 100644 --- a/views/login.jade +++ b/views/login.jade @@ -40,4 +40,10 @@ block content i.fa.fa-github |   GitHub p Don't have an account yet?  - a(href='/signup') Sign up now \ No newline at end of file + a(href='/signup') Sign up now + + script + $(function() { + $('.navbar').remove(); + $('body').addClass('login-body'); + }); \ No newline at end of file diff --git a/views/signup.jade b/views/signup.jade index c63327e509..406f3366fa 100644 --- a/views/signup.jade +++ b/views/signup.jade @@ -42,3 +42,9 @@ block content | GitHub p Already have an account?  a(href='/login') Login now + + script + $(function() { + $('.navbar').remove(); + $('body').addClass('signup-body'); + });