ziafazal: improvements need for multi-tenancy ziafazal: fixed broken tests ziafazal: no need to add setting in test.py ziafazal: added hostname validation ziafazal: changes after feedback from mattdrayer ziafazal: fixed branding and microsite broken tests ziafazal: make STATICFILES_DIRS to list ziafazal: added theme directory to mako lookup for tests ziafazal: added more protection in test_util saleem-latif: Enable SCSS Overrides for Comprehensive Theming saleem-latif: Incoporate feedback changes, Correct test failures, add tests and enable theming for django templates saleem-latif: Correct errors in python tests mattdrayer: Fix invalid release reference mattdrayer: Update django-wiki reference to latest release saleem-latif: Update Theme storages to work with Caching, Pipeline and collectstatic saleem-latif: Incorporate feedback changes mattdrayer: Pylint violation fix mattdrayer: Fix broken pavelib test
58 lines
1.8 KiB
HTML
58 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
{% load sekizai_tags i18n microsite theme_pipeline optional_include %}
|
|
{% load url from future %}
|
|
<html lang="{{LANGUAGE_CODE}}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
{% block title %}<title>{% platform_name %}</title>{% endblock %}
|
|
|
|
<link rel="icon" type="image/x-icon" href="{% favicon_path %}" />
|
|
|
|
{% stylesheet 'style-vendor' %}
|
|
{% stylesheet 'style-main' %}
|
|
|
|
{% block main_vendor_js %}
|
|
{% javascript 'main_vendor' %}
|
|
{% endblock %}
|
|
{% block headextra %}{% endblock %}
|
|
{% render_block "css" %}
|
|
|
|
{% optional_include "head-extra.html"|microsite_template_path %}
|
|
|
|
<meta name="path_prefix" content="{{EDX_ROOT_URL}}">
|
|
</head>
|
|
|
|
<body class="{% block bodyclass %}{% endblock %} lang_{{LANGUAGE_CODE}}">
|
|
<div class="window-wrap" dir="${static.dir_rtl()}">
|
|
<a class="nav-skip" href="{% block nav_skip %}#content{% endblock %}">{% trans "Skip to main content" %}</a>
|
|
{% with course=request.course %}
|
|
{% include "header.html"|microsite_template_path %}
|
|
{% endwith %}
|
|
<div role="main" class="content-wrapper" id="content" tabindex="-1">
|
|
{% block body %}{% endblock %}
|
|
{% block bodyextra %}{% endblock %}
|
|
</div>
|
|
{% with course=request.course %}
|
|
{% include "footer.html"|microsite_template_path %}
|
|
{% endwith %}
|
|
|
|
</div>
|
|
|
|
{% javascript 'application' %}
|
|
{% javascript 'module-js' %}
|
|
|
|
{% render_block "js" %}
|
|
</body>
|
|
</html>
|
|
|
|
{% comment %}
|
|
This is a django template version of our main page from which all
|
|
other pages inherit. This file should be rewritten to reflect any
|
|
changes in main.html! Files used by {% include %} can be written
|
|
as mako templates.
|
|
|
|
Inheriting from this file allows us to include apps that use the
|
|
django templating system without rewriting all of their views in
|
|
mako.
|
|
{% endcomment %}
|