Commit a336ae7d by Usman Khalid

edge.html inherits from main.html

LMS-1584
parent 54eaabce
...@@ -30,7 +30,10 @@ def index(request): ...@@ -30,7 +30,10 @@ def index(request):
university = branding.get_university(request.META.get('HTTP_HOST')) university = branding.get_university(request.META.get('HTTP_HOST'))
if university == 'edge': if university == 'edge':
return render_to_response('university_profile/edge.html', {}) context = {
'suppress_toplevel_navigation': True
}
return render_to_response('university_profile/edge.html', context)
# we do not expect this case to be reached in cases where # we do not expect this case to be reached in cases where
# marketing and edge are enabled # marketing and edge are enabled
......
...@@ -76,6 +76,10 @@ $paleYellow: #fffcf1; ...@@ -76,6 +76,10 @@ $paleYellow: #fffcf1;
text-decoration: none; text-decoration: none;
} }
.content-wrapper {
background: $body-bg;
}
.main-wrapper { .main-wrapper {
width: 942px; width: 942px;
margin: auto; margin: auto;
...@@ -186,6 +190,13 @@ $paleYellow: #fffcf1; ...@@ -186,6 +190,13 @@ $paleYellow: #fffcf1;
} }
} }
#password-reset {
header {
background: none;
border-bottom: none;
}
}
#register { #register {
font-family: $sans-serif; font-family: $sans-serif;
......
<%! from django.utils.translation import ugettext as _ %> <%! from django.utils.translation import ugettext as _ %>
<%inherit file="../stripped-main.html" />
<%inherit file="../main.html" />
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%block name="title"><title>${_("edX edge")}</title></%block> <%block name="title"><title>${_("edX edge")}</title></%block>
<%block name="bodyclass">no-header edge-landing</%block> <%block name="bodyclass">no-header edge-landing</%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