Skip to content
This repository
Browse code

Syncing up the latest template changes.

  • Loading branch information...
commit c93c2406ec6b0cf1c54ba75d677a33b6bbc34f77 1 parent 3bfa149
John Resig authored
91  exercise.html
... ...
@@ -1,91 +0,0 @@
1  
-<!DOCTYPE html>
2  
-<html id="exercise-page">
3  
-<head>
4  
-	<title>Exercise Editor</title>
5  
-	<link rel="stylesheet" href="css/style.css" />
6  
-	<link rel="stylesheet" href="css/jquery-ui.css" />
7  
-	<script src="js/jquery.js"></script>
8  
-	<script src="js/jquery-ui.js"></script>
9  
-	<script src="js/require.js"></script>
10  
-	<script src="js/editor.js"></script>
11  
-	<script src="js/utils.js"></script>
12  
-	<script src="js/exercise-ui.js"></script>
13  
-</head>
14  
-<body>
15  
-	<div class="toolbar ui-widget-header ui-corner-all">
16  
-		<a href="" id="new" class="ui-button">
17  
-			<span class="ui-icon-document"></span>
18  
-			<span class="ui-button-text">New</span>
19  
-		</a>
20  
-		<a href="" id="open" class="ui-button">
21  
-			<span class="ui-icon-folder-open"></span>
22  
-			<span class="ui-button-text">Open</span>
23  
-		</a>
24  
-		<a href="" id="save" class="ui-button ui-state-disabled">
25  
-			<span class="ui-icon-disk"></span>
26  
-			<span class="ui-button-text">Save</span>
27  
-		</a>
28  
-		<a href="" id="add-problem" class="ui-button ui-state-disabled">
29  
-			<span class="ui-icon-plusthick"></span>
30  
-			<span class="ui-button-text">Add Problem</span>
31  
-		</a>
32  
-		<a href="" id="reorder-problems" class="ui-button ui-state-disabled">
33  
-			<span class="ui-icon-shuffle"></span>
34  
-			<span class="ui-button-text">Re-order Problems</span>
35  
-		</a>
36  
-	</div>
37  
-	<div id="exercise-editor">
38  
-		<form action="" method="POST" class="editor-form">
39  
-			<div id="code-tabs">
40  
-				<ul>
41  
-					<li><a href="#start-code-tab">Starting Code</a></li>
42  
-					<li><a href="#finish-code-tab">Solution</a></li>
43  
-					<li><a href="#validate-code-tab">Validation</a></li>
44  
-					<li><a href="#hints-tab">Hints</a></li>
45  
-					<!--<li><a href="#options-tab">Options</a></li>-->
46  
-				</ul>
47  
-				<div id="start-code-tab" class="ui-tabs-hide"><div id="start-code" class="editor"></div></div>
48  
-				<div id="finish-code-tab" class="ui-tabs-hide"><div id="finish-code" class="editor"></div></div>
49  
-				<div id="validate-code-tab" class="ui-tabs-hide"><div id="validate-code" class="editor"></div></div>
50  
-				<div id="hints-tab" class="ui-tabs-hide">
51  
-					<a href="" class="add-hint ui-button">
52  
-						<span class="ui-icon-plusthick"></span>
53  
-						<span class="ui-button-text">Add Hint</span>
54  
-					</a>
55  
-					<div id="hints"></div>
56  
-				</div>
57  
-				<!--<div id="options-tab">
58  
-					<p>Module: <input type="text" id="module" placeholder="Module Name" /></p>
59  
-				</div>-->
60  
-				<div id="overlay"></div>
61  
-			</div>
62  
-		</form>
63  
-		<div id="tests"></div>
64  
-	</div>
65  
-	<script type="text/html" id="form-tmpl">
66  
-		<h3><a href='#' class='name'>Exercise</a></h3>
67  
-		<div>
68  
-			<form action="" method="POST">
69  
-				<input type="text" placeholder="Title" name="title" /><br/>
70  
-				<textarea name="desc" placeholder="Description"></textarea>
71  
-				<a href="" class="ui-button delete-problem">
72  
-					<span class="ui-icon-closethick"></span>
73  
-					<span class="ui-button-text">Remove</span>
74  
-				</a>
75  
-				<a href="" class="ui-button set-cursor">
76  
-					<span class="ui-icon-arrowthick-1-nw"></span>
77  
-					<span class="ui-button-text">Set Cursor</span>
78  
-				</a>
79  
-			</form>
80  
-		</div>
81  
-	</script>
82  
-	<script type="text/html" id="hint-tmpl">
83  
-		<div class="hint ui-state-default">
84  
-			<span class="ui-icon ui-icon-grip-dotted-horizontal grip"></span>
85  
-			<input type="text" class="hint-text" />
86  
-			<a href="" class="remove-hint ui-button">
87  
-				<span class="ui-icon-closethick"></span>
88  
-			</a></li>
89  
-	</script>
90  
-</body>
91  
-</html>
123  play.html
... ...
@@ -1,123 +0,0 @@
1  
-<!DOCTYPE html>
2  
-<html id="play-page">
3  
-<head>
4  
-	<title>Exercise Viewer</title>
5  
-	<link rel="stylesheet" href="css/style.css" />
6  
-	<link rel="stylesheet" href="css/jquery-ui.css" />
7  
-	<script src="js/jquery.js"></script>
8  
-	<script src="js/jquery-ui.js"></script>
9  
-	<script src="js/jquery.simulate.js"></script>
10  
-	<script src="js/require.js"></script>
11  
-	<script src="js/record.js"></script>
12  
-	<script src="js/editor.js"></script>
13  
-	<script src="js/canvas.js"></script>
14  
-	<script src="js/utils.js"></script>
15  
-	<script src="js/play-ui.js"></script>
16  
-</head>
17  
-<body>
18  
-	<h1></h1>
19  
-	<div id="exercise-tabs">
20  
-		<ul class="ui-tabs-nav"></ul>
21  
-		<div id="code">
22  
-			<div class="top-toolbar toolbar ui-widget-header ui-corner-bottom">
23  
-				<div id="playbar">
24  
-					<a href="" id="play" class="ui-button">
25  
-						<span class="ui-icon-play"></span>
26  
-					</a>
27  
-					<div id="progress"></div>
28  
-					<span id="timeleft"></span>
29  
-				</div>
30  
-			</div>
31  
-			<div id="canvas-editor">
32  
-				<div class="editor-box ui-widget-content ui-corner-all">
33  
-					<div id="editor"></div>
34  
-					<canvas id="canvas" width="640" height="360"></canvas>
35  
-					<div id="hint" class="tipbar">
36  
-						<a href="" class="close"><span class="ui-icon ui-icon-circle-close"></span></a>
37  
-						<div class="nav">
38  
-							<a href="" class="prev"><span class="ui-icon ui-icon-circle-triangle-w"></span> Prev</a>
39  
-							<a href="" class="next">Next <span class="ui-icon ui-icon-circle-triangle-e"></span></a>
40  
-						</div>
41  
-						<div class="text-wrap"><strong>Hint:</strong> <span class="text"></span></div>
42  
-					</div>
43  
-					<div id="error" class="tipbar">
44  
-						<a href="" class="close"><span class="ui-icon ui-icon-circle-close"></span></a>
45  
-						<div class="nav">
46  
-							<a href="" class="prev"><span class="ui-icon ui-icon-circle-triangle-w"></span> Prev</a>
47  
-							<a href="" class="next">Next <span class="ui-icon ui-icon-circle-triangle-e"></span></a>
48  
-						</div>
49  
-						<div class="text-wrap"><strong><span class="ui-icon ui-icon-alert"></span> Error:</strong> <span class="text"></span></div>
50  
-					</div>
51  
-					<div class="toolbar ui-widget-header ui-corner-bottom">
52  
-						<a href="" id="view-tests" class="ui-button ui-state-disabled">
53  
-							<span class="ui-icon-circle-check"></span>
54  
-							<span class="ui-button-text">Tests</span>
55  
-						</a>
56  
-						
57  
-						<a href="" id="get-hint" class="ui-button ui-state-disabled">
58  
-							<span class="ui-icon-info"></span>
59  
-							<span class="ui-button-text">Hints</span>
60  
-						</a>
61  
-						
62  
-						<a href="" id="run-code" class="ui-button right">
63  
-							<span class="ui-icon-script"></span>
64  
-							<span class="ui-button-text">Run Code</span>
65  
-						</a>
66  
-						
67  
-						<a href="" id="show-errors" class="ui-button ui-state-disabled right">
68  
-							<span class="ui-icon-alert"></span>
69  
-							<span class="ui-button-text">Errors</span>
70  
-						</a>
71  
-					</div>
72  
-				</div>
73  
-				
74  
-				<div id="tests">
75  
-					<div id="problem">
76  
-						<h3 class="title ui-helper-reset ui-corner-top"></h3>
77  
-						<div class="ui-widget-content ui-corner-bottom">
78  
-							<div class="desc">
79  
-								<div class="text"></div>
80  
-								<div id="next-problem-desc">
81  
-									<p><span class="ui-icon ui-icon-circle-check"></span> You've gotten this problem correct!</p>
82  
-									<a href="" id="next-problem" class="ui-button">
83  
-										<span class="ui-icon-triangle-1-e"></span>
84  
-										<span class="ui-button-text">Next Problem</span>
85  
-									</a>
86  
-								</div>
87  
-							</div>
88  
-						</div>
89  
-					</div>
90  
-					<div id="results">
91  
-						<h3 class="ui-helper-reset ui-corner-top">Test Results</h3>
92  
-						<div class="ui-widget-content ui-corner-bottom">
93  
-							<div class="desc">
94  
-								<ul></ul>
95  
-								
96  
-								<a href="" id="view-tests-2" class="ui-button">
97  
-									<span class="ui-icon-carat-1-w"></span>
98  
-									<span class="ui-button-text">Back to Your Code</span>
99  
-								</a>
100  
-							</div>
101  
-						</div>
102  
-					</div>
103  
-				</div>
104  
-				<div id="player"></div>
105  
-				<div id="play-overlay"></div>
106  
-			</div>
107  
-		</div>
108  
-	</div>
109  
-	<script type="text/html" id="tab-tmpl">
110  
-		<li>
111  
-			<a href='#code'><span class='ui-icon-pencil ui-icon'></span></a>
112  
-		</li>
113  
-	</script>
114  
-	<script type="text/html" id="form-tmpl">
115  
-		<div>
116  
-			<h3 class="title ui-helper-reset ui-corner-top">Exercise</h3>
117  
-			<div class="ui-widget-content ui-corner-bottom">
118  
-				<p class="desc">Exercise description.</p>
119  
-			</div>
120  
-		</div>
121  
-	</script>
122  
-</body>
123  
-</html>
61  record.html
... ...
@@ -1,61 +0,0 @@
1  
-<!DOCTYPE html>
2  
-<html>
3  
-<head>
4  
-	<title>Record Canvas Editor</title>
5  
-	<link rel="stylesheet" href="css/style.css" />
6  
-	<link rel="stylesheet" href="css/jquery-ui.css" />
7  
-	
8  
-	<script src="/canvas-editor/js/ace.js"></script>
9  
-	<script src="/canvas-editor/js/ace-mode-javascript.js"></script>
10  
-	<script src="/canvas-editor/js/ace-theme-textmate.js"></script>
11  
-	
12  
-	<script src="js/jquery.js"></script>
13  
-	<script src="js/jquery-ui.js"></script>
14  
-	<script src="js/jquery.simulate.js"></script>
15  
-	<script src="js/require.js"></script>
16  
-	<script src="js/record.js"></script>
17  
-	<script src="js/editor.js"></script>
18  
-	<script src="js/canvas.js"></script>
19  
-	<script src="js/utils.js"></script>
20  
-	<script src="js/record-ui.js"></script>
21  
-</head>
22  
-<body>
23  
-	<div class="toolbar ui-widget-header ui-corner-all">
24  
-		<a href="" id="record" class="ui-button">
25  
-			<span class="ui-icon-video"></span>
26  
-			<span class="ui-button-text">Record</span>
27  
-		</a>
28  
-		<a href="" id="save" class="ui-button ui-state-disabled">
29  
-			<span class="ui-icon-disk"></span>
30  
-			<span class="ui-button-text">Save</span>
31  
-		</a>
32  
-	</div>
33  
-	<div class="toolbar ui-widget-header ui-corner-all">
34  
-		<a href="" id="draw" class="ui-button">
35  
-			<span class="ui-icon-pencil"></span>
36  
-		</a>
37  
-		<a href="" id="clear" class="ui-button">
38  
-			<span class="ui-icon-cancel"></span>
39  
-		</a>
40  
-		<div class="space"></div>
41  
-		<a href="" class="ui-button color" id="black"><span></span></a>
42  
-		<a href="" class="ui-button color" id="red"><span></span></a>
43  
-		<a href="" class="ui-button color" id="orange"><span></span></a>
44  
-		<a href="" class="ui-button color" id="green"><span></span></a>
45  
-		<a href="" class="ui-button color" id="blue"><span></span></a>
46  
-		<a href="" class="ui-button color" id="lightblue"><span></span></a>
47  
-		<a href="" class="ui-button color" id="violet"><span></span></a>
48  
-	</div>
49  
-	<div id="canvas-editor">
50  
-		<div id="editor"></div>
51  
-		<canvas id="canvas" width="640" height="360"></canvas>
52  
-		<div id="tests"></div>
53  
-	</div>
54  
-	<script type="text/html" id="form-tmpl">
55  
-		<h3><a href='#' class='title'>Exercise</a></h3>
56  
-		<div>
57  
-			<p class="desc">Exercise description.</p>
58  
-		</div>
59  
-	</script>
60  
-</body>
61  
-</html>
12  templates/cs.html
... ...
@@ -1,10 +1,12 @@
1 1
 {% extends "labs/template.html" %}
