## coding=utf-8 ## Pages currently use v1 styling by default. Once the Pattern Library ## rollout has been completed, this default can be switched to v2. <%! main_css = "style-main-v1" %> ## Standard imports <%namespace name='static' file='static_content.html'/> <%! from django.utils.translation import ugettext as _ from openedx.core.djangolib.js_utils import ( dump_js_escaped_json, js_escaped_string ) %> <%page expression_filter="h"/> <%block name="title"></%block> | % if context_course: <% ctx_loc = context_course.location %> ${context_course.display_name_with_default} | % elif context_library: ${context_library.display_name_with_default} | % endif ${settings.STUDIO_NAME} <% jsi18n_path = "js/i18n/{language}/djangojs.js".format(language=LANGUAGE_CODE) %> <%static:css group='style-vendor'/> <%static:css group='style-vendor-tinymce-content'/> <%static:css group='style-vendor-tinymce-skin'/> <%static:css group='${self.attr.main_css}'/> <%include file="widgets/segment-io.html" /> <%block name="header_extras"> <%block name="view_notes"> ${_("Skip to main content")}
<% online_help_token = self.online_help_token() if hasattr(self, 'online_help_token') else None %> <%include file="widgets/header.html" args="online_help_token=online_help_token" />
<%block name="page_alert">
<%block name="content">
% if user.is_authenticated(): <%include file="widgets/sock.html" args="online_help_token=online_help_token" /> % endif <%include file="widgets/footer.html" />
<%block name="modal_placeholder"> <%block name="jsextra"> <%include file="widgets/segment-io-footer.html" />