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
750e70e8
Commit
750e70e8
authored
Oct 12, 2012
by
chrisndodge
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #878 from MITx/feature/cale/edge-landing-page
Feature/cale/edge landing page
parents
73a80ec4
4814f8c3
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
37 additions
and
6 deletions
+37
-6
cms/static/sass/_landing.scss
+1
-1
common/static/images/edge-logo-large.png
+0
-0
common/static/images/edge-logo-small.png
+0
-0
lms/static/images/edge-logo-large.png
+0
-0
lms/static/images/edge-on-edx-logo.png
+2
-0
lms/static/sass/multicourse/_edge.scss
+5
-0
lms/templates/university_profile/edge.html
+29
-5
No files found.
cms/static/sass/_landing.scss
View file @
750e70e8
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
width
:
143px
;
width
:
143px
;
height
:
39px
;
height
:
39px
;
margin
:
auto
;
margin
:
auto
;
background
:
url(../im
g
/edge-logo-small.png)
no-repeat
;
background
:
url(../im
ages
/edge-logo-small.png)
no-repeat
;
text-indent
:
-9999px
;
text-indent
:
-9999px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
...
...
c
ms/static/img
/edge-logo-large.png
→
c
ommon/static/images
/edge-logo-large.png
View file @
750e70e8
File moved
c
ms/static/img
/edge-logo-small.png
→
c
ommon/static/images
/edge-logo-small.png
View file @
750e70e8
File moved
lms/static/images/edge-logo-large.png
deleted
100644 → 0
View file @
73a80ec4
7.29 KB
lms/static/images/edge-on-edx-logo.png
0 → 120000
View file @
750e70e8
../../../common/static/images/edge-logo-small.png
\ No newline at end of file
lms/static/sass/multicourse/_edge.scss
View file @
750e70e8
...
@@ -174,4 +174,8 @@ $paleYellow: #fffcf1;
...
@@ -174,4 +174,8 @@ $paleYellow: #fffcf1;
text-indent
:
-9999px
;
text-indent
:
-9999px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
#register
.login-extra
{
display
:
none
;
}
}
}
\ No newline at end of file
lms/templates/university_profile/edge.html
View file @
750e70e8
<
%
inherit
file=
"../stripped-main.html"
/>
<
%
inherit
file=
"../stripped-main.html"
/>
<
%!
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>
<
%
block
name=
"content"
>
<
%
block
name=
"content"
>
<div
class=
"main-wrapper"
>
<div
class=
"main-wrapper"
>
<div
class=
"edx-edge-logo-large"
>
edX edge
</div>
<div
class=
"edx-edge-logo-large"
>
edX edge
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"log-in-form"
>
<div
class=
"log-in-form"
>
<h2>
Log in to your courses
</h2>
<h2>
Log in to your courses
</h2>
<form>
<form
id=
"login_form"
data-remote=
"true"
method=
"post"
action=
"/login"
>
<div
class=
"row"
>
<div
class=
"row"
>
<label>
Email
</label>
<label>
Email
</label>
<input
name=
"email"
type=
"email"
class=
"email-field"
tabindex=
"1"
>
<input
name=
"email"
type=
"email"
class=
"email-field"
tabindex=
"1"
>
...
@@ -27,9 +27,33 @@
...
@@ -27,9 +27,33 @@
<div
class=
"sign-up"
>
<div
class=
"sign-up"
>
<h3>
Register for classes
</h3>
<h3>
Register for classes
</h3>
<p>
Take free online courses from today's leading universities.
</p>
<p>
Take free online courses from today's leading universities.
</p>
<p><a
href=
"#"
class=
"register-button"
>
Register
</a></p>
<p><a
href=
"#
signup-modal"
id=
"signup"
rel=
"leanModal
"
class=
"register-button"
>
Register
</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</
%
block>
</
%
block>
\ No newline at end of file
<
%
block
name=
"js_extra"
>
<script
type=
"text/javascript"
>
(
function
()
{
$
(
document
).
delegate
(
'#login_form'
,
'ajax:success'
,
function
(
data
,
json
,
xhr
)
{
if
(
json
.
success
)
{
next
=
getParameterByName
(
'next'
);
if
(
next
)
{
location
.
href
=
next
;
}
else
{
location
.
href
=
"${reverse('dashboard')}"
;
}
}
else
{
if
(
$
(
'#login_error'
).
length
==
0
)
{
$
(
'#login_form'
).
prepend
(
'<div id="login_error" class="modal-form-error"></div>'
);
}
$
(
'#login_error'
).
html
(
json
.
value
).
stop
().
css
(
"display"
,
"block"
);
}
});
})(
this
)
</script>
</
%
block>
<
%
include
file=
"../signup_modal.html"
/>
\ No newline at end of file
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