From c423e17cc3126225d6d82e8e97a08fbd0031aeb6 Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Mon, 20 Feb 2012 09:53:40 -0500 Subject: [PATCH] Added style to remove enrollment form for IE7 and below and added a paragraph explainaing why --- create_account.html | 3 +++ sass/layout/_leanmodal.scss | 4 ++++ sass/marketing-ie.scss | 11 +++++++++++ 3 files changed, 18 insertions(+) diff --git a/create_account.html b/create_account.html index e50c26d748..3a57707693 100644 --- a/create_account.html +++ b/create_account.html @@ -2,6 +2,9 @@

Enroll in 6.002x Circuits & Electronics

+ +

Enrollment requires a modern web browser with JavaScript enabled. You don't have this. You can’t enroll without upgrading, since you couldn’t take the course without upgrading. Feel free to download the latest version of Mozilla Firefox or Google Chrome, for free, to enroll and take this course.

+
<% if 'error' in locals(): e = error %> diff --git a/sass/layout/_leanmodal.scss b/sass/layout/_leanmodal.scss index fb3e2d5a8f..e0beeeb6f4 100644 --- a/sass/layout/_leanmodal.scss +++ b/sass/layout/_leanmodal.scss @@ -47,6 +47,10 @@ div.leanModal_box { &#enroll { max-width: 600px; + p.ie-warning { + display: none; + } + ol { @extend .clearfix; diff --git a/sass/marketing-ie.scss b/sass/marketing-ie.scss index 0d1562a88a..43c1e06f12 100644 --- a/sass/marketing-ie.scss +++ b/sass/marketing-ie.scss @@ -7,3 +7,14 @@ body { margin: 0; overflow: hidden; } + +div#enroll { + p.ie-warning { + display: block !important; + line-height: 1.3em; + } + + form { + display: none; + } +}