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
16415561
Commit
16415561
authored
Feb 22, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved around some of the js and autofocused the first part of the forms for enrollment and login
parent
24f4ea7f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
12 deletions
+26
-12
courseware.html
+1
-1
main.html
+6
-5
marketing.html
+13
-5
mitx_global.html
+3
-0
sass/application.scss
+1
-1
sass/layout/_leanmodal.scss
+1
-0
simplewiki_base.html
+1
-0
No files found.
courseware.html
View file @
16415561
<
%
inherit
file=
"main.html"
/>
<
%
inherit
file=
"main.html"
/>
<
%
block
name=
"
head
extra"
>
<
%
block
name=
"
js_
extra"
>
<!-- TODO: http://docs.jquery.com/Plugins/Validation -->
<!-- TODO: http://docs.jquery.com/Plugins/Validation -->
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
$
(
function
()
{
$
(
function
()
{
...
...
main.html
View file @
16415561
...
@@ -28,11 +28,6 @@
...
@@ -28,11 +28,6 @@
</script>
</script>
<script
type=
"text/javascript"
src=
"${ settings.LIB_URL }mathjax/MathJax.js?config=TeX-AMS_HTML-full"
></script>
<script
type=
"text/javascript"
src=
"${ settings.LIB_URL }mathjax/MathJax.js?config=TeX-AMS_HTML-full"
></script>
<script
type=
"text/javascript"
>
$
(
function
(){
$
(
"a[rel*=leanModal]"
).
leanModal
();
});
</script>
<
%
block
name=
"headextra"
/>
<
%
block
name=
"headextra"
/>
</head>
</head>
...
@@ -117,6 +112,12 @@ $(function() {
...
@@ -117,6 +112,12 @@ $(function() {
});
});
</script>
</script>
<script
type=
"text/javascript"
>
$
(
function
(){
$
(
"a[rel*=leanModal]"
).
leanModal
();
});
</script>
<
%
block
name=
"js_extra"
/>
<
%
block
name=
"js_extra"
/>
</body>
</body>
...
...
marketing.html
View file @
16415561
...
@@ -27,11 +27,6 @@
...
@@ -27,11 +27,6 @@
<script src="/static/js/html5shiv.js"></script>
<script src="/static/js/html5shiv.js"></script>
<![endif]-->
<![endif]-->
<script
type=
"text/javascript"
>
$
(
function
(){
$
(
"a[rel*=leanModal]"
).
leanModal
();
});
</script>
<
%
block
name=
"headextra"
/>
<
%
block
name=
"headextra"
/>
...
@@ -156,7 +151,20 @@ $(document).ready(function(){
...
@@ -156,7 +151,20 @@ $(document).ready(function(){
});
});
});
});
$
(
function
(){
$
(
"a[rel*=leanModal]"
).
leanModal
();
$
(
"a.login"
).
click
(
function
(){
$
(
"#login_form #li_email"
).
focus
();
});
$
(
"a.enroll"
).
click
(
function
(){
$
(
"#enroll_form #ca_email"
).
focus
();
});
});
</script>
</script>
<
%
block
name=
"js_extra"
/>
</body>
</body>
</html>
</html>
mitx_global.html
View file @
16415561
...
@@ -51,6 +51,8 @@
...
@@ -51,6 +51,8 @@
<iframe
id=
"player"
type=
"text/html"
width=
"560"
height=
"390"
src=
"http://www.youtube.com/embed/p2Q6BrNhdh8?enablejsapi=1"
frameborder=
"0"
>
<iframe
id=
"player"
type=
"text/html"
width=
"560"
height=
"390"
src=
"http://www.youtube.com/embed/p2Q6BrNhdh8?enablejsapi=1"
frameborder=
"0"
>
</iframe>
</iframe>
</div>
</div>
<
%
block
name=
"js_extra"
>
<script>
<script>
var
player
;
var
player
;
...
@@ -113,3 +115,4 @@ $(function() {
...
@@ -113,3 +115,4 @@ $(function() {
});
});
</script>
</script>
</
%
block>
sass/application.scss
View file @
16415561
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
@import
"jquery-ui-1.8.16.custom"
;
@import
"jquery-ui-1.8.16.custom"
;
// pages
// pages
@import
"courseware/courseware"
,
"courseware/sidebar"
,
"courseware/video"
,
"courseware/sequence-nav"
;
@import
"courseware/courseware"
,
"courseware/sidebar"
,
"courseware/video"
,
"courseware/sequence-nav"
,
"courseware/amplifier"
;
@import
"textbook"
;
@import
"textbook"
;
@import
"info"
;
@import
"info"
;
@import
"profile"
;
@import
"profile"
;
...
...
sass/layout/_leanmodal.scss
View file @
16415561
...
@@ -53,6 +53,7 @@ div.leanModal_box {
...
@@ -53,6 +53,7 @@ div.leanModal_box {
ol
{
ol
{
@extend
.clearfix
;
@extend
.clearfix
;
padding-top
:
lh
();
li
{
li
{
...
...
simplewiki_base.html
View file @
16415561
...
@@ -71,6 +71,7 @@
...
@@ -71,6 +71,7 @@
</
%
block>
</
%
block>
<
%
block
name=
"bodyextra"
>
<
%
block
name=
"bodyextra"
>
<
%
include
file=
"navigation.html"
args=
"active_page='wiki'"
/>
<
%
include
file=
"navigation.html"
args=
"active_page='wiki'"
/>
<section
class=
"main-content"
>
<section
class=
"main-content"
>
...
...
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