edge.html inherits from main.html
LMS-1584
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user