main_django.html 1.75 KB
Newer Older
1
<!DOCTYPE html>
2
{% load compressed %}{% load sekizai_tags i18n microsite %}{% load url from future %}{% load staticfiles %}
3
<html lang="{{LANGUAGE_CODE}}">
4
<head>
5
  <meta charset="UTF-8">
6
  {% block title %}<title>{% platform_name %}</title>{% endblock %}
7

8
  <link rel="icon" type="image/x-icon" href="{% static "images/favicon.ico" %}" />
9

10 11 12 13 14 15 16
  {% compressed_css 'style-vendor' %}
  {% compressed_css 'style-app' %}
  {% compressed_css 'style-app-extend1' %}
  {% compressed_css 'style-app-extend2' %}
  {% compressed_css 'style-course-vendor' %}
  {% compressed_css 'style-course' %}

17
  {% block main_vendor_js %}
18
  {% compressed_js 'main_vendor' %}
19
  {% endblock %}
20 21
  {% block headextra %}{% endblock %}
  {% render_block "css" %}
22 23


24
  <!--[if lt IE 9]>
25
  <script src="{% static 'js/html5shiv.js' %}"></script>
26 27
  <![endif]-->

28
  <meta name="path_prefix" content="{{EDX_ROOT_URL}}">
29 30
</head>

31
<body class="{% block bodyclass %}{% endblock %} lang_{{LANGUAGE_CODE}}">
32
  <a class="nav-skip" href="{% block nav_skip %}#content{% endblock %}">{% trans "Skip to this view's content" %}</a>
33
  {% include "navigation.html" %}
34
  <div class="content-wrapper" id="content">
35 36
    {% block body %}{% endblock %}
    {% block bodyextra %}{% endblock %}
37
  </div>
38

39
  {% include "footer.html" %}
40

41 42
  {% compressed_js 'application' %}
  {% compressed_js 'module-js' %}
43

44
  {% render_block "js" %}
45 46
</body>
</html>
47 48 49 50 51 52

{% 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.
53

54 55
  Inheriting from this file allows us to include apps that use the
  django templating system without rewriting all of their views in
56
  mako.
57
{% endcomment %}