2 2
 
3  
-{% block pagescript %}
4  
-<link rel="stylesheet" href="/canvas-editor/css/style.css" />
5  
-<script src="/canvas-editor/js/utils.js"></script>
6  
-<script src="/canvas-editor/js/main-ui.js"></script>
7  
-{% endblock pagescript %}
  3
+{% block pagecss %}
  4
+    {{ js_css_packages.css_package("canvas-editor") }}
  5
+{% endblock pagecss %}
  6
+
  7
+{% block bottompagescript %}
  8
+    {{ js_css_packages.js_package("canvas-editor-cs") }}
  9
+{% endblock bottompagescript %}
8 10
 
9 11
 {% block pagecontent %}
10 12
 <h1>Computer Science Exercises</h1>
18  templates/editor.html
... ...
@@ -1,19 +1,11 @@
1 1
 {% extends "labs/template.html" %}
2 2
 
3  
-{% block pagescript %}
4  
-
5  
-<link rel="stylesheet" href="/canvas-editor/css/style.css" />
6  
-<link rel="stylesheet" href="/canvas-editor/css/jquery-ui.css" />
7  
-
8  
-<script src="/canvas-editor/js/ace.js"></script>
9  
-<script src="/canvas-editor/js/ace-mode-javascript.js"></script>
10  
-<script src="/canvas-editor/js/ace-theme-textmate.js"></script>
11  
-
12  
-<script src="/canvas-editor/js/jquery-ui.js"></script>
13  
-<script src="/canvas-editor/js/editor.js"></script>
14  
-<script src="/canvas-editor/js/utils.js"></script>
15  
-<script src="/canvas-editor/js/exercise-ui.js"></script>
  3
