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
76f4eaf9
Commit
76f4eaf9
authored
Jan 10, 2014
by
Usman Khalid
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2068 from edx/usman/lms1584-edge-home-page
Fix register button on edge
parents
2ad4749a
864267a2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
41 deletions
+19
-41
lms/djangoapps/branding/views.py
+4
-1
lms/static/sass/multicourse/_edge.scss
+11
-0
lms/templates/stripped-main.html
+0
-39
lms/templates/university_profile/edge.html
+4
-1
No files found.
lms/djangoapps/branding/views.py
View file @
76f4eaf9
...
...
@@ -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 @
76f4eaf9
...
...
@@ -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/stripped-main.html
deleted
100644 → 0
View file @
2ad4749a
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%
namespace
name=
'static'
file=
'static_content.html'
/>
<!DOCTYPE html>
<!--[if IE 7]><html class="ie ie7 lte9 lte8 lte7"><![endif]-->
<!--[if IE 8]><html class="ie ie8 lte9 lte8"><![endif]-->
<!--[if IE 9]><html class="ie ie9 lte9"><![endif]-->
<!--[if gt IE 9]><!-->
<html>
<!--<![endif]-->
<head>
## "edX" should not be translated
<
%
block
name=
"title"
><title>
edX
</title></
%
block>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"${static.url('images/favicon.ico')}"
/>
<
%
static:css
group=
'style-vendor'
/>
<
%
static:css
group=
'style-app'
/>
<
%
static:css
group=
'style-app-extend1'
/>
<
%
static:css
group=
'style-app-extend2'
/>
<
%
static:js
group=
'main_vendor'
/>
<
%
block
name=
"headextra"
/>
<!--[if lt IE 9]>
<script src="${static.url('js/html5shiv.js')}"></script>
<![endif]-->
<meta
name=
"path_prefix"
content=
"${EDX_ROOT_URL}"
>
</head>
<body
class=
"<%block name='bodyclass'/>"
>
${self.body()}
<
%
block
name=
"bodyextra"
/>
<
%
static:js
group=
'application'
/>
<
%
static:js
group=
'module-js'
/>
<
%
block
name=
"js_extra"
/>
</body>
</html>
lms/templates/university_profile/edge.html
View file @
76f4eaf9
<
%!
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