Show More
@@ -1,396 +1,400 | |||
|
1 | 1 | /** |
|
2 | 2 | * Primary styles |
|
3 | 3 | * |
|
4 | 4 | * Author: IPython Development Team |
|
5 | 5 | */ |
|
6 | 6 | |
|
7 | 7 | |
|
8 | 8 | body { |
|
9 | 9 | background-color: white; |
|
10 | 10 | /* This makes sure that the body covers the entire window and needs to |
|
11 | 11 | be in a different element than the display: box in wrapper below */ |
|
12 | 12 | position: absolute; |
|
13 | 13 | left: 0px; |
|
14 | 14 | right: 0px; |
|
15 | 15 | top: 0px; |
|
16 | 16 | bottom: 0px; |
|
17 | 17 | overflow: hidden; |
|
18 | 18 | } |
|
19 | 19 | |
|
20 | 20 | span#save_widget { |
|
21 | 21 | position: static; |
|
22 | 22 | left: 0px; |
|
23 | 23 | padding: 5px 0px; |
|
24 | 24 | margin: 0px 0px 0px 0px; |
|
25 | 25 | } |
|
26 | 26 | |
|
27 | 27 | span#quick_help_area { |
|
28 | 28 | position: static; |
|
29 | 29 | padding: 5px 0px; |
|
30 | 30 | margin: 0px 0px 0px 0px; |
|
31 | 31 | } |
|
32 | 32 | |
|
33 | 33 | input#notebook_name { |
|
34 | 34 | height: 1em; |
|
35 | 35 | line-height: 1em; |
|
36 | 36 | padding: 5px; |
|
37 | 37 | } |
|
38 | 38 | |
|
39 | 39 | span#kernel_status { |
|
40 | 40 | position: absolute; |
|
41 | 41 | padding: 8px 5px 5px 5px; |
|
42 | 42 | right: 10px; |
|
43 | 43 | font-weight: bold; |
|
44 | 44 | } |
|
45 | 45 | |
|
46 | 46 | |
|
47 | 47 | .status_idle { |
|
48 | 48 | color: gray; |
|
49 | 49 | visibility: hidden; |
|
50 | 50 | } |
|
51 | 51 | |
|
52 | 52 | .status_busy { |
|
53 | 53 | color: red; |
|
54 | 54 | } |
|
55 | 55 | |
|
56 | 56 | .status_restarting { |
|
57 | 57 | color: black; |
|
58 | 58 | } |
|
59 | 59 | |
|
60 | 60 | div#left_panel { |
|
61 | 61 | overflow-y: auto; |
|
62 | 62 | top: 0px; |
|
63 | 63 | left: 0px; |
|
64 | 64 | margin: 0px; |
|
65 | 65 | padding: 0px; |
|
66 | 66 | position: absolute; |
|
67 | 67 | } |
|
68 | 68 | |
|
69 | 69 | div.section_header { |
|
70 | 70 | padding: 5px; |
|
71 | 71 | } |
|
72 | 72 | |
|
73 | 73 | div.section_header h3 { |
|
74 | 74 | display: inline; |
|
75 | 75 | } |
|
76 | 76 | |
|
77 | 77 | div.section_content { |
|
78 | 78 | padding: 5px; |
|
79 | 79 | } |
|
80 | 80 | |
|
81 | 81 | span.section_row_buttons button { |
|
82 | 82 | width: 70px; |
|
83 | 83 | } |
|
84 | 84 | |
|
85 | 85 | span.section_row_buttons a { |
|
86 | 86 | width: 70px; |
|
87 | 87 | } |
|
88 | 88 | |
|
89 | 89 | .section_row { |
|
90 | 90 | margin: 5px 0px; |
|
91 | 91 | } |
|
92 | 92 | |
|
93 | 93 | .section_row_buttons { |
|
94 | 94 | float: right; |
|
95 | 95 | } |
|
96 | 96 | |
|
97 | 97 | #kernel_persist { |
|
98 | 98 | float: right; |
|
99 | 99 | } |
|
100 | 100 | |
|
101 | 101 | .help_string { |
|
102 | 102 | float: right; |
|
103 | 103 | width: 170px; |
|
104 | 104 | padding: 0px 5px; |
|
105 | 105 | text-align: left; |
|
106 | 106 | font-size: 85%; |
|
107 | 107 | } |
|
108 | 108 | |
|
109 | 109 | .help_string_label { |
|
110 | 110 | float: right; |
|
111 | 111 | font-size: 85%; |
|
112 | 112 | } |
|
113 | 113 | |
|
114 | 114 | #autoindent_span { |
|
115 | 115 | float: right; |
|
116 | 116 | } |
|
117 | 117 | |
|
118 | #timebeforetooltip_span { | |
|
119 | float: right; | |
|
120 | } | |
|
121 | ||
|
118 | 122 | #tooltipontab_span { |
|
119 | 123 | float: right; |
|
120 | 124 | } |
|
121 | 125 | |
|
122 | 126 | #smartcompleter_span { |
|
123 | 127 | float: right; |
|
124 | 128 | } |
|
125 | 129 | |
|
126 | 130 | .checkbox_label { |
|
127 | 131 | font-size: 85%; |
|
128 | 132 | float: right; |
|
129 | 133 | padding: 0.3em; |
|
130 | 134 | } |
|
131 | 135 | |
|
132 | 136 | .section_row_header { |
|
133 | 137 | float: left; |
|
134 | 138 | font-size: 85%; |
|
135 | 139 | padding: 0.4em 0em; |
|
136 | 140 | font-weight: bold; |
|
137 | 141 | } |
|
138 | 142 | |
|
139 | 143 | span.button_label { |
|
140 | 144 | padding: 0.2em 1em; |
|
141 | 145 | font-size: 77%; |
|
142 | 146 | float: right; |
|
143 | 147 | } |
|
144 | 148 | |
|
145 | 149 | /* This is needed because FF was adding a 2px margin top and bottom. */ |
|
146 | 150 | .section_row .ui-button { |
|
147 | 151 | margin-top: 0px; |
|
148 | 152 | margin-bottom: 0px; |
|
149 | 153 | } |
|
150 | 154 | |
|
151 | 155 | #download_format { |
|
152 | 156 | float: right; |
|
153 | 157 | font-size: 85%; |
|
154 | 158 | width: 62px; |
|
155 | 159 | margin: 1px 5px; |
|
156 | 160 | } |
|
157 | 161 | |
|
158 | 162 | div#left_panel_splitter { |
|
159 | 163 | width: 8px; |
|
160 | 164 | top: 0px; |
|
161 | 165 | left: 202px; |
|
162 | 166 | margin: 0px; |
|
163 | 167 | padding: 0px; |
|
164 | 168 | position: absolute; |
|
165 | 169 | } |
|
166 | 170 | |
|
167 | 171 | div#notebook_panel { |
|
168 | 172 | /* The L margin will be set in the Javascript code*/ |
|
169 | 173 | margin: 0px 0px 0px 0px; |
|
170 | 174 | padding: 0px; |
|
171 | 175 | } |
|
172 | 176 | |
|
173 | 177 | div#notebook { |
|
174 | 178 | overflow-y: scroll; |
|
175 | 179 | overflow-x: auto; |
|
176 | 180 | width: 100%; |
|
177 | 181 | /* This spaces the cell away from the edge of the notebook area */ |
|
178 | 182 | padding: 5px 5px 15px 5px; |
|
179 | 183 | margin: 0px |
|
180 | 184 | background-color: white; |
|
181 | 185 | } |
|
182 | 186 | |
|
183 | 187 | div#pager_splitter { |
|
184 | 188 | height: 8px; |
|
185 | 189 | } |
|
186 | 190 | |
|
187 | 191 | div#pager { |
|
188 | 192 | padding: 15px; |
|
189 | 193 | overflow: auto; |
|
190 | 194 | } |
|
191 | 195 | |
|
192 | 196 | div.cell { |
|
193 | 197 | width: 100%; |
|
194 | 198 | padding: 5px 5px 5px 0px; |
|
195 | 199 | /* This acts as a spacer between cells, that is outside the border */ |
|
196 | 200 | margin: 2px 0px 2px 0px; |
|
197 | 201 | } |
|
198 | 202 | |
|
199 | 203 | div.code_cell { |
|
200 | 204 | background-color: white; |
|
201 | 205 | } |
|
202 | 206 | /* any special styling for code cells that are currently running goes here */ |
|
203 | 207 | div.code_cell.running { |
|
204 | 208 | } |
|
205 | 209 | |
|
206 | 210 | div.prompt { |
|
207 | 211 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ |
|
208 | 212 | width: 11ex; |
|
209 | 213 | /* This 0.4em is tuned to match the padding on the CodeMirror editor. */ |
|
210 | 214 | padding: 0.4em; |
|
211 | 215 | margin: 0px; |
|
212 | 216 | font-family: monospace; |
|
213 | 217 | text-align:right; |
|
214 | 218 | } |
|
215 | 219 | |
|
216 | 220 | div.input { |
|
217 | 221 | page-break-inside: avoid; |
|
218 | 222 | } |
|
219 | 223 | |
|
220 | 224 | /* input_area and input_prompt must match in top border and margin for alignment */ |
|
221 | 225 | div.input_area { |
|
222 | 226 | color: black; |
|
223 | 227 | border: 1px solid #ddd; |
|
224 | 228 | border-radius: 3px; |
|
225 | 229 | background: #f7f7f7; |
|
226 | 230 | } |
|
227 | 231 | |
|
228 | 232 | div.input_prompt { |
|
229 | 233 | color: navy; |
|
230 | 234 | border-top: 1px solid transparent; |
|
231 | 235 | } |
|
232 | 236 | |
|
233 | 237 | div.output { |
|
234 | 238 | /* This is a spacer between the input and output of each cell */ |
|
235 | 239 | margin-top: 5px; |
|
236 | 240 | } |
|
237 | 241 | |
|
238 | 242 | div.output_prompt { |
|
239 | 243 | color: darkred; |
|
240 | 244 | } |
|
241 | 245 | |
|
242 | 246 | /* This class is the outer container of all output sections. */ |
|
243 | 247 | div.output_area { |
|
244 | 248 | padding: 0px; |
|
245 | 249 | page-break-inside: avoid; |
|
246 | 250 | } |
|
247 | 251 | |
|
248 | 252 | /* This class is for the output subarea inside the output_area and after |
|
249 | 253 | the prompt div. */ |
|
250 | 254 | div.output_subarea { |
|
251 | 255 | padding: 0.4em 6.1em 0.4em 0.4em; |
|
252 | 256 | } |
|
253 | 257 | |
|
254 | 258 | /* The rest of the output_* classes are for special styling of the different |
|
255 | 259 | output types */ |
|
256 | 260 | |
|
257 | 261 | /* all text output has this class: */ |
|
258 | 262 | div.output_text { |
|
259 | 263 | text-align: left; |
|
260 | 264 | color: black; |
|
261 | 265 | font-family: monospace; |
|
262 | 266 | } |
|
263 | 267 | |
|
264 | 268 | /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */ |
|
265 | 269 | div.output_stream { |
|
266 | 270 | padding-top: 0.0em; |
|
267 | 271 | padding-bottom: 0.0em; |
|
268 | 272 | } |
|
269 | 273 | div.output_stdout { |
|
270 | 274 | } |
|
271 | 275 | div.output_stderr { |
|
272 | 276 | background: #fdd; /* very light red background for stderr */ |
|
273 | 277 | } |
|
274 | 278 | |
|
275 | 279 | div.output_latex { |
|
276 | 280 | text-align: left; |
|
277 | 281 | color: black; |
|
278 | 282 | } |
|
279 | 283 | |
|
280 | 284 | div.output_html { |
|
281 | 285 | } |
|
282 | 286 | |
|
283 | 287 | div.output_png { |
|
284 | 288 | } |
|
285 | 289 | |
|
286 | 290 | div.output_jpeg { |
|
287 | 291 | } |
|
288 | 292 | |
|
289 | 293 | div.text_cell { |
|
290 | 294 | background-color: white; |
|
291 | 295 | } |
|
292 | 296 | |
|
293 | 297 | div.text_cell_input { |
|
294 | 298 | color: black; |
|
295 | 299 | } |
|
296 | 300 | |
|
297 | 301 | div.text_cell_render { |
|
298 | 302 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
299 | 303 | outline: none; |
|
300 | 304 | resize: none; |
|
301 | 305 | width: inherit; |
|
302 | 306 | border-style: none; |
|
303 | 307 | padding: 5px; |
|
304 | 308 | color: black; |
|
305 | 309 | } |
|
306 | 310 | |
|
307 | 311 | .CodeMirror { |
|
308 | 312 | line-height: 1.231; /* Changed from 1em to our global default */ |
|
309 | 313 | } |
|
310 | 314 | |
|
311 | 315 | .CodeMirror-scroll { |
|
312 | 316 | height: auto; /* Changed to auto to autogrow */ |
|
313 | 317 | /* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/ |
|
314 | 318 | /* We have found that if it is visible, vertical scrollbars appear with font size changes.*/ |
|
315 | 319 | overflow-y: hidden; |
|
316 | 320 | overflow-x: auto; /* Changed from auto to remove scrollbar */ |
|
317 | 321 | } |
|
318 | 322 | |
|
319 | 323 | /* CSS font colors for translated ANSI colors. */ |
|
320 | 324 | |
|
321 | 325 | |
|
322 | 326 | .ansiblack {color: black;} |
|
323 | 327 | .ansired {color: darkred;} |
|
324 | 328 | .ansigreen {color: darkgreen;} |
|
325 | 329 | .ansiyellow {color: brown;} |
|
326 | 330 | .ansiblue {color: darkblue;} |
|
327 | 331 | .ansipurple {color: darkviolet;} |
|
328 | 332 | .ansicyan {color: steelblue;} |
|
329 | 333 | .ansigrey {color: grey;} |
|
330 | 334 | .ansibold {font-weight: bold;} |
|
331 | 335 | |
|
332 | 336 | .completions , .tooltip{ |
|
333 | 337 | position: absolute; |
|
334 | 338 | z-index: 10; |
|
335 | 339 | overflow: auto; |
|
336 | 340 | border: 1px solid black; |
|
337 | 341 | } |
|
338 | 342 | |
|
339 | 343 | .completions select { |
|
340 | 344 | background: white; |
|
341 | 345 | outline: none; |
|
342 | 346 | border: none; |
|
343 | 347 | padding: 0px; |
|
344 | 348 | margin: 0px; |
|
345 | 349 | font-family: monospace; |
|
346 | 350 | } |
|
347 | 351 | |
|
348 | 352 | @-moz-keyframes fadeIn { |
|
349 | 353 | from {opacity:0;} |
|
350 | 354 | to {opacity:1;} |
|
351 | 355 | } |
|
352 | 356 | |
|
353 | 357 | @-webkit-keyframes fadeIn { |
|
354 | 358 | from {opacity:0;} |
|
355 | 359 | to {opacity:1;} |
|
356 | 360 | } |
|
357 | 361 | |
|
358 | 362 | @keyframes fadeIn { |
|
359 | 363 | from {opacity:0;} |
|
360 | 364 | to {opacity:1;} |
|
361 | 365 | } |
|
362 | 366 | |
|
363 | 367 | |
|
364 | 368 | .tooltip{ |
|
365 | 369 | border-radius: 0px 10px 10px 10px; |
|
366 | 370 | box-shadow: 3px 3px 5px #999; |
|
367 | 371 | -webkit-animation: fadeIn 200ms; |
|
368 | 372 | -moz-animation: fadeIn 200ms; |
|
369 | 373 | animation: fadeIn 200ms; |
|
370 | 374 | vertical-align: middle; |
|
371 | 375 | background: #FDFDD8; |
|
372 | 376 | outline: none; |
|
373 | 377 | padding: 3px; |
|
374 | 378 | margin: 0px; |
|
375 | 379 | font-family: monospace; |
|
376 | 380 | } |
|
377 | 381 | |
|
378 | 382 | @media print { |
|
379 | 383 | body { overflow: visible !important; } |
|
380 | 384 | .ui-widget-content { border: 0px; } |
|
381 | 385 | } |
|
382 | 386 | |
|
383 | 387 | .shortcut_key { |
|
384 | 388 | display: inline-block; |
|
385 | 389 | width: 13ex; |
|
386 | 390 | text-align: right; |
|
387 | 391 | font-family: monospace; |
|
388 | 392 | } |
|
389 | 393 | |
|
390 | 394 | .shortcut_descr { |
|
391 | 395 | } |
|
392 | 396 | |
|
393 | 397 | /* Word-wrap output correctly. This is the CSS3 spelling, though Firefox seems |
|
394 | 398 | to not honor it correctly. Webkit browsers (Chrome, rekonq, Safari) do. |
|
395 | 399 | */ |
|
396 | 400 | pre, code, kbd, samp { white-space: pre-wrap; } |
@@ -1,327 +1,327 | |||
|
1 | 1 | <!DOCTYPE HTML> |
|
2 | 2 | <html> |
|
3 | 3 | |
|
4 | 4 | <head> |
|
5 | 5 | <meta charset="utf-8"> |
|
6 | 6 | |
|
7 | 7 | <title>IPython Notebook</title> |
|
8 | 8 | |
|
9 | 9 | <!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script> --> |
|
10 | 10 | <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script> |
|
11 | 11 | <script type="text/javascript"> |
|
12 | 12 | function CheckMathJax(){ |
|
13 | 13 | var div=document.getElementById("MathJaxFetchingWarning") |
|
14 | 14 | if(window.MathJax){ |
|
15 | 15 | document.body.removeChild(div) |
|
16 | 16 | } |
|
17 | 17 | else{ |
|
18 | 18 | div.style.display = "block"; |
|
19 | 19 | } |
|
20 | 20 | } |
|
21 | 21 | if (typeof MathJax == 'undefined') { |
|
22 | 22 | console.log("No local MathJax, loading from CDN"); |
|
23 | 23 | document.write(unescape("%3Cscript type='text/javascript' src='http://cdn.mathjax.org/mathjax/latest/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E")); |
|
24 | 24 | }else{ |
|
25 | 25 | console.log("Using local MathJax"); |
|
26 | 26 | } |
|
27 | 27 | </script> |
|
28 | 28 | |
|
29 | 29 | <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" /> |
|
30 | 30 | <link rel="stylesheet" href="static/codemirror/lib/codemirror.css"> |
|
31 | 31 | <link rel="stylesheet" href="static/codemirror/mode/markdown/markdown.css"> |
|
32 | 32 | <link rel="stylesheet" href="static/codemirror/mode/rst/rst.css"> |
|
33 | 33 | <link rel="stylesheet" href="static/codemirror/theme/ipython.css"> |
|
34 | 34 | <link rel="stylesheet" href="static/codemirror/theme/default.css"> |
|
35 | 35 | |
|
36 | 36 | <link rel="stylesheet" href="static/prettify/prettify.css"/> |
|
37 | 37 | |
|
38 | 38 | <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" /> |
|
39 | 39 | <link rel="stylesheet" href="static/css/layout.css" type="text/css" /> |
|
40 | 40 | <link rel="stylesheet" href="static/css/base.css" type="text/css" /> |
|
41 | 41 | <link rel="stylesheet" href="static/css/notebook.css" type="text/css" /> |
|
42 | 42 | <link rel="stylesheet" href="static/css/renderedhtml.css" type="text/css" /> |
|
43 | 43 | |
|
44 | 44 | <meta name="read_only" content="{{read_only}}"/> |
|
45 | 45 | |
|
46 | 46 | </head> |
|
47 | 47 | |
|
48 | 48 | <body onload='CheckMathJax();' |
|
49 | 49 | data-project={{project}} data-notebook-id={{notebook_id}} |
|
50 | 50 | data-base-project-url={{base_project_url}} data-base-kernel-url={{base_kernel_url}} |
|
51 | 51 | > |
|
52 | 52 | |
|
53 | 53 | <div id="header"> |
|
54 | 54 | <span id="ipython_notebook"><h1>IPython Notebook</h1></span> |
|
55 | 55 | <span id="save_widget"> |
|
56 | 56 | <input type="text" id="notebook_name" size="20"></textarea> |
|
57 | 57 | <button id="save_notebook"><u>S</u>ave</button> |
|
58 | 58 | </span> |
|
59 | 59 | <span id="quick_help_area"> |
|
60 | 60 | <button id="quick_help">Quick<u>H</u>elp</button> |
|
61 | 61 | </span> |
|
62 | 62 | |
|
63 | 63 | <span id="login_widget"> |
|
64 | 64 | {% comment This is a temporary workaround to hide the logout button %} |
|
65 | 65 | {% comment when appropriate until notebook.html is templated %} |
|
66 | 66 | {% if current_user and current_user != 'anonymous' %} |
|
67 | 67 | <button id="logout">Logout</button> |
|
68 | 68 | {% end %} |
|
69 | 69 | </span> |
|
70 | 70 | |
|
71 | 71 | <span id="kernel_status">Idle</span> |
|
72 | 72 | </div> |
|
73 | 73 | |
|
74 | 74 | <div id="MathJaxFetchingWarning" |
|
75 | 75 | style="width:80%; margin:auto;padding-top:20%;text-align: justify; display:none"> |
|
76 | 76 | <p style="font-size:26px;">There was an issue trying to fetch MathJax.js |
|
77 | 77 | from the internet.</p> |
|
78 | 78 | |
|
79 | 79 | <p style="padding:0.2em"> With a working internet connection, you can run |
|
80 | 80 | the following at a Python or IPython prompt, which will install a local |
|
81 | 81 | copy of MathJax:</p> |
|
82 | 82 | |
|
83 | 83 | <pre style="background-color:lightblue;border:thin silver solid;padding:0.4em"> |
|
84 | 84 | from IPython.external import mathjax; mathjax.install_mathjax() |
|
85 | 85 | </pre> |
|
86 | 86 | This will try to install MathJax into the directory where you installed |
|
87 | 87 | IPython. If you installed IPython to a location that requires |
|
88 | 88 | administrative privileges to write, you will need to make this call as |
|
89 | 89 | an administrator. On OSX/Linux/Unix, this can be done at the |
|
90 | 90 | command-line via: |
|
91 | 91 | <pre style="background-color:lightblue;border:thin silver solid;padding:0.4em"> |
|
92 | 92 | sudo python -c "from IPython.external import mathjax; mathjax.install_mathjax()" |
|
93 | 93 | </pre> |
|
94 | 94 | </p> |
|
95 | 95 | </div> |
|
96 | 96 | |
|
97 | 97 | <div id="main_app"> |
|
98 | 98 | |
|
99 | 99 | <div id="left_panel"> |
|
100 | 100 | |
|
101 | 101 | <div id="notebook_section"> |
|
102 | 102 | <div class="section_header"> |
|
103 | 103 | <h3>Notebook</h3> |
|
104 | 104 | </div> |
|
105 | 105 | <div class="section_content"> |
|
106 | 106 | <div class="section_row"> |
|
107 | 107 | <span id="new_open" class="section_row_buttons"> |
|
108 | 108 | <button id="new_notebook">New</button> |
|
109 | 109 | <button id="open_notebook">Open</button> |
|
110 | 110 | </span> |
|
111 | 111 | <span class="section_row_header">Actions</span> |
|
112 | 112 | </div> |
|
113 | 113 | <div class="section_row"> |
|
114 | 114 | <span> |
|
115 | 115 | <select id="download_format"> |
|
116 | 116 | <option value="json">ipynb</option> |
|
117 | 117 | <option value="py">py</option> |
|
118 | 118 | </select> |
|
119 | 119 | </span> |
|
120 | 120 | <span class="section_row_buttons"> |
|
121 | 121 | <button id="download_notebook">Download</button> |
|
122 | 122 | </span> |
|
123 | 123 | </div> |
|
124 | 124 | <div class="section_row"> |
|
125 | 125 | <span class="section_row_buttons"> |
|
126 | 126 | <span id="print_widget"> |
|
127 | 127 | <button id="print_notebook">Print</button> |
|
128 | 128 | </span> |
|
129 | 129 | </span> |
|
130 | 130 | </div> |
|
131 | 131 | </div> |
|
132 | 132 | </div> |
|
133 | 133 | |
|
134 | 134 | <div id="cell_section"> |
|
135 | 135 | <div class="section_header"> |
|
136 | 136 | <h3>Cell</h3> |
|
137 | 137 | </div> |
|
138 | 138 | <div class="section_content"> |
|
139 | 139 | <div class="section_row"> |
|
140 | 140 | <span class="section_row_buttons"> |
|
141 | 141 | <button id="delete_cell"><u>D</u>elete</button> |
|
142 | 142 | </span> |
|
143 | 143 | <span class="section_row_header">Actions</span> |
|
144 | 144 | </div> |
|
145 | 145 | <div class="section_row"> |
|
146 | 146 | <span id="cell_type" class="section_row_buttons"> |
|
147 | 147 | <button id="to_code"><u>C</u>ode</button> |
|
148 | 148 | <!-- <button id="to_html">HTML</button>--> |
|
149 | 149 | <button id="to_markdown"><u>M</u>arkdown</button> |
|
150 | 150 | </span> |
|
151 | 151 | <span class="button_label">Format</span> |
|
152 | 152 | </div> |
|
153 | 153 | <div class="section_row"> |
|
154 | 154 | <span id="cell_output" class="section_row_buttons"> |
|
155 | 155 | <button id="toggle_output"><u>T</u>oggle</button> |
|
156 | 156 | <button id="clear_all_output">ClearAll</button> |
|
157 | 157 | </span> |
|
158 | 158 | <span class="button_label">Output</span> |
|
159 | 159 | </div> |
|
160 | 160 | <div class="section_row"> |
|
161 | 161 | <span id="insert" class="section_row_buttons"> |
|
162 | 162 | <button id="insert_cell_above"><u>A</u>bove</button> |
|
163 | 163 | <button id="insert_cell_below"><u>B</u>elow</button> |
|
164 | 164 | </span> |
|
165 | 165 | <span class="button_label">Insert</span> |
|
166 | 166 | </div> |
|
167 | 167 | <div class="section_row"> |
|
168 | 168 | <span id="move" class="section_row_buttons"> |
|
169 | 169 | <button id="move_cell_up">Up</button> |
|
170 | 170 | <button id="move_cell_down">Down</button> |
|
171 | 171 | </span> |
|
172 | 172 | <span class="button_label">Move</span> |
|
173 | 173 | </div> |
|
174 | 174 | <div class="section_row"> |
|
175 | 175 | <span id="run_cells" class="section_row_buttons"> |
|
176 | 176 | <button id="run_selected_cell">Selected</button> |
|
177 | 177 | <button id="run_all_cells">All</button> |
|
178 | 178 | </span> |
|
179 | 179 | <span class="button_label">Run</span> |
|
180 | 180 | </div> |
|
181 | 181 | <div class="section_row"> |
|
182 | 182 | <span id="autoindent_span"> |
|
183 | 183 | <input type="checkbox" id="autoindent" checked="true"></input> |
|
184 | 184 | </span> |
|
185 | 185 | <span class="checkbox_label" id="autoindent_label">Autoindent:</span> |
|
186 | 186 | </div> |
|
187 | 187 | </div> |
|
188 | 188 | </div> |
|
189 | 189 | |
|
190 | 190 | <div id="kernel_section"> |
|
191 | 191 | <div class="section_header"> |
|
192 | 192 | <h3>Kernel</h3> |
|
193 | 193 | </div> |
|
194 | 194 | <div class="section_content"> |
|
195 | 195 | <div class="section_row"> |
|
196 | 196 | <span id="int_restart" class="section_row_buttons"> |
|
197 | 197 | <button id="int_kernel"><u>I</u>nterrupt</button> |
|
198 | 198 | <button id="restart_kernel">Restart</button> |
|
199 | 199 | </span> |
|
200 | 200 | <span class="section_row_header">Actions</span> |
|
201 | 201 | </div> |
|
202 | 202 | <div class="section_row"> |
|
203 | 203 | <span id="kernel_persist"> |
|
204 | 204 | {% if kill_kernel %} |
|
205 | 205 | <input type="checkbox" id="kill_kernel" checked="true"></input> |
|
206 | 206 | {% else %} |
|
207 | 207 | <input type="checkbox" id="kill_kernel"></input> |
|
208 | 208 | {% end %} |
|
209 | 209 | </span> |
|
210 | 210 | <span class="checkbox_label" id="kill_kernel_label">Kill kernel upon exit:</span> |
|
211 | 211 | </div> |
|
212 | 212 | </div> |
|
213 | 213 | </div> |
|
214 | 214 | |
|
215 | 215 | <div id="help_section"> |
|
216 | 216 | <div class="section_header"> |
|
217 | 217 | <h3>Help</h3> |
|
218 | 218 | </div> |
|
219 | 219 | <div class="section_content"> |
|
220 | 220 | <div class="section_row"> |
|
221 | 221 | <span id="help_buttons0" class="section_row_buttons"> |
|
222 | 222 | <a id="python_help" href="http://docs.python.org" target="_blank">Python</a> |
|
223 | 223 | <a id="ipython_help" href="http://ipython.org/documentation.html" target="_blank">IPython</a> |
|
224 | 224 | </span> |
|
225 | 225 | <span class="section_row_header">Links</span> |
|
226 | 226 | </div> |
|
227 | 227 | <div class="section_row"> |
|
228 | 228 | <span id="help_buttons1" class="section_row_buttons"> |
|
229 | 229 | <a id="numpy_help" href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a> |
|
230 | 230 | <a id="scipy_help" href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a> |
|
231 | 231 | </span> |
|
232 | 232 | </div> |
|
233 | 233 | <div class="section_row"> |
|
234 | 234 | <span id="help_buttons2" class="section_row_buttons"> |
|
235 | 235 | <a id="matplotlib_help" href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a> |
|
236 | 236 | <a id="sympy_help" href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a> |
|
237 | 237 | </span> |
|
238 | 238 | </div> |
|
239 | 239 | <div class="section_row"> |
|
240 | 240 | <span class="help_string">run selected cell</span> |
|
241 | 241 | <span class="help_string_label">Shift-Enter :</span> |
|
242 | 242 | </div> |
|
243 | 243 | <div class="section_row"> |
|
244 | 244 | <span class="help_string">run selected cell in-place</span> |
|
245 | 245 | <span class="help_string_label">Ctrl-Enter :</span> |
|
246 | 246 | </div> |
|
247 | 247 | <div class="section_row"> |
|
248 | 248 | <span class="help_string">show keyboard shortcuts</span> |
|
249 | 249 | <span class="help_string_label">Ctrl-m h :</span> |
|
250 | 250 | </div> |
|
251 | 251 | </div> |
|
252 | 252 | </div> |
|
253 | 253 | |
|
254 | 254 | <div id="config_section"> |
|
255 | 255 | <div class="section_header"> |
|
256 | 256 | <h3>Config</h3> |
|
257 | 257 | </div> |
|
258 | 258 | <div class="section_content"> |
|
259 | 259 | <div class="section_row"> |
|
260 | 260 | <span id="tooltipontab_span"> |
|
261 | 261 | <input type="checkbox" id="tooltipontab" checked="true"></input> |
|
262 | 262 | </span> |
|
263 | 263 | <span class="checkbox_label" id="tooltipontab_label">Tooltip on tab:</span> |
|
264 | 264 | </div> |
|
265 | 265 | <div class="section_row"> |
|
266 | 266 | <span id="smartcompleter_span"> |
|
267 | 267 | <input type="checkbox" id="smartcompleter" checked="true"></input> |
|
268 | 268 | </span> |
|
269 | 269 | <span class="checkbox_label" id="smartcompleter_label">Smart completer:</span> |
|
270 | 270 | </div> |
|
271 | 271 | <div class="section_row"> |
|
272 |
<span id="tooltip |
|
|
272 | <span id="timebeforetooltip_span"> | |
|
273 | 273 | <input type="text" id="timebeforetooltip" value="1200"></input> |
|
274 | 274 | </span> |
|
275 | 275 | <span class="numeric_input_label" id="timebeforetooltip_label">Time before tooltip : </span> |
|
276 | 276 | </div> |
|
277 | 277 | </div> |
|
278 | 278 | </div> |
|
279 | 279 | |
|
280 | 280 | </div> |
|
281 | 281 | <div id="left_panel_splitter"></div> |
|
282 | 282 | <div id="notebook_panel"> |
|
283 | 283 | <div id="notebook"></div> |
|
284 | 284 | <div id="pager_splitter"></div> |
|
285 | 285 | <div id="pager"></div> |
|
286 | 286 | </div> |
|
287 | 287 | |
|
288 | 288 | </div> |
|
289 | 289 | |
|
290 | 290 | <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script> |
|
291 | 291 | <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script> |
|
292 | 292 | <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script> |
|
293 | 293 | |
|
294 | 294 | <script src="static/codemirror/lib/codemirror.js" charset="utf-8"></script> |
|
295 | 295 | <script src="static/codemirror/mode/python/python.js" charset="utf-8"></script> |
|
296 | 296 | <script src="static/codemirror/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script> |
|
297 | 297 | <script src="static/codemirror/mode/xml/xml.js" charset="utf-8"></script> |
|
298 | 298 | <script src="static/codemirror/mode/javascript/javascript.js" charset="utf-8"></script> |
|
299 | 299 | <script src="static/codemirror/mode/css/css.js" charset="utf-8"></script> |
|
300 | 300 | <script src="static/codemirror/mode/rst/rst.js" charset="utf-8"></script> |
|
301 | 301 | <script src="static/codemirror/mode/markdown/markdown.js" charset="utf-8"></script> |
|
302 | 302 | |
|
303 | 303 | <script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script> |
|
304 | 304 | |
|
305 | 305 | <script src="static/prettify/prettify.js" charset="utf-8"></script> |
|
306 | 306 | |
|
307 | 307 | <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script> |
|
308 | 308 | <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script> |
|
309 | 309 | <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script> |
|
310 | 310 | <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script> |
|
311 | 311 | <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script> |
|
312 | 312 | <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script> |
|
313 | 313 | <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script> |
|
314 | 314 | <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script> |
|
315 | 315 | <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script> |
|
316 | 316 | <script src="static/js/quickhelp.js" type="text/javascript" charset="utf-8"></script> |
|
317 | 317 | <script src="static/js/loginwidget.js" type="text/javascript" charset="utf-8"></script> |
|
318 | 318 | <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script> |
|
319 | 319 | <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script> |
|
320 | 320 | <script src="static/js/printwidget.js" type="text/javascript" charset="utf-8"></script> |
|
321 | 321 | <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script> |
|
322 | 322 | <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script> |
|
323 | 323 | <script src="static/js/notebookmain.js" type="text/javascript" charset="utf-8"></script> |
|
324 | 324 | |
|
325 | 325 | </body> |
|
326 | 326 | |
|
327 | 327 | </html> |
General Comments 0
You need to be logged in to leave comments.
Login now