+{% block pagecss %}
  4
+    {{ js_css_packages.css_package("canvas-editor") }}
  5
+{% endblock pagecss %}
16 6
 
  7
+{% block pagescript %}
  8
+{{ js_css_packages.js_package("canvas-editor") }}
17 9
 {% endblock pagescript %}
18 10
 
19 11
 {% block pagecontent %}
167  templates/exercise.html
... ...
@@ -1,26 +1,9 @@
1 1
 {% extends "labs/template.html" %}
2 2
 
3  
-{% block pagescript %}
  3
+{% block pagecss %}
  4
+{{ js_css_packages.css_package("canvas-editor") }}
  5
+{% endblock pagecss %}
4 6
 
5  
-<link rel="stylesheet" href="/canvas-editor/css/style.css" />
6  
-<link rel="stylesheet" href="/canvas-editor/css/jquery-ui.css" />
7  
-
8  
-<script src="/canvas-editor/js/oni-apollo.js"></script>
9  
-
10  
-<script src="/canvas-editor/js/ace.js"></script>
11  
-<script src="/canvas-editor/js/ace-mode-javascript.js"></script>
12  
-<script src="/canvas-editor/js/ace-theme-textmate.js"></script>
13  
-
14  
-<script src="/canvas-editor/js/jquery-ui.js"></script>
15  
-<script src="/canvas-editor/js/jquery.simulate.js"></script>
16  
-<script src="/canvas-editor/js/record.js"></script>
17  
-<script src="/canvas-editor/js/editor.js"></script>
18  
-<script src="/canvas-editor/js/canvas.js"></script>
19  
-<script src="/canvas-editor/js/utils.js"></script>
20  
-<script src="/canvas-editor/js/jshint.js"></script>
21  
-<script src="/canvas-editor/js/play-ui.js"></script>
22  
-
23  
-{% endblock pagescript %}
24 7
 
