From 5835ecf779069783bc3cfcbe162bd6ad6fc2aaa1 Mon Sep 17 00:00:00 2001 From: Bertrand Marron Date: Wed, 5 Feb 2014 17:33:36 +0100 Subject: [PATCH] Stop using JavaScript to set the body CSS class This prevents everything from blinking, since the CSS class will be present when the page is rendering. --- lms/templates/login.html | 6 +++--- lms/templates/register-shib.html | 6 +++--- lms/templates/register.html | 6 +++--- lms/templates/registration/password_reset_complete.html | 4 +--- lms/templates/registration/password_reset_confirm.html | 4 +--- 5 files changed, 11 insertions(+), 15 deletions(-) diff --git a/lms/templates/login.html b/lms/templates/login.html index ed3dbf457e72..2afb5a08f524 100644 --- a/lms/templates/login.html +++ b/lms/templates/login.html @@ -7,14 +7,14 @@ <%block name="pagetitle">${_("Log into your {platform_name} Account").format(platform_name=platform_name)} +<%block name="bodyclass">view-login + <%block name="js_extra">