From 75afb59d77cf2390c0d8fb381163eca2e7399ece Mon Sep 17 00:00:00 2001 From: ARvind Tiwari Date: Fri, 4 Aug 2017 00:28:15 +0530 Subject: [PATCH] flex removed from dash-borad content, reset-password message added to login page --- hosting/static/hosting/css/commons.css | 2 - hosting/static/hosting/css/landing-page.css | 12 +++- .../hosting/confirm_reset_password.html | 2 +- hosting/templates/hosting/login.html | 71 ++++++++++--------- hosting/templates/hosting/reset_password.html | 1 - hosting/templates/hosting/signup.html | 55 +++++++------- hosting/views.py | 26 ++++--- 7 files changed, 91 insertions(+), 78 deletions(-) diff --git a/hosting/static/hosting/css/commons.css b/hosting/static/hosting/css/commons.css index d20f63b7..f184200b 100644 --- a/hosting/static/hosting/css/commons.css +++ b/hosting/static/hosting/css/commons.css @@ -11,8 +11,6 @@ width: 80%; margin: 0 auto; max-width: 1120px; - display: flex; - align-items: center; } .container-table{ margin-top: 35px; diff --git a/hosting/static/hosting/css/landing-page.css b/hosting/static/hosting/css/landing-page.css index 8b962d76..a5eacd1a 100644 --- a/hosting/static/hosting/css/landing-page.css +++ b/hosting/static/hosting/css/landing-page.css @@ -226,9 +226,12 @@ h6 { /*------Auth section---------*/ .auth-container { - /* height: 100vh; */ + min-height: calc(100vh - 120px); position: relative; - flex-grow: 1; + /* flex-grow: 1; */ + display: flex; + flex-direction: column; + justify-content: center; } .auth-bg { @@ -423,6 +426,11 @@ h6 { } } +.auth-box .msg-list { + padding: 15px 25px 5px; + text-align: center; +} + @media (max-width: 540px) { .auth-container .auth-title h2 { font-size: 32px; diff --git a/hosting/templates/hosting/confirm_reset_password.html b/hosting/templates/hosting/confirm_reset_password.html index 01c64997..d7942455 100644 --- a/hosting/templates/hosting/confirm_reset_password.html +++ b/hosting/templates/hosting/confirm_reset_password.html @@ -17,7 +17,7 @@

{% trans "Set your new password"%}

{% if messages %} -