From c6bfb67b1aea5ea4cd07bf11f00ee8c134e204c0 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 8 Nov 2012 12:08:09 -0500 Subject: [PATCH] revised no certificate state for dashboard messages and removed course message UI for future work on separate branch --- lms/static/sass/course/base/_base.scss | 74 -------------------------- lms/templates/dashboard.html | 1 - lms/templates/navigation.html | 41 -------------- 3 files changed, 116 deletions(-) diff --git a/lms/static/sass/course/base/_base.scss b/lms/static/sass/course/base/_base.scss index 4439b5b290..6183c8a675 100644 --- a/lms/static/sass/course/base/_base.scss +++ b/lms/static/sass/course/base/_base.scss @@ -135,80 +135,6 @@ img { display: block; } -.course-status { - display: none; - padding: 20px 10px; - background: #fffcf0; - border-bottom: 1px solid #999; - @include linear-gradient(#f2dfbe, #fffcf0); - @include box-shadow(0 -2px 0 #fff inset); - - .inner-wrapper { - margin: auto; - max-width: 1180px; - @include clearfix(); - - .message-copy { - display: inline-block; - margin-right: 20px; - - .grade-value { - font-size: 1.4rem; - font-weight: bold; - } - } - - .actions { - display: inline-block; - margin: 0; - padding: 0; - list-style: none; - - .action { - display: inline-block; - margin-right: 10px; - - &:last-child { - margin-right: 0; - } - - .btn { - padding: 6px 12px; - @include box-sizing(border-box); - @include button(shiny, $blue); - @include border-radius(3px); - font: normal 0.8rem/1.2rem $sans-serif; - letter-spacing: 1px; - text-align: center; - - &.disabled { - @include button(shiny, #eee); - cursor: default !important; - - &:hover { - background: #eee; - background-image: -webkit-linear-gradient(top, #EEE 0%, #C2C2C2 50%, #ABABAB 50%, #B0B0B0 100%); - background-image: -moz-linear-gradient(top, #EEE 0%, #C2C2C2 50%, #ABABAB 50%, #B0B0B0 100%); - background-image: -ms-linear-gradient(top, #EEE 0%, #C2C2C2 50%, #ABABAB 50%, #B0B0B0 100%); - background-image: -o-linear-gradient(top, #EEE 0%, #C2C2C2 50%, #ABABAB 50%, #B0B0B0 100%); - background-image: linear-gradient(top, #EEE 0%, #C2C2C2 50%, #ABABAB 50%, #B0B0B0 100%); - } - } - } - - .cta { - font-size: 0.8rem; - font-weight: bold; - } - } - } - } - - &.is-shown { - display: block; - } -} - .toast-notification { position: fixed; top: 20px; diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index f2b0c5239b..ad2d66f8be 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -171,7 +171,6 @@

You did not complete the necessary requirements for completion of this course.

diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html index dfce6d3e90..d574bc3f6e 100644 --- a/lms/templates/navigation.html +++ b/lms/templates/navigation.html @@ -91,47 +91,6 @@ site_status_msg = get_site_status_msg(course_id)
Warning: Your browser is not fully supported. We strongly recommend using Chrome or Firefox.
% endif -% if course: -
-
-

You have received a grade of B in this course.

- - -
-
- -
-
-

You did not complete the necessary requirements for completion of this course.

- - -
-
- -
-
-

You have received a grade of B in this course.

- - -
-
- -
-
-

Final course details are being wrapped up at this time. Your final standing will be available shortly.

-
-
-% endif - %if not user.is_authenticated(): <%include file="login_modal.html" /> <%include file="signup_modal.html" />