Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a336ae7d
Commit
a336ae7d
authored
Jan 02, 2014
by
Usman Khalid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edge.html inherits from main.html
LMS-1584
parent
54eaabce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
lms/djangoapps/branding/views.py
+4
-1
lms/static/sass/multicourse/_edge.scss
+11
-0
lms/templates/university_profile/edge.html
+4
-1
No files found.
lms/djangoapps/branding/views.py
View file @
a336ae7d
...
...
@@ -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
...
...
lms/static/sass/multicourse/_edge.scss
View file @
a336ae7d
...
...
@@ -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
;
...
...
lms/templates/university_profile/edge.html
View file @
a336ae7d
<
%!
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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment