Added fix for where the course.css is being brought in

This commit is contained in:
Kyle Fiedler
2012-07-24 16:36:29 -04:00
parent 00596d2f20
commit 18dc689d4d
6 changed files with 25 additions and 1 deletions

View File

@@ -3,6 +3,10 @@
<%block name="bodyclass">courseware</%block>
<%block name="title"><title>Courseware MITx 6.002x</title></%block>
<%block name="headextra">
<%static:css group='course'/>
</%block>
<%block name="js_extra">
<script type="text/javascript" src="${static.url('js/vendor/flot/jquery.flot.js')}"></script>

View File

@@ -1,4 +1,10 @@
<%inherit file="main.html" />
<%namespace name='static' file='static_content.html'/>
<%block name="headextra">
<%static:css group='course'/>
</%block>
<%include file="course_navigation.html" args="active_page='info'" />
<%!
from courseware.courses import get_course_info_section

View File

@@ -7,7 +7,6 @@
<link rel="icon" type="image/x-icon" href="${static.url('images/favicon.ico')}" />
<%static:css group='application'/>
<%static:css group='course'/>
<!--[if lte IE 9]>
<%static:css group='ie-fixes'/>

View File

@@ -1,5 +1,9 @@
<%inherit file="main.html" />
<%namespace name='static' file='static_content.html'/>
<%block name="headextra">
<%static:css group='course'/>
</%block>
<%namespace name="profile_graphs" file="profile_graphs.js"/>
<%block name="title"><title>Profile - edX 6.002x</title></%block>

View File

@@ -3,6 +3,10 @@
<%inherit file="../main.html"/>
<%namespace name='static' file='../static_content.html'/>
<%block name="headextra">
<%static:css group='course'/>
</%block>
<%!
from django.core.urlresolvers import reverse
from simplewiki.views import wiki_reverse
@@ -78,6 +82,7 @@
<%include file="../course_navigation.html" args="active_page='wiki'" />
%endif
<section class="container">
<section class="main-content">
<div class="wiki-wrapper">
<%block name="wiki_panel">
@@ -158,4 +163,5 @@
</div>
</section>
</section>
</%block>

View File

@@ -1,6 +1,11 @@
<%inherit file="main.html" />
<%namespace name='static' file='static_content.html'/>
<%block name="title"><title>Textbook MITx 6.002x</title></%block>
<%block name="headextra">
<%static:css group='course'/>
</%block>
<%block name="js_extra">
<script>
var page=${ page };