From cca3a2326398a72b70ff381bba3df4cc6eca0548 Mon Sep 17 00:00:00 2001 From: Levi Date: Sat, 4 Jun 2016 02:59:37 -0500 Subject: [PATCH] Fixed login/signup page background.Fixed payment input fields.Added login button on hosting page. Fixed hosting tests. Redirect to notifications page if an logged user try to login again. --- hosting/static/hosting/css/landing-page.css | 2 + hosting/templates/hosting/base_short.html | 2 +- .../templates/hosting/includes/_navbar.html | 3 ++ hosting/templates/hosting/payment.html | 14 +++--- hosting/test_models.py | 48 +++++++++---------- hosting/views.py | 5 ++ 6 files changed, 42 insertions(+), 32 deletions(-) diff --git a/hosting/static/hosting/css/landing-page.css b/hosting/static/hosting/css/landing-page.css index 52e14f6e..fc0b98f2 100644 --- a/hosting/static/hosting/css/landing-page.css +++ b/hosting/static/hosting/css/landing-page.css @@ -74,11 +74,13 @@ h6 { .intro-login { background: url(../img/login-bg.jpg) no-repeat center center; background-size: cover; + height: 100%; } .intro-signup { background: url(../img/signup-bg.png) no-repeat center center; background-size: cover; + height: 100%; } .intro-message > h1 { diff --git a/hosting/templates/hosting/base_short.html b/hosting/templates/hosting/base_short.html index 55466815..df6f5c37 100644 --- a/hosting/templates/hosting/base_short.html +++ b/hosting/templates/hosting/base_short.html @@ -117,7 +117,7 @@ {% endblock %} -