-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
370 lines (310 loc) · 15.5 KB
/
search.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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Search — <INSERT YOUR PROJECT NAME HERE></title>
<link rel="stylesheet" href="_static/basic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/bootstrap-3.0.0/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="_static/video.css" type="text/css" />
<link rel="stylesheet" href="_static/poll.css" type="text/css" />
<link rel="stylesheet" href="_static/tabbedstuff.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pytutor.css" type="text/css" />
<link rel="stylesheet" href="_static/css/basic.css" type="text/css" />
<link rel="stylesheet" href="_static/codemirror.css" type="text/css" />
<link rel="stylesheet" href="_static/activecode.css" type="text/css" />
<link rel="stylesheet" href="_static/parsons.css" type="text/css" />
<link rel="stylesheet" href="_static/lib/prettify.css" type="text/css" />
<link rel="stylesheet" href="_static/jquery-ui-1.10.3.custom.min.css" type="text/css" />
<link rel="stylesheet" href="_static/bootstrap-sphinx.css" type="text/css" />
<link rel="stylesheet" href="_static/user-highlights.css" type="text/css" />
<link rel="stylesheet" href="_static/runestone-custom-sphinx-bootstrap.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/poll.js"></script>
<script type="text/javascript" src="_static/js/d3.v2.min.js"></script>
<script type="text/javascript" src="_static/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="_static/js/jquery.ba-bbq.min.js"></script>
<script type="text/javascript" src="_static/js/jquery.jsPlumb-1.3.10-all-min.js"></script>
<script type="text/javascript" src="_static/js/pytutor.js"></script>
<script type="text/javascript" src="_static/jquery.highlight.js"></script>
<script type="text/javascript" src="_static/bookfuncs.js"></script>
<script type="text/javascript" src="_static/codemirror.js"></script>
<script type="text/javascript" src="_static/python.js"></script>
<script type="text/javascript" src="_static/javascript.js"></script>
<script type="text/javascript" src="_static/activecode.js"></script>
<script type="text/javascript" src="_static/skulpt.min.js"></script>
<script type="text/javascript" src="_static/skulpt-stdlib.js"></script>
<script type="text/javascript" src="_static/assess.js"></script>
<script type="text/javascript" src="_static/animationbase.js"></script>
<script type="text/javascript" src="_static/lib/jquery.min.js"></script>
<script type="text/javascript" src="_static/lib/jquery-ui.min.js"></script>
<script type="text/javascript" src="_static/lib/prettify.js"></script>
<script type="text/javascript" src="_static/lib/underscore-min.js"></script>
<script type="text/javascript" src="_static/lib/lis.js"></script>
<script type="text/javascript" src="_static/parsons.js"></script>
<script type="text/javascript" src="_static/parsons-noconflict.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" src="_static/searchtools.js"></script>
<script type="text/javascript" src="_static/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript" src="_static/jquery-fix.js"></script>
<script type="text/javascript" src="_static/bootstrap-3.0.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="_static/bootstrap-sphinx.js"></script>
<script type="text/javascript" src="_static/waypoints.min.js"></script>
<script type="text/javascript" src="_static/rangy-core.js"></script>
<script type="text/javascript" src="_static/rangy-textrange.js"></script>
<script type="text/javascript" src="_static/rangy-cssclassapplier.js"></script>
<script type="text/javascript" src="_static/user-highlights.js"></script>
<script type="text/javascript" src="_static/jquery.idle-timer.js"></script>
<script type="text/javascript" src="_static/processing-1.4.1.min.js"></script>
<script type="text/javascript" src="_static/jquery.hotkey.js"></script>
<link rel="top" title="<INSERT YOUR PROJECT NAME HERE>" href="index.html" />
<script type="text/javascript">
jQuery(function() { Search.loadIndex("searchindex.js"); });
</script>
<script type="text/javascript" id="searchindexloader"></script>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<script type="text/javascript">
eBookConfig = {};
eBookConfig.host = 'http://interactivepython.org' ? 'http://interactivepython.org' : 'http://127.0.0.1:8000';
eBookConfig.app = eBookConfig.host+'/runestone';
eBookConfig.ajaxURL = eBookConfig.app+'/ajax/';
eBookConfig.course = 'template';
eBookConfig.logLevel = 10;
eBookConfig.loginRequired = false
eBookConfig.build_info = "";
eBookConfig.isLoggedIn = false;
</script>
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&status=0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
</head>
<body>
<!-- Begin navbar -->
<div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<button type='button' class='navbar-toggle' data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div>
<a class="brand-logo" style='background: transparent url("_static/img/logo_small.png") no-repeat 0px 0px;' href="/runestone/default/user/login"> </a>
<a class="navbar-brand" href="index.html"><INSERT YOUR PROJECT NAME OR OTHER TITLE HERE></a>
</div>
</div>
<div class="navbar-collapse collapse navbar-ex1-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="divider-vertical"></li>
<!-- social media dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<i class="glyphicon glyphicon-share-alt" style="opacity: 0.9"></i>
</a>
<ul class="dropdown-menu social-menu">
<li>
<div>
<b>Runestone in social media:</b>
</div>
<a href="https://twitter.com/iRunestone" class="twitter-follow-button" data-show-count="true">Follow @iRunestone</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<div class="fb-like" data-href="https://www.facebook.com/RunestoneInteractive" data-send="false" data-layout="button_count" data-width="300" data-show-faces="false" data-font="arial"></div>
</li>
<li class="divider"></li>
<li>
<div>
<b>Help support us:</b>
</div>
<div class="gittip">
<iframe style="border:0;"
src="https://www.gittip.com/bnmnetp/widget.html"
width="48pt" height="22pt" class="gittip-button">
</iframe>
</div>
</li>
</ul>
</li>
<!-- end social media dropdown -->
<li class="divider-vertical"></li>
<!-- search dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<i class="glyphicon glyphicon-search" style='opacity:0.9;'></i>
</a>
<ul class='dropdown-menu'>
<li><a href='index.html'>Table of Contents</a></li>
<li><a href='/runestone/static/template/genindex.html'>Book Index</a></li>
<li class="divider"></li>
<li id="scratch_ac_link"><a href="javascript:toggleScratchActivecode()">Scratch ActiveCode</a></li>
<li class="divider"></li>
<li style="width: 240px;">
<form class="navbar-search" style="margin:10px;" action="#" method="get">
<div class="input-group">
<input type="text" class="form-control" name="q" placeholder="Search this book" />
<span class="input-group-btn">
<button class="btn btn-primary" style="margin:0;" type="submit">
<i class="glyphicon glyphicon-search"></i>
</button>
</span>
</div><!-- /input-group -->
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</li>
</ul>
</li>
<!-- end search dropdown -->
<li class="divider-vertical"></li>
<!-- user account dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<i class="glyphicon glyphicon-user" style="opacity:0.9;"></i>
</a>
<ul class="dropdown-menu user-menu">
<li><span class='loggedinuser'></span></li>
<li class="divider"></li>
<li><a href='http://interactivepython.org/runestone/admin/index'>Instructor's Page</a></li>
<li class="divider"></li>
<li><a href="http://interactivepython.org/runestone/default/user/profile" id="profilelink">Edit Profile</a></li>
<li><a href="http://interactivepython.org/runestone/default/user/change_password" id="passwordlink">Change Password</a></li>
<li><a href="http://interactivepython.org/runestone/default/user/register" id="registerlink">Register</a></li>
<li class='loginout'><a href='#'>Login</a></li> <!-- correct link populated by addNavbarLoginLink() -->
</ul>
</li>
<!-- end user account dropdown -->
<li class="divider-vertical"></li>
<!-- help menu dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<i class="glyphicon glyphicon-question-sign" style="opacity:0.9;"></i>
</a>
<ul class="dropdown-menu user-menu">
<li><a href='/runestone/static/template/navhelp.html'>Navigation Help</a></li>
<li><a href='/runestone/static/overview/instructor.html'>Help for Instructors</a></li>
<li class="divider"></li>
<li><a href='http://runestoneinteractive.org'>About Runestone</a></li>
<li><a href='https://github.com/bnmnetp/runestone/issues/new'>Report A Problem</a></li>
</ul>
</li>
<!-- end help menu dropdown -->
<li class="divider-vertical"></li>
</ul>
<ul class="nav navbar-nav">
<li class="divider-vertical"></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Page <b class="caret"></b></a>
<ul class="dropdown-menu localtoc"></ul>
</li>
<li class="divider-vertical"></li>
<script type="text/javascript">
opts = {'placement':'bottom',
'selector': '',
'delay': { show: 100, hide: 50}
};
$('#relations-prev').tooltip(opts);
$('#relations-next').tooltip(opts);
</script>
<li></li>
</ul>
</div>
</div>
</div>
<div class="container">
<h1 id="search-documentation">Search</h1>
<div id="fallback" class="admonition warning">
<script type="text/javascript">$('#fallback').hide();</script>
<p>
Please activate JavaScript to enable the search
functionality.
</p>
</div>
<p>
From here you can search these documents. Enter your search
words into the box below and click "search". Note that the search
function will automatically search for all of the words. Pages
containing fewer words won't appear in the result list.
</p>
<form action="" method="get">
<input type="text" name="q" value="" />
<input type="submit" value="search" />
<span id="search-progress" style="padding-left: 10px"></span>
</form>
<div id="search-results">
</div>
</div>
<footer class="footer">
<div class="container">
<p class="pull-right">
<span id='numuserspan'></span> readers online now | <span class='loggedinuser'></span> | <a href="#">Back to top</a>
</p>
<p>
© Copyright <ENTER YOUR COPYRIGHT NOTICE HERE>.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.2.1.
</p>
</div>
</footer>
<script type="text/javascript" charset="utf-8">
$(document).ready(addUserToFooter);
$(document).ready(addNavbarLoginLink);
$(document).ready(createEditors);
$(document).ready(getNumUsers);
$(document).ready(getOnlineUsers);
$(document).ready(createScratchActivecode());
$(document).ready(styleUnittestResults());
</script>
<script type="text/javascript">
// add the video play button overlay image
$(".video-play-overlay").each(function() {
$(this).css('background-image', "url(\'_static/play_overlay_icon.png\')")
});
// This function is needed to allow the dropdown search bar to work;
// The default behaviour is that the dropdown menu closes when something in
// it (like the search bar) is clicked
$(function() {
// Fix input element click problem
$('.dropdown input, .dropdown label').click(function(e) {
e.stopPropagation();
});
});
// style codelens buttons (doing it here because PyTutor is a submodule owned by someone else
$(function() {
$(".ExecutionVisualizer").each(function() {
$(this).find("#jmpFirstInstr").addClass('btn btn-default');
$(this).find("#jmpStepBack").addClass('btn btn-danger');
$(this).find("#jmpStepFwd").addClass('btn btn-success');
$(this).find("#jmpLastInstr").addClass('btn btn-default');
});
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32029811-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>