From 998e207a34e33575fd1ccaa03f4cac9c3deb94b9 Mon Sep 17 00:00:00 2001 From: Britlog Date: Mon, 24 Jul 2017 08:11:18 +0200 Subject: [PATCH] Show footer on login page (#3762) --- frappe/templates/includes/login/login.css | 9 ++++++++- frappe/templates/includes/login/login.js | 4 +++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/frappe/templates/includes/login/login.css b/frappe/templates/includes/login/login.css index 0f5c1ece24..8c656046fb 100644 --- a/frappe/templates/includes/login/login.css +++ b/frappe/templates/includes/login/login.css @@ -26,8 +26,15 @@ background-color: #7575ff; } +.for-login { + display: none; +} + +.for-forgot { + display: none; +} -section { +.for-signup { display: none; } diff --git a/frappe/templates/includes/login/login.js b/frappe/templates/includes/login/login.js index 249487333e..88eb76daf2 100644 --- a/frappe/templates/includes/login/login.js +++ b/frappe/templates/includes/login/login.js @@ -77,7 +77,9 @@ login.route = function() { login.reset_sections = function(hide) { if(hide || hide===undefined) { - $("section").toggle(false); + $("section.for-login").toggle(false); + $("section.for-forgot").toggle(false); + $("section.for-signup").toggle(false); } $('section .indicator').each(function() { $(this).removeClass().addClass('indicator').addClass('blue')