25 8
 {% block pagecontent %}
26 9
 
@@ -38,101 +21,90 @@
38 21
 				<span id="timeleft"></span>
39 22
 			</div>
40 23
 		</div>
41  
-		<div id="canvas-editor">
42  
-			<div id="editor-box-tabs">
43  
-				<ul id="editor-box-tabs-nav">
44  
-					<li><a href="#editor-box">Code</a></li>
45  
-					<li id="output-nav" class="ui-state-disabled"><a href="#output">Output</a></li>
46  
-					<!--<li class="ui-state-disabled"><a href="#editor-box">Tests</a></li>-->
  24
+		<div id="canvas-editor" class="row">
  25
+			<div id="tests" class="span5">
  26
+				<ul class="ui-tabs-nav">
  27
+					<li><a href="#task-tab">Problem</a></li>
47 28
 				</ul>
48  
-				
49  
-				<div id="editor-box" class="editor-box ui-widget-content ui-corner-top">
50  
-					<div id="editor" class="ui-corner-top"></div>
51  
-					<canvas id="canvas" width="640" height="360"></canvas>
52  
-					<div id="hint" class="tipbar">
53  
-						<a href="" class="close"><span class="ui-icon ui-icon-circle-close"></span></a>
54  
-						<div class="tipnav">
55  
-							<a href="" class="prev"><span class="ui-icon ui-icon-circle-triangle-w"></span> Prev</a>
56  
-							<a href="" class="next">Next <span class="ui-icon ui-icon-circle-triangle-e"></span></a>
  29
