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
70424b1c
Commit
70424b1c
authored
Jan 20, 2012
by
cjt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lab support
parent
b05d2ce5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
main.html
+1
-0
schematicinput.html
+5
-5
No files found.
main.html
View file @
70424b1c
...
...
@@ -14,6 +14,7 @@
<script
type=
"text/javascript"
src=
"/static/lib/jquery.treeview.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/video_player.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/schematic.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/cktsim.js"
></script>
<!-- Warning: Do not upgrade FancyBox. V2.0 is under a non-free CC license -->
<script
type=
"text/javascript"
src=
"/static/lib/fancybox/jquery.fancybox-1.3.4.js"
></script>
...
...
schematicinput.html
View file @
70424b1c
<span>
<input
type=
"hidden"
class=
"schematic"
height=
"${height}"
width=
"${width}"
name=
"input_${id}"
id=
"input_${id}"
value=
""
/>
<div
id=
"hidden_${id}"
style=
"display:none"
>
${value}
</div>
<input
type=
"hidden"
class=
"schematic"
height=
"${height}"
width=
"${width}"
parts=
"${parts}"
analyses=
"${analyses}"
name=
"input_${id}"
id=
"input_${id}"
value=
""
initial_value=
""
/>
<div
id=
"value_${id}"
style=
"display:none"
>
${value}
</div>
<div
id=
"initial_value_${id}"
style=
"display:none"
>
${initial_value}
</div>
<script>
$
(
"#input_${id}"
).
attr
(
"value"
,
$
(
"#hidden_${id}"
).
text
())
$
(
"#input_${id}"
).
attr
(
"value"
,
$
(
"#value_${id}"
).
text
());
$
(
"#input_${id}"
).
attr
(
"initial_value"
,
$
(
"#initial_value_${id}"
).
text
());
</script>
<span
id=
"answer_${id}"
></span>
% if state == 'unsubmitted':
...
...
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