prevent loading both production and development CSS from the studio-frontend container
This commit is contained in:
@@ -13,8 +13,10 @@
|
|||||||
<%namespace name='static' file='static_content.html'/>
|
<%namespace name='static' file='static_content.html'/>
|
||||||
|
|
||||||
<%block name="header_extras">
|
<%block name="header_extras">
|
||||||
<link rel="stylesheet" type="text/css" href="${static.url('common/css/vendor/common.min.css')}" />
|
% if not settings.STUDIO_FRONTEND_CONTAINER_URL:
|
||||||
<link rel="stylesheet" type="text/css" href="${static.url('common/css/vendor/assets.min.css')}" />
|
<link rel="stylesheet" type="text/css" href="${static.url('common/css/vendor/common.min.css')}" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="${static.url('common/css/vendor/assets.min.css')}" />
|
||||||
|
% endif
|
||||||
</%block>
|
</%block>
|
||||||
|
|
||||||
<%block name="content">
|
<%block name="content">
|
||||||
|
|||||||
@@ -35,8 +35,10 @@ from openedx.core.djangolib.markup import HTML, Text
|
|||||||
</script>
|
</script>
|
||||||
<link rel="stylesheet" type="text/css" href="${static.url('js/vendor/timepicker/jquery.timepicker.css')}" />
|
<link rel="stylesheet" type="text/css" href="${static.url('js/vendor/timepicker/jquery.timepicker.css')}" />
|
||||||
% if ENABLE_IN_CONTEXT_IMAGE_SELECTION.is_enabled(xblock_locator.course_key):
|
% if ENABLE_IN_CONTEXT_IMAGE_SELECTION.is_enabled(xblock_locator.course_key):
|
||||||
<link rel="stylesheet" type="text/css" href="${static.url('common/css/vendor/common.min.css')}" />
|
% if not settings.STUDIO_FRONTEND_CONTAINER_URL:
|
||||||
<link rel="stylesheet" type="text/css" href="${static.url('common/css/vendor/editImageModal.min.css')}" />
|
<link rel="stylesheet" type="text/css" href="${static.url('common/css/vendor/common.min.css')}" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="${static.url('common/css/vendor/editImageModal.min.css')}" />
|
||||||
|
% endif
|
||||||
% endif
|
% endif
|
||||||
</%block>
|
</%block>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user