diff --git a/cms/static/js/models/settings/course_grading_policy.js b/cms/static/js/models/settings/course_grading_policy.js index 3c5f18b1cf..cce4e0207d 100644 --- a/cms/static/js/models/settings/course_grading_policy.js +++ b/cms/static/js/models/settings/course_grading_policy.js @@ -56,10 +56,6 @@ CMS.Models.Settings.CourseGrader = Backbone.Model.extend({ "short_label" : "", // what to use in place of type if space is an issue "weight" : 0 // int 0..100 }, - initialize: function() { - if (!this.collection) - console.log("damn"); - }, parse : function(attrs) { if (attrs['weight']) { if (!_.isNumber(attrs.weight)) attrs.weight = parseInt(attrs.weight); diff --git a/cms/static/sass/_mixins.scss b/cms/static/sass/_mixins.scss deleted file mode 120000 index 0c1b1f5b81..0000000000 --- a/cms/static/sass/_mixins.scss +++ /dev/null @@ -1 +0,0 @@ -../../../common/static/sass/_mixins.scss \ No newline at end of file diff --git a/cms/static/sass/_mixins.scss b/cms/static/sass/_mixins.scss new file mode 100644 index 0000000000..58a92d1ee6 --- /dev/null +++ b/cms/static/sass/_mixins.scss @@ -0,0 +1,24 @@ +@function em($pxval, $base: 16) { + @return #{$pxval / $base}em; +} + +// Line-height +@function lh($amount: 1) { + @return $body-line-height * $amount; +} + +@mixin hide-text(){ + text-indent: -9999px; + overflow: hidden; + display: block; +} + +@mixin vertically-and-horizontally-centered ( $height, $width ) { + left: 50%; + margin-left: -$width / 2; + //margin-top: -$height / 2; + min-height: $height; + min-width: $width; + position: absolute; + top: 150px; +} diff --git a/cms/templates/overview.html b/cms/templates/overview.html index 54d856fc75..df89f0af61 100644 --- a/cms/templates/overview.html +++ b/cms/templates/overview.html @@ -16,6 +16,7 @@ +