+				<div id="task-tab">
  30
+					<div id="problem">
  31
+						<div class="ui-widget-content ui-corner-all">
  32
+							<div class="desc">
  33
+								<div class="text"></div>
  34
+								<div id="next-problem-desc">
  35
+									<p><span class="ui-icon ui-icon-circle-check"></span> You've gotten this problem correct!</p>
  36
+								</div>
  37
+							</div>
57 38
 						</div>
58  
-						<div class="text-wrap"><strong>Hint:</strong> <span class="text"></span></div>
59 39
 					</div>
60  
-					<div id="error" class="tipbar">
61  
-						<a href="" class="close"><span class="ui-icon ui-icon-circle-close"></span></a>
62  
-						<div class="tipnav">
63  
-							<a href="" class="prev"><span class="ui-icon ui-icon-circle-triangle-w"></span> Prev</a>
64  
-							<a href="" class="next">Next <span class="ui-icon ui-icon-circle-triangle-e"></span></a>
  40
+					<div id="results">
  41
+						<h3 class="ui-helper-reset ui-corner-top">Tasks</h3>
  42
+						<div class="ui-widget-content">
  43
+							<div class="desc">
  44
+								<ul></ul>
  45
+							</div>
65 46
 						</div>
66  
-						<div class="text-wrap"><strong><span class="ui-icon ui-icon-alert"></span> Error:</strong> <span class="text"></span></div>
67 47
 					</div>
68  
-					<div class="toolbar ui-widget-header">
69  
-						<a href="" id="view-tests" class="ui-button ui-state-disabled">
70  
-							<span class="ui-icon-circle-check"></span>
71  
-							<span class="ui-button-text">Tests</span>
72  
-						</a>
73  
-					
74  
-						<a href="" id="get-hint" class="ui-button ui-state-disabled">
75  
-							<span class="ui-icon-info"></span>
76  
-							<span class="ui-button-text">Hints</span>
77  
-						</a>
  48
+				</div>
  49
+			</div>
  50
+
  51
+			<div id="editor-box" class="span8 editor-box ui-widget-content ui-corner-top">
  52
+				<div id="editor" class="editor ui-corner-top"></div>
  53
+				<canvas id="canvas" width="640" height="360"></canvas>
  54
+				<div class="toolbar ui-widget-header">
  55
+					<a href="" id="reset-code" class="ui-button">
  56
+						<span class="ui-icon-arrowreturnthick-1-w"></span>
  57
+						<span class="ui-button-text">Reset</span>
  58
+					</a>
78 59
 					
79  
-						<a href="" id="run-code" class="ui-button right">
80  
-							<span class="ui-icon-script"></span>
81  
-							<span class="ui-button-text">Run Code</span>
82  
-						</a>
  60
+					<a href="" class="next-problem ui-button right">
  61
+						<span class="ui-icon-triangle-1-e"></span>
  62
+						<span class="ui-button-text">Next Problem</span>
  63
