diff --git a/edx-platform/pearson-theme/lms/templates/courseware/courseware-chromeless.html b/edx-platform/pearson-theme/lms/templates/courseware/courseware-chromeless.html new file mode 100644 index 00000000..b18e132c --- /dev/null +++ b/edx-platform/pearson-theme/lms/templates/courseware/courseware-chromeless.html @@ -0,0 +1,376 @@ +<%page expression_filter="h"/> +<%inherit file="/main.html" /> +<%namespace name='static' file='/static_content.html'/> +<%! +from django.utils.translation import ugettext as _ + +from openedx.core.djangolib.markup import HTML +from openedx.core.djangolib.js_utils import js_escaped_string + +%> +<%def name="course_name()"> + <% return _("{course_number} Courseware").format(course_number=course.display_number_with_default) %> + +<%block name="bodyclass">view-in-course view-courseware courseware ${course.css_class or ''} +<%block name="title"> + % if section_title: +${static.get_page_title_breadcrumbs(section_title, course_name())} + % else: +${static.get_page_title_breadcrumbs(course_name())} + %endif + + +<%block name="header_extras"> +% for template_name in ["image-modal"]: + +% endfor +<% + header_file = None +%> + + +<%block name="headextra"> +<%static:css group='style-course-vendor'/> +<%static:css group='style-course'/> +## Utility: Notes +% if edx_notes_enabled: +<%static:css group='style-student-notes'/> +% endif + + + + + + ${HTML(fragment.head_html())} + +% if is_learning_mfe: + ## If this chromeless view is in an iframe in the learning microfrontend app + ## then add a base tag in the head (of the iframe document) to force links + ## in this iframe to navigate the parent window. + +%endif + +## Expose the $$course_id variable for course-team-authored JS. +## We assign it in the so that it will definitely be +## assigned before any in-XBlock JS is run. + + + + +<%block name="js_extra"> + + + + <%static:js group='courseware'/> + + % if enable_mathjax: + <%include file="/mathjax_include.html" args="disable_fast_preview=True"/> + % endif + % if staff_access: + <%include file="xqa_interface.html"/> + % endif + +${HTML(fragment.foot_html())} + + + +
+
+
+ ${HTML(fragment.body_html())} +
+
+
+% if not is_learning_mfe: + + % if course.show_calculator or edx_notes_enabled: + + % endif +% else: + % if edx_notes_enabled: + <%include file="/edxnotes/toggle_notes.html" args="course=course"/> + % endif +% endif + +% if is_learning_mfe: + +<%text> + + +% endif +