Commit bf1d5052 by Nate Hardison

Use Stanford header/footer/favicon/GA files

Modify the main LMS template to include Stanford-specific theme
headers, footers, and other files instead of the default edX ones.
parent 4a559928
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<%block name="title"><title>edX</title></%block> <%block name="title"><title>Home | class.stanford.edu</title></%block>
<script type="text/javascript"> <script type="text/javascript">
/* immediately break out of an iframe if coming /* immediately break out of an iframe if coming
from the marketing website */ from the marketing website */
...@@ -14,12 +14,13 @@ ...@@ -14,12 +14,13 @@
})(this); })(this);
</script> </script>
<link rel="icon" type="image/x-icon" href="${static.url('images/favicon.ico')}" /> <link rel="icon" type="image/x-icon" href="${static.url('themes/' + settings.THEME_NAME + '/images/favicon.ico')}" />
<%static:css group='application'/> <%static:css group='application'/>
<%static:js group='main_vendor'/> <%static:js group='main_vendor'/>
<%block name="headextra"/> <%block name="headextra"/>
<%include file="lms/theme-head-extra.html" />
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="${static.url('js/html5shiv.js')}"></script> <script src="${static.url('js/html5shiv.js')}"></script>
...@@ -32,25 +33,21 @@ ...@@ -32,25 +33,21 @@
<meta name="google-site-verification" content="_mipQ4AtZQDNmbtOkwehQDOgCxUUV2fb_C0b6wbiRHY" /> <meta name="google-site-verification" content="_mipQ4AtZQDNmbtOkwehQDOgCxUUV2fb_C0b6wbiRHY" />
% if not course: % if not course:
<%include file="google_analytics.html" /> <%include file="lms/theme-google-analytics.html" />
% endif % endif
</head> </head>
<body class="<%block name='bodyclass'/>"> <body class="<%block name='bodyclass'/>">
% if not suppress_toplevel_navigation: <%include file="lms/theme-header.html" />
<%include file="navigation.html" />
% endif
<section class="content-wrapper"> <section class="content-wrapper">
${self.body()} ${self.body()}
<%block name="bodyextra"/> <%block name="bodyextra"/>
</section> </section>
% if not suppress_toplevel_navigation: <%include file="lms/theme-footer.html" />
<%include file="footer.html" />
% endif
<%static:js group='application'/> <%static:js group='application'/>
<%static:js group='module-js'/> <%static:js group='module-js'/>
......
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