diff --git a/cms/djangoapps/contentstore/views/component.py b/cms/djangoapps/contentstore/views/component.py index dde19152d7..409117bde0 100644 --- a/cms/djangoapps/contentstore/views/component.py +++ b/cms/djangoapps/contentstore/views/component.py @@ -41,7 +41,7 @@ __all__ = [ log = logging.getLogger(__name__) # NOTE: This list is disjoint from ADVANCED_COMPONENT_TYPES -COMPONENT_TYPES = ['discussion', 'html', 'problem', 'video'] +COMPONENT_TYPES = ['discussion', 'html', 'problem', 'video', 'openassessment'] ADVANCED_COMPONENT_TYPES = sorted(set(name for name, class_ in XBlock.load_classes()) - set(COMPONENT_TYPES)) @@ -260,7 +260,8 @@ def get_component_templates(courselike, library=False): 'discussion': _("Discussion"), 'html': _("HTML"), 'problem': _("Problem"), - 'video': _("Video") + 'video': _("Video"), + 'openassessment': _("Open Response") } component_templates = [] diff --git a/cms/static/images/large-openassessment-icon.png b/cms/static/images/large-openassessment-icon.png new file mode 100644 index 0000000000..2e7a44a68e Binary files /dev/null and b/cms/static/images/large-openassessment-icon.png differ diff --git a/cms/static/sass/assets/_graphics.scss b/cms/static/sass/assets/_graphics.scss index 18d59c313f..e4642724ca 100644 --- a/cms/static/sass/assets/_graphics.scss +++ b/cms/static/sass/assets/_graphics.scss @@ -45,3 +45,10 @@ height: ($baseline*3); background: url('#{$static-path}/images/large-video-icon.png') center no-repeat; } + +.large-openassessment-icon { + display: inline-block; + width: ($baseline*3); + height: ($baseline*3); + background: url('#{$static-path}/images/large-openassessment-icon.png') center no-repeat; +} diff --git a/cms/static/sass/elements/_modules.scss b/cms/static/sass/elements/_modules.scss index d3898968ea..ecb239d223 100644 --- a/cms/static/sass/elements/_modules.scss +++ b/cms/static/sass/elements/_modules.scss @@ -139,7 +139,7 @@ position: relative; display: inline-block; - width: ($baseline*5); + width: ($baseline*6.25); height: ($baseline*5); margin-bottom: ($baseline/2); box-shadow: 0 1px 1px $shadow, 0 1px 0 rgba(255, 255, 255, 0.4) inset;