From 1804d5410c8b2d02d161cee3993ca905bc6b7a87 Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Thu, 4 Oct 2012 15:50:02 -0400 Subject: [PATCH] fixed ie banner showing outside of courseware bug --- lms/static/sass/base/_base.scss | 17 +++++++++++++++++ .../sass/course/layout/_courseware_header.scss | 17 ----------------- lms/templates/navigation.html | 2 ++ 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/lms/static/sass/base/_base.scss b/lms/static/sass/base/_base.scss index aeaaf146d9..ca56f542d6 100644 --- a/lms/static/sass/base/_base.scss +++ b/lms/static/sass/base/_base.scss @@ -185,5 +185,22 @@ mark { } } +.ie-banner { + display: none; + max-width: 1140px; + min-width: 720px; + margin: auto; + @include border-radius(0 0 3px 3px); + background: #f4f4e0; + color: #3c3c3c; + padding: 5px 20px 8px; + font-size: 13px; + text-align: center; + + strong { + font-weight: 700; + } +} + diff --git a/lms/static/sass/course/layout/_courseware_header.scss b/lms/static/sass/course/layout/_courseware_header.scss index b83b28301c..b5c93f8e14 100644 --- a/lms/static/sass/course/layout/_courseware_header.scss +++ b/lms/static/sass/course/layout/_courseware_header.scss @@ -168,21 +168,4 @@ header.global.slim { font-weight: bold; letter-spacing: 0; } -} - -.ie-banner { - display: none; - max-width: 1140px; - min-width: 720px; - margin: auto; - @include border-radius(0 0 3px 3px); - background: #f4f4e0; - color: #3c3c3c; - padding: 5px 20px 8px; - font-size: 13px; - text-align: center; - - strong { - font-weight: 700; - } } \ No newline at end of file diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html index 2c4b8863d6..90c9e2d383 100644 --- a/lms/templates/navigation.html +++ b/lms/templates/navigation.html @@ -82,7 +82,9 @@ site_status_msg = get_site_status_msg() %endif +% if course:
Warning: Your browser is not fully supported. We strongly recommend using Chrome or Firefox.
+% endif %if not user.is_authenticated(): <%include file="login_modal.html" />