+					</a>
83 64
 					
84  
-						<a href="" id="show-errors" class="ui-button ui-state-disabled right">
85  
-							<span class="ui-icon-alert"></span>
86  
-							<span class="ui-button-text">Errors</span>
87  
-						</a>
88  
-					</div>
  65
+					<a href="" id="get-hint" class="ui-button ui-state-disabled right">
  66
+						<span class="ui-icon-info"></span>
  67
+						<span class="ui-button-text">Hints</span>
  68
+					</a>
89 69
 				</div>
90  
-				<div id="output"></div>
91 70
 			</div>
92  
-			
93  
-			<div id="tests">
94  
-				<div id="problem">
95  
-					<h3 class="title ui-helper-reset ui-corner-top"></h3>
96  
-					<div class="ui-widget-content ui-corner-bottom">
97  
-						<div class="desc">
98  
-							<div class="text"></div>
99  
-							<div id="next-problem-desc">
100  
-								<p><span class="ui-icon ui-icon-circle-check"></span> You've gotten this problem correct!</p>
101  
-								<a href="" id="next-problem" class="ui-button">
102  
-									<span class="ui-icon-triangle-1-e"></span>
103  
-									<span class="ui-button-text">Next Problem</span>
104  
-								</a>
105  
-							</div>
106  
-						</div>
  71
+
  72
+			<div id="output" class="span7 side editor-box">
  73
+				<div class="overlay"></div>
  74
+				<div id="output-text"></div>
  75
+				<canvas id="output-canvas" width="400" height="360"></canvas>
  76
+				<div id="output-text-test"></div>
  77
+				<div id="tipbar" class="tipbar ui-state-hover">
  78
+					<a href="" class="close"><span class="ui-icon ui-icon-circle-close"></span></a>
  79
+					<div class="tipnav">
  80
+						<a href="" class="prev"><span class="ui-icon ui-icon-circle-triangle-w"></span> Prev</a>
  81
+						<a href="" class="next">Next <span class="ui-icon ui-icon-circle-triangle-e"></span></a>
107 82
 					</div>
108  
-				</div>
109  
-				<div id="results">
110  
-					<h3 class="ui-helper-reset ui-corner-top">Test Results</h3>
111  
-					<div class="ui-widget-content ui-corner-bottom">
112  
-						<div class="desc">
113  
-							<ul></ul>
114  
-							
115  
-							<a href="" id="view-tests-2" class="ui-button">
116  
-								<span class="ui-icon-carat-1-w"></span>
117  
-								<span class="ui-button-text">Back to Your Code</span>
118  
-							</a>
119  
-						</div>
  83
+					<div class="text-wrap">
  84
+						<strong></strong>
  85
+						<span class="text"></span>
120 86
 					</div>
121 87
 				</div>
  88
+				<div class="toolbar ui-widget-header">
  89
+					<a href="" id="restart-code" class="ui-button right">
  90
+						<span class="ui-icon-refresh"></span>
  91
+						<span class="ui-button-text">Restart</span>
  92
+					</a>
  93
+				</div>
122 94
 			</div>
123  
-			<div id="player"></div>
124  
-			<div id="play-overlay"></div>
125 95
 		</div>
126 96
 	</div>
127 97
 </div>
  98
+<div id="overlay"></div>
128 99
 </div>
129 100
 
130 101
 {% endblock pagecontent %}
131 102
  
132 103
 {% block bottompagescript %}
  104
+{{ js_css_packages.js_package("canvas-editor-exercise") }}
133 105
 
134 106
 <script type="text/html" id="tab-tmpl">
135  
-	<li>
  107
+	<li class="ui-state-disabled">
136 108
 		<a href='#code'><span class='ui-icon-pencil ui-icon'></span></a>
137 109
 	</li>
138 110
 </script>
@@ -144,16 +116,5 @@ <h3 class="title ui-helper-reset ui-corner-top">Exercise</h3>
144 116
 		</div>
145 117
 	</div>
146 118
 </script>
147  
-<script type="text/sjs">
148  
-window.input = function( msg ) {
149  
-	showInput( msg );
150  
-
151  
-	waitfor(var val) {
152  
-		window.doResume = resume;
153  
-	}
154  
-	
155  
-	return val;
156  
-};
157  
-</script>
158 119
 
159 120
 {% endblock bottompagescript %}

0 notes on commit c93c240

Please sign in to comment.
Something went wrong with that request. Please try again.