From b4142246fe7ca5d98ba39375f22f5561fc5f1acb Mon Sep 17 00:00:00 2001 From: Bridger Maxwell <bridgeyman@gmail.com> Date: Thu, 13 Sep 2012 11:39:32 -0400 Subject: [PATCH] Added ie fixes stylesheet to main_django.html. Cleaned up whitespace to more closely match main.html. --- lms/templates/main_django.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lms/templates/main_django.html b/lms/templates/main_django.html index 20514b4ce41..f5ee06d2804 100644 --- a/lms/templates/main_django.html +++ b/lms/templates/main_django.html @@ -3,34 +3,37 @@ <html> <head> {% block title %}<title>edX</title>{% endblock %} + <link rel="icon" type="image/x-icon" href="{% static "images/favicon.ico" %}" /> {% compressed_css 'application' %} {% compressed_js 'main_vendor' %} - {% block headextra %}{% endblock %} {% render_block "css" %} - <meta name="path_prefix" content="{{MITX_ROOT_URL}}"> + <!--[if lt IE 9]> - <script src="{% static "js/html5shiv.js" %}"></script> + <script src="${static.url('js/html5shiv.js')}"></script> <![endif]--> + <!--[if lte IE 9]> + <%static:css group='ie-fixes'/> + <![endif]--> + <meta name="path_prefix" content="{{MITX_ROOT_URL}}"> </head> - <body class="{% block bodyclass %}{% endblock %}"> {% include "navigation.html" %} - <section class="content-wrapper"> {% block body %}{% endblock %} - {% block bodyextra %}{% endblock %} </section> + {% include "footer.html" %} {% compressed_js 'application' %} {% compressed_js 'module-js' %} + {% render_block "js" %} </body> </html> -- GitLab