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
548d0491
Commit
548d0491
authored
Jan 01, 2012
by
Piotr Mitros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slight layout changes. Addition of trakcing.
parent
858d4fae
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
16 deletions
+35
-16
accordion.html
+1
-1
courseware.html
+11
-9
profile.html
+8
-0
staticbook.html
+3
-0
video.html
+12
-6
No files found.
accordion.html
View file @
548d0491
<
%
def
name=
"make_chapter(chapter)"
>
<
%
def
name=
"make_chapter(chapter)"
>
<h3><a
href=
"#"
>
${chapter['name']}
</a></h3>
<h3><a
href=
"#"
>
${chapter['name']}
</a></h3>
<div>
<div>
<ul>
<ul
style=
"margin-left:-2em;"
>
% for section in chapter['sections']:
% for section in chapter['sections']:
<li>
<div
<li>
<div
%
if
'
active
'
in
section
and
section
['
active
']
:
%
if
'
active
'
in
section
and
section
['
active
']
:
...
...
courseware.html
View file @
548d0491
...
@@ -21,15 +21,7 @@ $('#hide_acc').click(function() {
...
@@ -21,15 +21,7 @@ $('#hide_acc').click(function() {
});
});
</script>
</script>
<div
id=
"bodyContent"
>
<div
id=
"coursenav"
align=
right
width=
100%
>
<table
width=
100%
cellpadding=
0
><tr>
<td
width=
276
valign=
top
>
<div
id=
"accordion"
>
${accordion}
</div>
</td>
<td
valign=
top
>
<div
id=
"coursenav"
>
<a
href=
"/book"
>
Textbook
</a>
<a
href=
"/book"
>
Textbook
</a>
<span
class=
"ui-icon ui-icon-bullet"
style=
"display:inline-block;"
></span>
<span
class=
"ui-icon ui-icon-bullet"
style=
"display:inline-block;"
></span>
<a
href=
"/courseware"
><b>
Courseware
</b></a>
<a
href=
"/courseware"
><b>
Courseware
</b></a>
...
@@ -43,6 +35,16 @@ $('#hide_acc').click(function() {
...
@@ -43,6 +35,16 @@ $('#hide_acc').click(function() {
<a
href=
"/help"
>
Help
</a>
<span
class=
"ui-icon ui-icon-bullet"
style=
"display:inline-block;"
></span>
<a
href=
"/help"
>
Help
</a>
<span
class=
"ui-icon ui-icon-bullet"
style=
"display:inline-block;"
></span>
<a
href=
"/logout"
>
Log out
</a>
<a
href=
"/logout"
>
Log out
</a>
</div>
</div>
<div
id=
"bodyContent"
>
<table
width=
100%
cellpadding=
0
><tr>
<td
width=
276
valign=
top
>
<div
id=
"accordion"
style=
"position:relative; top:-6px; "
>
${accordion}
</div>
</td>
<td
valign=
top
>
<div>
<div>
${content}
${content}
</div>
</div>
...
...
profile.html
View file @
548d0491
...
@@ -5,6 +5,8 @@ var loc=true; // Activate on clicks? Not if already clicked.
...
@@ -5,6 +5,8 @@ var loc=true; // Activate on clicks? Not if already clicked.
var
lang
=
true
;
var
lang
=
true
;
$
(
function
()
{
$
(
function
()
{
$
(
"#change_location"
).
click
(
function
()
{
$
(
"#change_location"
).
click
(
function
()
{
log_event
(
"profile"
,
{
"type"
:
"location_show"
,
"old"
:
$
(
"#location_sub"
).
text
()});
if
(
loc
)
{
if
(
loc
)
{
$
(
"#description"
).
html
(
'<div style="color:#FF0000">'
+
$
(
"#description"
).
html
(
'<div style="color:#FF0000">'
+
"Preferred format is city, state, country (so for us, "
+
"Preferred format is city, state, country (so for us, "
+
...
@@ -19,12 +21,15 @@ $(function() {
...
@@ -19,12 +21,15 @@ $(function() {
$
(
"#location_sub"
).
text
(
json
.
location
);
$
(
"#location_sub"
).
text
(
json
.
location
);
loc
=
true
;
loc
=
true
;
$
(
"#description"
).
html
(
""
);
$
(
"#description"
).
html
(
""
);
log_event
(
"profile"
,
{
"type"
:
"location_change"
,
"new"
:
json
.
location
});
});
});
});
});
}
}
});
});
$
(
"#change_language"
).
click
(
function
()
{
$
(
"#change_language"
).
click
(
function
()
{
log_event
(
"profile"
,
{
"type"
:
"language_show"
,
"old"
:
$
(
"#language_sub"
).
text
()});
if
(
lang
)
{
if
(
lang
)
{
lang
=
false
;
lang
=
false
;
$
(
"#language_sub"
).
html
(
'<input id="id_lang_text" type="text" name="lang_text" />'
+
$
(
"#language_sub"
).
html
(
'<input id="id_lang_text" type="text" name="lang_text" />'
+
...
@@ -34,6 +39,7 @@ $(function() {
...
@@ -34,6 +39,7 @@ $(function() {
$
(
"#language_sub"
).
text
(
json
.
language
);
$
(
"#language_sub"
).
text
(
json
.
language
);
lang
=
true
;
lang
=
true
;
$
(
"#description"
).
html
(
""
);
$
(
"#description"
).
html
(
""
);
log_event
(
"profile"
,
{
"type"
:
"language_change"
,
"new"
:
json
.
language
});
});
});
});
});
}
}
...
@@ -45,12 +51,14 @@ $(function() {
...
@@ -45,12 +51,14 @@ $(function() {
$
(
'#change_password'
).
click
(
function
(){
$
(
'#change_password'
).
click
(
function
(){
$
(
'#inline'
).
trigger
(
'click'
);
$
(
'#inline'
).
trigger
(
'click'
);
log_event
(
"profile"
,
{
"type"
:
"password_show"
});
});
});
$
(
'#pwd_reset_button'
).
click
(
function
()
{
$
(
'#pwd_reset_button'
).
click
(
function
()
{
$
.
post
(
'/password_reset/'
,{
"csrfmiddlewaretoken"
:
"${ csrf }"
,
$
.
post
(
'/password_reset/'
,{
"csrfmiddlewaretoken"
:
"${ csrf }"
,
"email"
:
$
(
'#id_email'
).
val
()},
function
(
data
){
"email"
:
$
(
'#id_email'
).
val
()},
function
(
data
){
$
(
'#pwd_reset'
).
html
(
data
);
$
(
'#pwd_reset'
).
html
(
data
);
log_event
(
"profile"
,
{
"type"
:
"password_send"
});
});
});
});
});
})
})
...
...
staticbook.html
View file @
548d0491
...
@@ -7,6 +7,7 @@ $(document).ready(function(){
...
@@ -7,6 +7,7 @@ $(document).ready(function(){
});
});
function
goto_page
(
n
)
{
function
goto_page
(
n
)
{
log_event
(
"book"
,
{
"type"
:
"gotopage"
,
"old"
:
page
,
"new"
:
n
});
page
=
n
;
page
=
n
;
var
prefix
=
""
;
var
prefix
=
""
;
if
(
n
<
100
)
{
if
(
n
<
100
)
{
...
@@ -22,12 +23,14 @@ function prev_page() {
...
@@ -22,12 +23,14 @@ function prev_page() {
page
=
page
-
1
;
page
=
page
-
1
;
if
(
page
<
1
)
page
=
1
;
if
(
page
<
1
)
page
=
1
;
goto_page
(
page
);
goto_page
(
page
);
log_event
(
"book"
,
{
"type"
:
"prevpage"
,
"new"
:
page
});
}
}
function
next_page
()
{
function
next_page
()
{
page
=
page
+
1
;
page
=
page
+
1
;
if
(
page
>
1764
)
page
=
1764
;
if
(
page
>
1764
)
page
=
1764
;
goto_page
(
page
);
goto_page
(
page
);
log_event
(
"book"
,
{
"type"
:
"nextpage"
,
"new"
:
page
});
}
}
</script>
</script>
...
...
video.html
View file @
548d0491
<table>
<table>
<tr><td
rowspan=
1
3
colspan=
3
>
<tr><td
rowspan=
1
colspan=
4
>
<div
id=
"ytapiplayer"
>
<div
id=
"ytapiplayer"
>
You need Flash player 8+ and JavaScript enabled to view this video.
You need Flash player 8+ and JavaScript enabled to view this video.
</div>
</div>
</td>
</td>
<td
id=
stt_n5
align=
center
><div
id=
std_n5
onclick=
"title_seek(-5);"
>
</div></td></tr>
<td>
<table>
<tr><td
id=
stt_n5
align=
center
><div
id=
std_n7
onclick=
"title_seek(-7);"
>
</div></td></tr>
<tr><td
id=
stt_n4
align=
center
><div
id=
std_n6
onclick=
"title_seek(-6);"
>
</div></td></tr>
<tr><td
id=
stt_n4
align=
center
><div
id=
std_n5
onclick=
"title_seek(-5);"
>
</div></td></tr>
<tr><td
id=
stt_n4
align=
center
><div
id=
std_n4
onclick=
"title_seek(-4);"
>
</div></td></tr>
<tr><td
id=
stt_n4
align=
center
><div
id=
std_n4
onclick=
"title_seek(-4);"
>
</div></td></tr>
<tr><td
id=
stt_n3
align=
center
><div
id=
std_n3
onclick=
"title_seek(-3);"
>
</div></td></tr>
<tr><td
id=
stt_n3
align=
center
><div
id=
std_n3
onclick=
"title_seek(-3);"
>
</div></td></tr>
<tr><td
id=
stt_n2
align=
center
><div
id=
std_n2
onclick=
"title_seek(-2);"
>
</div></td></tr>
<tr><td
id=
stt_n2
align=
center
><div
id=
std_n2
onclick=
"title_seek(-2);"
>
</div></td></tr>
...
@@ -16,13 +20,15 @@
...
@@ -16,13 +20,15 @@
<tr><td
id=
stt_p4
align=
center
><div
id=
std_p4
onclick=
"title_seek( 4);"
>
</div></td></tr>
<tr><td
id=
stt_p4
align=
center
><div
id=
std_p4
onclick=
"title_seek( 4);"
>
</div></td></tr>
<tr><td
id=
stt_p5
align=
center
><div
id=
std_p5
onclick=
"title_seek( 5);"
>
</div></td></tr>
<tr><td
id=
stt_p5
align=
center
><div
id=
std_p5
onclick=
"title_seek( 5);"
>
</div></td></tr>
<tr><td
id=
stt_p6
align=
center
><div
id=
std_p7
onclick=
"title_seek( 6);"
>
</div></td></tr>
<tr><td
id=
stt_p6
align=
center
><div
id=
std_p7
onclick=
"title_seek( 6);"
>
</div></td></tr>
<tr><td
id=
stt_p6
align=
center
><div
id=
std_p7
onclick=
"title_seek( 7);"
>
</div></td></tr>
<tr><td
id=
stt_p6
align=
center
><div
id=
std_p7
onclick=
"title_seek( 8);"
>
</div></td></tr>
<tr><td><img
src=
"/static/pixel.jpg"
width=
400
height=
0
></td></tr>
<tr><td><img
src=
"/static/pixel.jpg"
width=
400
height=
0
></td></tr>
</table>
</td>
<tr><td
width=
15
><span
class=
"ui-icon ui-icon-play"
onclick=
"play();"
></span></td>
<tr><td
width=
15
><span
class=
"ui-icon ui-icon-play"
onclick=
"play();"
></span></td>
<td
width=
15
><span
class=
"ui-icon ui-icon-pause"
onclick=
"pause();"
></span></td>
<td
width=
15
><span
class=
"ui-icon ui-icon-pause"
onclick=
"pause();"
></span></td>
<td
colspan=
2
><div
id=
slider
></div></td></tr>
<td
colspan=
4
><div
id=
slider
></div></td></tr>
<tr><td
colspan=
4
><div
id=
"vidtime"
>
0:00/0:00
</div></td><td><div
align=
right
id=
"video_speeds"
>
</div></td></tr>
<tr><td
colspan=
4
align=
right
><div
align=
right
id=
"video_speeds"
>
</div></td></tr>
</table>
</table>
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