edge.html inherits from main.html

LMS-1584
This commit is contained in:
Usman Khalid
2014-01-02 16:03:43 +05:00
parent 54eaabce3f
commit a336ae7df6
3 changed files with 19 additions and 2 deletions

View File

@@ -30,7 +30,10 @@ def index(request):
university = branding.get_university(request.META.get('HTTP_HOST'))
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
# marketing and edge are enabled

View File

@@ -76,6 +76,10 @@ $paleYellow: #fffcf1;
text-decoration: none;
}
.content-wrapper {
background: $body-bg;
}
.main-wrapper {
width: 942px;
margin: auto;
@@ -186,6 +190,13 @@ $paleYellow: #fffcf1;
}
}
#password-reset {
header {
background: none;
border-bottom: none;
}
}
#register {
font-family: $sans-serif;

View File

@@ -1,6 +1,9 @@
<%! from django.utils.translation import ugettext as _ %>
<%inherit file="../stripped-main.html" />
<%inherit file="../main.html" />
<%! from django.core.urlresolvers import reverse %>
<%block name="title"><title>${_("edX edge")}</title></%block>
<%block name="bodyclass">no-header edge-landing</%block>