forked from Khan/khan-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
khan-exercise.html
155 lines (154 loc) · 8.47 KB
/
khan-exercise.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<!-- TODO: Update with real title -->
<title>Exercise Template</title>
</head>
<body class="light">
<div id="page-container">
<div id="page-container-inner">
<div id="fb-root"></div>
<header>
<div id="top-header">
<div id="top-header-links">
<span class="page_links" id="page_auth">
<span class="achievement-badge-counts" style="left:-60px;"></span>
<a href="http://www.khanacademy.org/login">Login</a>
<span class="separator"></span>
<a href="http://www.khanacademy.org/contribute" id="donate-link">Donate</a>
</span>
<div class="clear"></div>
<div id="nav-and-search">
<div id="sitewide-navigation">
<nav>
<span class="links">
<a href="http://www.khanacademy.org/#browse" class="watch-link">Watch</a>
<a href="http://www.khanacademy.org/exercisedashboard" class="selected practice-link">Practice</a>
<a href="http://www.khanacademy.org/class_profile">Coach</a>
<a href="http://www.khanacademy.org/contribute">Contribute</a>
<a href="http://www.khanacademy.org/about">About</a>
</span>
</nav>
</div>
<div id="search-box">
<form id="page_search" action="/search">
<input id="search-input" type="text" placeholder="Search for a video or playlist" name="page_search_query" value="" class="ui-corner-all placeholder ui-autocomplete-input" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"><input type="submit" value=" " id="search-submit" class="ui-autocomplete-input" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true">
</form>
</div>
<div class="clear"></div>
</div>
</div>
<div id="logo">
<a id="logo-image" href="http://www.khanacademy.org/" title="Khan Academy" name="logo-image"></a>
</div>
<div class="clear"></div>
</div>
</header>
<div id="container" class="single-exercise visited-no-recolor" style="overflow: hidden">
<div class="exercise-badge single-exercise" data-id="addition_1">
<div id="exercise-icon-container">
<div class="proficient-badge">
<img src="http://www.khanacademy.org/images/node-not-started.png" height="80" width="76">
</div>
</div>
<!-- TODO: Update with real point value -->
<div id="exercise-points" class="energy-points-badge">
225
</div>
<!-- TODO: Update with real title -->
<div class="exercise-title">
Addition 1
</div>
<div id="streak-bar-container">
<div class="streak-bar" title="Current streak: 0, Longest streak: 0">
<div class="longest-streak">
<div class="current-streak">
<ul class="unit-rating" style="width:228px;"></ul>
</div>
</div>
</div>
</div>
<div class="related-content">
<span class="related-content-title">Related videos:</span>
<ul id="related-video-list">
<!-- TODO:
<li>
<a href="http://www.khanacademy.org/video?v=AuX7nPBqDts" title="Basic Addition"><span class="video-title">Basic Addition</span></a>
</li>
-->
</ul>
</div>
</div><!-- TODO: Have this slide down when message is in here. -->
<div id="exercise-message-container" style="display: none;"></div>
<div id="extras" class="single-exercise">
<div id="back-to-dashboard-link" class="single-exercise">
<a href="http://www.khanacademy.org/exercisedashboard" title="Back to Dashboard">« Back to Dashboard</a>
</div>
<!-- TODO: Toggle scratch pad display -->
<a id="scratch_pad_show" href="">Show scratch pad</a> | <a href="http://www.khanacademy.org/printexercise?exid=addition_1&num_problems=10">Print next 10 problems</a>
</div>
<div>
<div id='problemarea'>
<div id='scratchpad'></div>
<div id='workarea'></div>
<div id='hintsarea'></div>
</div>
<div id="rawhintsarea"></div>
<div id="answer_area">
<form id="answerform" action="/registeranswer" method="get" name="answerform">
<div class="info-box fancy-scrollbar">
<input type="hidden" id="exid" name="exid" value="addition_1"> <input type="hidden" id="streak" name="streak" value="0"> <input type="hidden" id="key" name="key" value=""> <input type="hidden" id="start_time" name="start_time" value=""> <input type="hidden" id="correct" name="correct" value="0"> <input type="hidden" id="hint_used" name="hint_used" value="0"> <input type="hidden" id="time_warp" name="time_warp" value=""> <input type="hidden" id="problem_number" name="problem_number" value="1"> <span class="info-box-header">Answer</span>
<div id="solution"></div>
<input type="button" class="button green" id="check-answer-button" tabindex="10" value="Check Answer">
<span id="check-answer-results">
<span id="next-container" class="button" style="position:relative; display: none;">
<input id="next-question-button" type="button" class="button green" name="correctnextbutton" value="Correct! Next Question...">
<img src="http://www.khanacademy.org/images/throbber.gif" id="throbber" style="display:none;" name="throbber">
</span><br>
<img src="../css/images/face-sad.gif" id="sad" style="display: none;">
<img src="../css/images/face-smiley.gif" id="happy" style="display: none;">
</span> <!-- TODO: 'One-time warning: Using a hint will erase your streak.\nAre you sure you want to continue?' -->
</div>
<div class="info-box">
<span class="info-box-header">Need Help?</span> <span class="info-box-subheader">Watch a video</span> <span class="info-box-sub-description">Watching videos <strong>does not</strong> reset your streak.</span>
<div id="related-video-list">
<span class="related-content-title">Related videos:</span>
<ul id="related-video-list">
<!-- TODO:
<li>
<a href="http://www.khanacademy.org/video?v=AuX7nPBqDts" title="Basic Addition"><span class="video-title">Basic Addition</span></a>
<div class="video-energy-points" title="0 Energy Points earned for watching this video">
<span class="video-energy-points-current">0</span> of 750
</div>
<div class="clear"></div>
</li>
-->
</ul>
</div><span class="info-box-subheader">Get a hint</span> <span class="info-box-sub-description">Getting a hint <strong>will</strong> reset your streak!</span> <input id="hint" type="button" class="button orange" value="I'd like a hint" name="hint">
</div>
</form>
</div>
</div>
<div style="clear: both;"></div>
</div>
<div style="padding: 10px;">
</div>
<div id="badge-notification-container" class="badge-award-container" style="display:none;"></div>
</div>
</div>
<div class="push"></div>
<footer id="footer" class="short">
<div id="leaves">
<div class="inner">
<div id="copyright">
<small>©2011 Khan Academy™</small> <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" id="creative-commons-link" name="creative-commons-link"></a>
</div>
<span class="footer-links" style="padding-top: 10px;">
<a href="http://www.khanacademy.org/reportissue?type=Defect&issue_labels=Component-Code%2CExercise-addition_1%2CProblem-1" name="report-problem">Report a Problem</a><a href="http://www.khanacademy.org/about/the-team">Contact Us</a> <span class="sep">|</span> <a href="http://www.khanacademy.org/about">About</a> <a href="http://www.khanacademy.org/about/faq">FAQ</a> <a href="http://www.khanacademy.org/contribute/credits">Credits</a> <span class="sep">|</span> <a href="http://www.khanacademy.org/about/tos" title="Terms of Service">ToS</a> <a href="http://www.khanacademy.org/about/privacy-policy" title="Privacy Policy">Privacy Policy</a> <span class="sep">|</span> <a href="http://www.khanacademy.org/downloads">Downloads</a> <a href="http://www.khanacademy.org/coaches">Add a Coach</a>
</span>
</div>
</div>
</footer>
</body>
</html>