Commit 84fb6459 by Bridger Maxwell

Changed references to main.html and static_content.html to be absolute.

parent 13a4f304
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../base.html" /> <%inherit file="../base.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<section class="container activation"> <section class="container activation">
......
<%inherit file="/main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="bodyclass">courseware</%block> <%block name="bodyclass">courseware</%block>
<%block name="title"><title>Courseware – edX</title></%block> <%block name="title"><title>Courseware – edX</title></%block>
......
## mako ## mako
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>${course.number} Textbook</title></%block> <%block name="title"><title>${course.number} Textbook</title></%block>
<%block name="headextra"> <%block name="headextra">
......
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<script type="text/javascript" src="${static.url('js/split.js')}"></script> <script type="text/javascript" src="${static.url('js/split.js')}"></script>
<script type="text/javascript" src="${static.url('js/jquery.ajaxfileupload.js')}"></script> <script type="text/javascript" src="${static.url('js/jquery.ajaxfileupload.js')}"></script>
......
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<script type="text/javascript" src="${static.url('js/split.js')}"></script> <script type="text/javascript" src="${static.url('js/split.js')}"></script>
<script type="text/javascript" src="${static.url('js/jquery.ajaxfileupload.js')}"></script> <script type="text/javascript" src="${static.url('js/jquery.ajaxfileupload.js')}"></script>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<%! from django.template.defaultfilters import escapejs %> <%! from django.template.defaultfilters import escapejs %>
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="bodyclass">discussion</%block> <%block name="bodyclass">discussion</%block>
<%block name="title"><title>Discussion – ${course.number | h}</title></%block> <%block name="title"><title>Discussion – ${course.number | h}</title></%block>
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%! from courseware.access import has_access %> <%! from courseware.access import has_access %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="bodyclass">discussion</%block> <%block name="bodyclass">discussion</%block>
<%block name="title"><title>Discussion – ${course.number}</title></%block> <%block name="title"><title>Discussion – ${course.number}</title></%block>
......
<%! from django.template.defaultfilters import escapejs %> <%! from django.template.defaultfilters import escapejs %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="bodyclass">discussion</%block> <%block name="bodyclass">discussion</%block>
<%block name="title"><title>Discussion – ${course.number | h}</title></%block> <%block name="title"><title>Discussion – ${course.number | h}</title></%block>
......
## mako ## mako
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<footer> <footer>
<nav> <nav>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<section id="login-modal" class="modal login-modal"> <section id="login-modal" class="modal login-modal">
<div class="inner-wrapper"> <div class="inner-wrapper">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## TODO: Split this into two files, one for people who are authenticated, and ## TODO: Split this into two files, one for people who are authenticated, and
## one for people who aren't. Assume a Course object is passed to the former, ## one for people who aren't. Assume a Course object is passed to the former,
## instead of using settings.COURSE_TITLE ## instead of using settings.COURSE_TITLE
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%! <%!
from django.core.urlresolvers import reverse from django.core.urlresolvers import reverse
......
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%! from django_countries.countries import COUNTRIES %> <%! from django_countries.countries import COUNTRIES %>
<%! from student.models import UserProfile %> <%! from student.models import UserProfile %>
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
from courseware.courses import course_image_url, get_course_about_section from courseware.courses import course_image_url, get_course_about_section
from courseware.access import has_access from courseware.access import has_access
%> %>
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%block name="js_extra"> <%block name="js_extra">
% if not registered: % if not registered:
......
## mako ## mako
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>Courses</title></%block> <%block name="title"><title>Courses</title></%block>
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
from courseware.courses import course_image_url, get_course_about_section from courseware.courses import course_image_url, get_course_about_section
from courseware.access import has_access from courseware.access import has_access
%> %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>Dashboard</title></%block> <%block name="title"><title>Dashboard</title></%block>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%! from time import strftime %> <%! from time import strftime %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<section class="home"> <section class="home">
<header> <header>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<section class="container activation"> <section class="container activation">
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<section class="container activation"> <section class="container activation">
......
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%block name="title"><title>404</title></%block> <%block name="title"><title>404</title></%block>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%block name="title"><title>About edX</title></%block> <%block name="title"><title>About edX</title></%block>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%block name="title"><title>Contact edX</title></%block> <%block name="title"><title>Contact edX</title></%block>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>Copyright</title></%block> <%block name="title"><title>Copyright</title></%block>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%block name="title"><title>FAQ</title></%block> <%block name="title"><title>FAQ</title></%block>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>edX Help</title></%block> <%block name="title"><title>edX Help</title></%block>
......
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>Honor Code</title></%block> <%block name="title"><title>Honor Code</title></%block>
......
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%block name="title"><title>Jobs</title></%block> <%block name="title"><title>Jobs</title></%block>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%block name="title"><title>edX in the Press</title></%block> <%block name="title"><title>edX in the Press</title></%block>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>Cengage Learning To Provide Book Content</title></%block> <%block name="title"><title>Cengage Learning To Provide Book Content</title></%block>
<div id="fb-root"></div> <div id="fb-root"></div>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>Elsevier collaborates with edX</title></%block> <%block name="title"><title>Elsevier collaborates with edX</title></%block>
<div id="fb-root"></div> <div id="fb-root"></div>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>MIT and Harvard announce edX</title></%block> <%block name="title"><title>MIT and Harvard announce edX</title></%block>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>UC Berkeley joins edX</title></%block> <%block name="title"><title>UC Berkeley joins edX</title></%block>
<div id="fb-root"></div> <div id="fb-root"></div>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>The University of Texas System joins edX</title></%block> <%block name="title"><title>The University of Texas System joins edX</title></%block>
<div id="fb-root"></div> <div id="fb-root"></div>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>edX announces proctored exam testing</title></%block> <%block name="title"><title>edX announces proctored exam testing</title></%block>
<div id="fb-root"></div> <div id="fb-root"></div>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>Privacy Policy</title></%block> <%block name="title"><title>Privacy Policy</title></%block>
......
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<section class="outside-app"> <section class="outside-app">
<h1>Currently the <em>edX</em> servers are down</h1> <h1>Currently the <em>edX</em> servers are down</h1>
......
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<section class="outside-app"> <section class="outside-app">
<h1>There has been a 500 error on the <em>edX</em> servers</h1> <h1>There has been a 500 error on the <em>edX</em> servers</h1>
......
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<section class="outside-app"> <section class="outside-app">
<h1>Currently the <em>edX</em> servers are overloaded</h1> <h1>Currently the <em>edX</em> servers are overloaded</h1>
......
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>Terms of Service</title></%block> <%block name="title"><title>Terms of Service</title></%block>
......
<%inherit file="../main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<section class="find-courses"> <section class="find-courses">
<%block name="university_header"/> <%block name="university_header"/>
......
<%inherit file="base.html" /> <%inherit file="base.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>BerkeleyX</title></%block> <%block name="title"><title>BerkeleyX</title></%block>
......
<%inherit file="base.html" /> <%inherit file="base.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>HarvardX</title></%block> <%block name="title"><title>HarvardX</title></%block>
......
<%inherit file="base.html" /> <%inherit file="base.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>MITx</title></%block> <%block name="title"><title>MITx</title></%block>
......
<%inherit file="base.html" /> <%inherit file="base.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="title"><title>UTx</title></%block> <%block name="title"><title>UTx</title></%block>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment