Show More
@@ -1,311 +1,313 | |||||
1 |
|
1 | |||
2 | /** |
|
2 | /** | |
3 | * Primary styles |
|
3 | * Primary styles | |
4 | * |
|
4 | * | |
5 | * Author: IPython Development Team |
|
5 | * Author: IPython Development Team | |
6 | */ |
|
6 | */ | |
7 |
|
7 | |||
8 |
|
8 | |||
9 | body { |
|
9 | body { | |
10 | background-color: white; |
|
10 | background-color: white; | |
11 | /* This makes sure that the body covers the entire window and needs to |
|
11 | /* This makes sure that the body covers the entire window and needs to | |
12 | be in a different element than the display: box in wrapper below */ |
|
12 | be in a different element than the display: box in wrapper below */ | |
13 | position: absolute; |
|
13 | position: absolute; | |
14 | left: 0px; |
|
14 | left: 0px; | |
15 | right: 0px; |
|
15 | right: 0px; | |
16 | top: 0px; |
|
16 | top: 0px; | |
17 | bottom: 0px; |
|
17 | bottom: 0px; | |
18 | overflow: hidden; |
|
18 | overflow: hidden; | |
19 | } |
|
19 | } | |
20 |
|
20 | |||
21 | span#save_widget { |
|
21 | span#save_widget { | |
22 | position: absolute; |
|
22 | position: absolute; | |
23 | left: 0px; |
|
23 | left: 0px; | |
24 | padding: 5px 0px; |
|
24 | padding: 5px 0px; | |
25 | margin: 0px 0px 0px 0px; |
|
25 | margin: 0px 0px 0px 0px; | |
26 | } |
|
26 | } | |
27 |
|
27 | |||
28 | input#notebook_name { |
|
28 | input#notebook_name { | |
29 | height: 1em; |
|
29 | height: 1em; | |
30 | line-height: 1em; |
|
30 | line-height: 1em; | |
31 | padding: 5px; |
|
31 | padding: 5px; | |
32 | } |
|
32 | } | |
33 |
|
33 | |||
34 | span#kernel_status { |
|
34 | span#kernel_status { | |
35 | position: absolute; |
|
35 | position: absolute; | |
36 | padding: 8px 5px 5px 5px; |
|
36 | padding: 8px 5px 5px 5px; | |
37 | right: 10px; |
|
37 | right: 10px; | |
38 | font-weight: bold; |
|
38 | font-weight: bold; | |
39 | } |
|
39 | } | |
40 |
|
40 | |||
41 | .status_idle { |
|
41 | .status_idle { | |
42 | color: gray; |
|
42 | color: gray; | |
43 | } |
|
43 | } | |
44 |
|
44 | |||
45 | .status_busy { |
|
45 | .status_busy { | |
46 | color: red; |
|
46 | color: red; | |
47 | } |
|
47 | } | |
48 |
|
48 | |||
49 | .status_restarting { |
|
49 | .status_restarting { | |
50 | color: black; |
|
50 | color: black; | |
51 | } |
|
51 | } | |
52 |
|
52 | |||
53 | div#left_panel { |
|
53 | div#left_panel { | |
54 | overflow-y: auto; |
|
54 | overflow-y: auto; | |
55 | top: 0px; |
|
55 | top: 0px; | |
56 | left: 0px; |
|
56 | left: 0px; | |
57 | margin: 0px; |
|
57 | margin: 0px; | |
58 | padding: 0px; |
|
58 | padding: 0px; | |
59 | position: absolute; |
|
59 | position: absolute; | |
60 | } |
|
60 | } | |
61 |
|
61 | |||
62 | h3.section_header { |
|
62 | h3.section_header { | |
63 | padding: 5px; |
|
63 | padding: 5px; | |
64 | } |
|
64 | } | |
65 |
|
65 | |||
66 | div.section_content { |
|
66 | div.section_content { | |
67 | padding: 5px; |
|
67 | padding: 5px; | |
68 | } |
|
68 | } | |
69 |
|
69 | |||
70 | span.section_row_buttons button { |
|
70 | span.section_row_buttons button { | |
71 | width: 70px; |
|
71 | width: 70px; | |
72 | } |
|
72 | } | |
73 |
|
73 | |||
74 | span.section_row_buttons a { |
|
74 | span.section_row_buttons a { | |
75 | width: 70px; |
|
75 | width: 70px; | |
76 | } |
|
76 | } | |
77 |
|
77 | |||
78 | .section_row { |
|
78 | .section_row { | |
79 | margin: 5px 0px; |
|
79 | margin: 5px 0px; | |
80 | } |
|
80 | } | |
81 |
|
81 | |||
82 | .section_row_buttons { |
|
82 | .section_row_buttons { | |
83 | float: right; |
|
83 | float: right; | |
84 | } |
|
84 | } | |
85 |
|
85 | |||
86 | #kernel_persist { |
|
86 | #kernel_persist { | |
87 | float: right; |
|
87 | float: right; | |
88 | } |
|
88 | } | |
89 |
|
89 | |||
90 | .help_string { |
|
90 | .help_string { | |
91 | float: right; |
|
91 | float: right; | |
92 | width: 170px; |
|
92 | width: 170px; | |
93 | padding: 0px 5px; |
|
93 | padding: 0px 5px; | |
94 | text-align: center; |
|
94 | text-align: center; | |
95 | } |
|
95 | } | |
96 |
|
96 | |||
97 | .help_string_label { |
|
97 | .help_string_label { | |
98 | float: right; |
|
98 | float: right; | |
99 | } |
|
99 | } | |
100 |
|
100 | |||
101 | #autoindent_span { |
|
101 | #autoindent_span { | |
102 | float: right; |
|
102 | float: right; | |
103 | } |
|
103 | } | |
104 |
|
104 | |||
105 | .checkbox_label { |
|
105 | .checkbox_label { | |
106 | font-size: 85%; |
|
106 | font-size: 85%; | |
107 | float: right; |
|
107 | float: right; | |
108 | padding: 0.3em; |
|
108 | padding: 0.3em; | |
109 | } |
|
109 | } | |
110 |
|
110 | |||
111 | .section_row_header { |
|
111 | .section_row_header { | |
112 | float: left; |
|
112 | float: left; | |
113 | font-size: 85%; |
|
113 | font-size: 85%; | |
114 | padding: 0.4em 0em; |
|
114 | padding: 0.4em 0em; | |
115 | font-weight: bold; |
|
115 | font-weight: bold; | |
116 | } |
|
116 | } | |
117 |
|
117 | |||
118 | span.button_label { |
|
118 | span.button_label { | |
119 | padding: 0.2em 1em; |
|
119 | padding: 0.2em 1em; | |
120 | font-size: 77%; |
|
120 | font-size: 77%; | |
121 | float: right; |
|
121 | float: right; | |
122 | } |
|
122 | } | |
123 |
|
123 | |||
124 | /* This is needed because FF was adding a 2px margin top and bottom. */ |
|
124 | /* This is needed because FF was adding a 2px margin top and bottom. */ | |
125 | .section_row .ui-button { |
|
125 | .section_row .ui-button { | |
126 | margin-top: 0px; |
|
126 | margin-top: 0px; | |
127 | margin-bottom: 0px; |
|
127 | margin-bottom: 0px; | |
128 | } |
|
128 | } | |
129 |
|
129 | |||
130 | #download_format { |
|
130 | #download_format { | |
131 | float: right; |
|
131 | float: right; | |
132 | font-size: 85%; |
|
132 | font-size: 85%; | |
133 | width: 62px; |
|
133 | width: 62px; | |
134 | margin: 1px 5px; |
|
134 | margin: 1px 5px; | |
135 | } |
|
135 | } | |
136 |
|
136 | |||
137 | div#left_panel_splitter { |
|
137 | div#left_panel_splitter { | |
138 | width: 8px; |
|
138 | width: 8px; | |
139 | top: 0px; |
|
139 | top: 0px; | |
140 | left: 202px; |
|
140 | left: 202px; | |
141 | margin: 0px; |
|
141 | margin: 0px; | |
142 | padding: 0px; |
|
142 | padding: 0px; | |
143 | position: absolute; |
|
143 | position: absolute; | |
144 | } |
|
144 | } | |
145 |
|
145 | |||
146 | div#notebook_panel { |
|
146 | div#notebook_panel { | |
147 | /* The L margin will be set in the Javascript code*/ |
|
147 | /* The L margin will be set in the Javascript code*/ | |
148 | margin: 0px 0px 0px 0px; |
|
148 | margin: 0px 0px 0px 0px; | |
149 | padding: 0px; |
|
149 | padding: 0px; | |
150 | } |
|
150 | } | |
151 |
|
151 | |||
152 | div#notebook { |
|
152 | div#notebook { | |
153 | overflow-y: scroll; |
|
153 | overflow-y: scroll; | |
154 | overflow-x: auto; |
|
154 | overflow-x: auto; | |
155 | width: 100%; |
|
155 | width: 100%; | |
156 | /* This spaces the cell away from the edge of the notebook area */ |
|
156 | /* This spaces the cell away from the edge of the notebook area */ | |
157 | padding: 15px 15px 15px 15px; |
|
157 | padding: 15px 15px 15px 15px; | |
158 | margin: 0px |
|
158 | margin: 0px | |
159 | background-color: white; |
|
159 | background-color: white; | |
160 | } |
|
160 | } | |
161 |
|
161 | |||
162 | div#pager_splitter { |
|
162 | div#pager_splitter { | |
163 | height: 8px; |
|
163 | height: 8px; | |
164 | } |
|
164 | } | |
165 |
|
165 | |||
166 | div#pager { |
|
166 | div#pager { | |
167 | padding: 15px; |
|
167 | padding: 15px; | |
168 | overflow: auto; |
|
168 | overflow: auto; | |
169 | } |
|
169 | } | |
170 |
|
170 | |||
171 | div.cell { |
|
171 | div.cell { | |
172 | width: 100%; |
|
172 | width: 100%; | |
173 | padding: 5px; |
|
173 | padding: 5px; | |
174 | /* This acts as a spacer between cells, that is outside the border */ |
|
174 | /* This acts as a spacer between cells, that is outside the border */ | |
175 | margin: 5px 0px 5px 0px; |
|
175 | margin: 5px 0px 5px 0px; | |
176 | } |
|
176 | } | |
177 |
|
177 | |||
178 | div.code_cell { |
|
178 | div.code_cell { | |
179 | background-color: white; |
|
179 | background-color: white; | |
180 | } |
|
180 | } | |
181 |
|
181 | |||
182 | div.prompt { |
|
182 | div.prompt { | |
183 | /* No width is used so the prompt area can expand as the prompt number |
|
183 | /* No width is used so the prompt area can expand as the prompt number | |
184 | increases in width */ |
|
184 | increases in width */ | |
185 | /* This 0.4em is tuned to match the padding on the CodeMirror editor. */ |
|
185 | /* This 0.4em is tuned to match the padding on the CodeMirror editor. */ | |
186 | padding: 0.4em; |
|
186 | padding: 0.4em; | |
187 | margin: 0px; |
|
187 | margin: 0px; | |
188 | font-family: monospace; |
|
188 | font-family: monospace; | |
189 | } |
|
189 | } | |
190 |
|
190 | |||
191 | div.input { |
|
191 | div.input { | |
192 | page-break-inside: avoid; |
|
192 | page-break-inside: avoid; | |
193 | } |
|
193 | } | |
194 |
|
194 | |||
195 | div.input_area { |
|
195 | div.input_area { | |
196 | color: black; |
|
196 | color: black; | |
197 | } |
|
197 | } | |
198 |
|
198 | |||
199 | div.input_prompt { |
|
199 | div.input_prompt { | |
200 | color: navy; |
|
200 | color: navy; | |
201 | } |
|
201 | } | |
202 |
|
202 | |||
203 | div.output { |
|
203 | div.output { | |
204 | /* This is a spacer between the input and output of each cell */ |
|
204 | /* This is a spacer between the input and output of each cell */ | |
205 | margin-top: 5px; |
|
205 | margin-top: 5px; | |
206 | } |
|
206 | } | |
207 |
|
207 | |||
208 | div.output_prompt { |
|
208 | div.output_prompt { | |
209 | color: darkred; |
|
209 | color: darkred; | |
210 | } |
|
210 | } | |
211 |
|
211 | |||
212 | /* This class is applied to all types of output (pyout, pyerr, stream, display_data) */ |
|
212 | /* This class is applied to all types of output (pyout, pyerr, stream, display_data) */ | |
213 | div.output_area { |
|
213 | div.output_area { | |
214 | padding: 0px 0.4em; |
|
214 | padding: 0px 0.4em; | |
215 | page-break-inside: avoid; |
|
215 | page-break-inside: avoid; | |
216 | } |
|
216 | } | |
217 |
|
217 | |||
218 | /* This is the output area after the Out[] prompt of type pyout */ |
|
218 | /* This is the output area after the Out[] prompt of type pyout */ | |
219 | div.pyout_area { |
|
219 | div.pyout_area { | |
220 | padding: 0.4em; |
|
220 | padding: 0.4em; | |
221 | } |
|
221 | } | |
222 |
|
222 | |||
223 | /* The rest of the output_* classes are for special styling of the different |
|
223 | /* The rest of the output_* classes are for special styling of the different | |
224 | output types */ |
|
224 | output types */ | |
225 |
|
225 | |||
226 | div.output_pyout { |
|
226 | div.output_pyout { | |
227 | padding: 0px; |
|
227 | padding: 0px; | |
228 | } |
|
228 | } | |
229 |
|
229 | |||
230 | div.output_stream { |
|
230 | div.output_stream { | |
231 | text-align: left; |
|
231 | text-align: left; | |
232 | color: black; |
|
232 | color: black; | |
233 | font-family: monospace; |
|
233 | font-family: monospace; | |
234 | } |
|
234 | } | |
235 |
|
235 | |||
236 | div.output_latex { |
|
236 | div.output_latex { | |
237 | text-align: left; |
|
237 | text-align: left; | |
238 | color: black; |
|
238 | color: black; | |
239 | } |
|
239 | } | |
240 |
|
240 | |||
241 | div.output_html { |
|
241 | div.output_html { | |
242 | } |
|
242 | } | |
243 |
|
243 | |||
244 | div.output_png { |
|
244 | div.output_png { | |
245 | } |
|
245 | } | |
246 |
|
246 | |||
247 | div.output_jpeg { |
|
247 | div.output_jpeg { | |
248 | } |
|
248 | } | |
249 |
|
249 | |||
250 | div.text_cell { |
|
250 | div.text_cell { | |
251 | background-color: white; |
|
251 | background-color: white; | |
252 | } |
|
252 | } | |
253 |
|
253 | |||
254 | div.text_cell_input { |
|
254 | div.text_cell_input { | |
255 | color: black; |
|
255 | color: black; | |
256 | } |
|
256 | } | |
257 |
|
257 | |||
258 | div.text_cell_render { |
|
258 | div.text_cell_render { | |
259 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
259 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; | |
260 | outline: none; |
|
260 | outline: none; | |
261 | resize: none; |
|
261 | resize: none; | |
262 | width: inherit; |
|
262 | width: inherit; | |
263 | border-style: none; |
|
263 | border-style: none; | |
264 | padding: 5px; |
|
264 | padding: 5px; | |
265 | color: black; |
|
265 | color: black; | |
266 | } |
|
266 | } | |
267 |
|
267 | |||
268 | .CodeMirror { |
|
268 | .CodeMirror { | |
269 | line-height: 1.231; /* Changed from 1em to our global default */ |
|
269 | line-height: 1.231; /* Changed from 1em to our global default */ | |
270 | } |
|
270 | } | |
271 |
|
271 | |||
272 | .CodeMirror-scroll { |
|
272 | .CodeMirror-scroll { | |
273 | height: auto; /* Changed to auto to autogrow */ |
|
273 | height: auto; /* Changed to auto to autogrow */ | |
274 | overflow-y: visible; /* Changed from auto to remove scrollbar */ |
|
274 | /* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/ | |
|
275 | /* We have found that if it is visible, vertical scrollbars appear with font size changes.*/ | |||
|
276 | overflow-y: hidden; | |||
275 | overflow-x: auto; /* Changed from auto to remove scrollbar */ |
|
277 | overflow-x: auto; /* Changed from auto to remove scrollbar */ | |
276 | } |
|
278 | } | |
277 |
|
279 | |||
278 | /* CSS font colors for translated ANSI colors. */ |
|
280 | /* CSS font colors for translated ANSI colors. */ | |
279 |
|
281 | |||
280 |
|
282 | |||
281 | .ansiblack {color: black;} |
|
283 | .ansiblack {color: black;} | |
282 | .ansired {color: darkred;} |
|
284 | .ansired {color: darkred;} | |
283 | .ansigreen {color: darkgreen;} |
|
285 | .ansigreen {color: darkgreen;} | |
284 | .ansiyellow {color: brown;} |
|
286 | .ansiyellow {color: brown;} | |
285 | .ansiblue {color: darkblue;} |
|
287 | .ansiblue {color: darkblue;} | |
286 | .ansipurple {color: darkviolet;} |
|
288 | .ansipurple {color: darkviolet;} | |
287 | .ansicyan {color: steelblue;} |
|
289 | .ansicyan {color: steelblue;} | |
288 | .ansigrey {color: grey;} |
|
290 | .ansigrey {color: grey;} | |
289 | .ansibold {font-weight: bold;} |
|
291 | .ansibold {font-weight: bold;} | |
290 |
|
292 | |||
291 | .completions { |
|
293 | .completions { | |
292 | position: absolute; |
|
294 | position: absolute; | |
293 | z-index: 10; |
|
295 | z-index: 10; | |
294 | overflow: auto; |
|
296 | overflow: auto; | |
295 | border: 1px solid black; |
|
297 | border: 1px solid black; | |
296 | } |
|
298 | } | |
297 |
|
299 | |||
298 | .completions select { |
|
300 | .completions select { | |
299 | background: white; |
|
301 | background: white; | |
300 | outline: none; |
|
302 | outline: none; | |
301 | border: none; |
|
303 | border: none; | |
302 | padding: 0px; |
|
304 | padding: 0px; | |
303 | margin: 0px; |
|
305 | margin: 0px; | |
304 | font-family: monospace; |
|
306 | font-family: monospace; | |
305 | } |
|
307 | } | |
306 |
|
308 | |||
307 | @media print { |
|
309 | @media print { | |
308 | body { overflow: visible !important; } |
|
310 | body { overflow: visible !important; } | |
309 | .ui-widget-content { border: 0px; } |
|
311 | .ui-widget-content { border: 0px; } | |
310 | } |
|
312 | } | |
311 |
|
313 |
@@ -1,228 +1,228 | |||||
1 | <!DOCTYPE HTML> |
|
1 | <!DOCTYPE HTML> | |
2 | <html> |
|
2 | <html> | |
3 |
|
3 | |||
4 | <head> |
|
4 | <head> | |
5 | <meta charset="utf-8"> |
|
5 | <meta charset="utf-8"> | |
6 |
|
6 | |||
7 | <title>IPython Notebook</title> |
|
7 | <title>IPython Notebook</title> | |
8 |
|
8 | |||
9 | <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" /> |
|
9 | <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" /> | |
10 | <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> --> |
|
10 | <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> --> | |
11 | <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />--> |
|
11 | <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />--> | |
12 |
|
12 | |||
13 | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script> |
|
13 | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script> | |
14 | <!-- <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script> --> |
|
14 | <!-- <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script> --> | |
15 | <script type="text/javascript"> |
|
15 | <script type="text/javascript"> | |
16 | if (typeof MathJax == 'undefined') { |
|
16 | if (typeof MathJax == 'undefined') { | |
17 | console.log("Trying to load local copy of MathJax"); |
|
17 | console.log("Trying to load local copy of MathJax"); | |
18 | document.write(unescape("%3Cscript type='text/javascript' src='static/mathjax/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E")); |
|
18 | document.write(unescape("%3Cscript type='text/javascript' src='static/mathjax/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E")); | |
19 | } |
|
19 | } | |
20 | </script> |
|
20 | </script> | |
21 |
|
21 | |||
22 | <link rel="stylesheet" href="static/codemirror-2.12/lib/codemirror.css"> |
|
22 | <link rel="stylesheet" href="static/codemirror-2.12/lib/codemirror.css"> | |
23 | <link rel="stylesheet" href="static/codemirror-2.12/mode/rst/rst.css"> |
|
23 | <link rel="stylesheet" href="static/codemirror-2.12/mode/rst/rst.css"> | |
24 | <link rel="stylesheet" href="static/codemirror-2.12/theme/ipython.css"> |
|
24 | <link rel="stylesheet" href="static/codemirror-2.12/theme/ipython.css"> | |
25 | <link rel="stylesheet" href="static/codemirror-2.12/theme/default.css"> |
|
25 | <link rel="stylesheet" href="static/codemirror-2.12/theme/default.css"> | |
26 |
|
26 | |||
27 | <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" /> |
|
27 | <link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" /> | |
28 | <link rel="stylesheet" href="static/css/layout.css" type="text/css" /> |
|
28 | <link rel="stylesheet" href="static/css/layout.css" type="text/css" /> | |
29 | <link rel="stylesheet" href="static/css/base.css" type="text/css" /> |
|
29 | <link rel="stylesheet" href="static/css/base.css" type="text/css" /> | |
30 | <link rel="stylesheet" href="static/css/notebook.css" type="text/css" /> |
|
30 | <link rel="stylesheet" href="static/css/notebook.css" type="text/css" /> | |
31 | <link rel="stylesheet" href="static/css/renderedhtml.css" type="text/css" /> |
|
31 | <link rel="stylesheet" href="static/css/renderedhtml.css" type="text/css" /> | |
32 |
|
32 | |||
33 |
|
33 | |||
34 | </head> |
|
34 | </head> | |
35 |
|
35 | |||
36 | <body> |
|
36 | <body> | |
37 |
|
37 | |||
38 | <div id="header"> |
|
38 | <div id="header"> | |
39 | <span id="ipython_notebook"><h1>IPython Notebook</h1></span> |
|
39 | <span id="ipython_notebook"><h1>IPython Notebook</h1></span> | |
40 | <span id="save_widget"> |
|
40 | <span id="save_widget"> | |
41 | <input type="text" id="notebook_name" size="20"></textarea> |
|
41 | <input type="text" id="notebook_name" size="20"></textarea> | |
42 | <span id="notebook_id" style="display:none">{{notebook_id}}</span> |
|
42 | <span id="notebook_id" style="display:none">{{notebook_id}}</span> | |
43 | <button id="save_notebook">Save</button> |
|
43 | <button id="save_notebook">Save</button> | |
44 | </span> |
|
44 | </span> | |
45 | <span id="kernel_status">Idle</span> |
|
45 | <span id="kernel_status">Idle</span> | |
46 | </div> |
|
46 | </div> | |
47 |
|
47 | |||
48 | <div id="main_app"> |
|
48 | <div id="main_app"> | |
49 |
|
49 | |||
50 | <div id="left_panel"> |
|
50 | <div id="left_panel"> | |
51 |
|
51 | |||
52 | <div id="notebook_section"> |
|
52 | <div id="notebook_section"> | |
53 | <h3 class="section_header">Notebook</h3> |
|
53 | <h3 class="section_header">Notebook</h3> | |
54 | <div class="section_content"> |
|
54 | <div class="section_content"> | |
55 | <div class="section_row"> |
|
55 | <div class="section_row"> | |
56 | <span id="new_open" class="section_row_buttons"> |
|
56 | <span id="new_open" class="section_row_buttons"> | |
57 | <button id="new_notebook">New</button> |
|
57 | <button id="new_notebook">New</button> | |
58 | <button id="open_notebook">Open</button> |
|
58 | <button id="open_notebook">Open</button> | |
59 | </span> |
|
59 | </span> | |
60 | <span class="section_row_header">Actions</span> |
|
60 | <span class="section_row_header">Actions</span> | |
61 | </div> |
|
61 | </div> | |
62 | <div class="section_row"> |
|
62 | <div class="section_row"> | |
63 | <span> |
|
63 | <span> | |
64 | <select id="download_format"> |
|
64 | <select id="download_format"> | |
65 |
<option value="json"> |
|
65 | <option value="json">ipynb</option> | |
66 | <option value="py">py</option> |
|
66 | <option value="py">py</option> | |
67 | </select> |
|
67 | </select> | |
68 | </span> |
|
68 | </span> | |
69 | <span class="section_row_buttons"> |
|
69 | <span class="section_row_buttons"> | |
70 | <span id="print_widget"> |
|
70 | <span id="print_widget"> | |
71 | <button id="print_notebook">Print</button> |
|
71 | <button id="print_notebook">Print</button> | |
72 | </span> |
|
72 | </span> | |
73 |
|
73 | |||
74 | <button id="download_notebook">Download</button> |
|
74 | <button id="download_notebook">Download</button> | |
75 | </span> |
|
75 | </span> | |
76 | </div> |
|
76 | </div> | |
77 | </div> |
|
77 | </div> | |
78 | </div> |
|
78 | </div> | |
79 |
|
79 | |||
80 | <div id="cell_section"> |
|
80 | <div id="cell_section"> | |
81 | <h3 class="section_header">Cell</h3> |
|
81 | <h3 class="section_header">Cell</h3> | |
82 | <div class="section_content"> |
|
82 | <div class="section_content"> | |
83 | <div class="section_row"> |
|
83 | <div class="section_row"> | |
84 | <span class="section_row_buttons"> |
|
84 | <span class="section_row_buttons"> | |
85 | <button id="delete_cell">Delete</button> |
|
85 | <button id="delete_cell">Delete</button> | |
86 | </span> |
|
86 | </span> | |
87 | <span class="section_row_header">Actions</span> |
|
87 | <span class="section_row_header">Actions</span> | |
88 | </div> |
|
88 | </div> | |
89 | <div class="section_row"> |
|
89 | <div class="section_row"> | |
90 | <span id="cell_type" class="section_row_buttons"> |
|
90 | <span id="cell_type" class="section_row_buttons"> | |
91 | <button id="to_code">Code</button> |
|
91 | <button id="to_code">Code</button> | |
92 | <!-- <button id="to_html">HTML</button>--> |
|
92 | <!-- <button id="to_html">HTML</button>--> | |
93 | <button id="to_markdown">Markdown</button> |
|
93 | <button id="to_markdown">Markdown</button> | |
94 | </span> |
|
94 | </span> | |
95 | <span class="button_label">Format</span> |
|
95 | <span class="button_label">Format</span> | |
96 | </div> |
|
96 | </div> | |
97 | <div class="section_row"> |
|
97 | <div class="section_row"> | |
98 | <span id="toggle_output" class="section_row_buttons"> |
|
98 | <span id="toggle_output" class="section_row_buttons"> | |
99 | <button id="collapse_cell">Collapse</button> |
|
99 | <button id="collapse_cell">Collapse</button> | |
100 | <button id="expand_cell">Expand</button> |
|
100 | <button id="expand_cell">Expand</button> | |
101 | <button id="clear_all_output">ClearAll</button> |
|
101 | <button id="clear_all_output">ClearAll</button> | |
102 | </span> |
|
102 | </span> | |
103 | <span class="button_label">Output</span> |
|
103 | <span class="button_label">Output</span> | |
104 | </div> |
|
104 | </div> | |
105 | <div class="section_row"> |
|
105 | <div class="section_row"> | |
106 | <span id="insert" class="section_row_buttons"> |
|
106 | <span id="insert" class="section_row_buttons"> | |
107 | <button id="insert_cell_above">Above</button> |
|
107 | <button id="insert_cell_above">Above</button> | |
108 | <button id="insert_cell_below">Below</button> |
|
108 | <button id="insert_cell_below">Below</button> | |
109 | </span> |
|
109 | </span> | |
110 | <span class="button_label">Insert</span> |
|
110 | <span class="button_label">Insert</span> | |
111 | </div> |
|
111 | </div> | |
112 | <div class="section_row"> |
|
112 | <div class="section_row"> | |
113 | <span id="move" class="section_row_buttons"> |
|
113 | <span id="move" class="section_row_buttons"> | |
114 | <button id="move_cell_up">Up</button> |
|
114 | <button id="move_cell_up">Up</button> | |
115 | <button id="move_cell_down">Down</button> |
|
115 | <button id="move_cell_down">Down</button> | |
116 | </span> |
|
116 | </span> | |
117 | <span class="button_label">Move</span> |
|
117 | <span class="button_label">Move</span> | |
118 | </div> |
|
118 | </div> | |
119 | <div class="section_row"> |
|
119 | <div class="section_row"> | |
120 | <span id="run_cells" class="section_row_buttons"> |
|
120 | <span id="run_cells" class="section_row_buttons"> | |
121 | <button id="run_selected_cell">Selected</button> |
|
121 | <button id="run_selected_cell">Selected</button> | |
122 | <button id="run_all_cells">All</button> |
|
122 | <button id="run_all_cells">All</button> | |
123 | </span> |
|
123 | </span> | |
124 | <span class="button_label">Run</span> |
|
124 | <span class="button_label">Run</span> | |
125 | </div> |
|
125 | </div> | |
126 | <div class="section_row"> |
|
126 | <div class="section_row"> | |
127 | <span id="autoindent_span"> |
|
127 | <span id="autoindent_span"> | |
128 | <input type="checkbox" id="autoindent" checked="true"></input> |
|
128 | <input type="checkbox" id="autoindent" checked="true"></input> | |
129 | </span> |
|
129 | </span> | |
130 | <span class="checkbox_label">Autoindent:</span> |
|
130 | <span class="checkbox_label">Autoindent:</span> | |
131 | </div> |
|
131 | </div> | |
132 | </div> |
|
132 | </div> | |
133 | </div> |
|
133 | </div> | |
134 |
|
134 | |||
135 | <div id="kernel_section"> |
|
135 | <div id="kernel_section"> | |
136 | <h3 class="section_header">Kernel</h3> |
|
136 | <h3 class="section_header">Kernel</h3> | |
137 | <div class="section_content"> |
|
137 | <div class="section_content"> | |
138 | <div class="section_row"> |
|
138 | <div class="section_row"> | |
139 | <span id="int_restart" class="section_row_buttons"> |
|
139 | <span id="int_restart" class="section_row_buttons"> | |
140 | <button id="int_kernel">Interrupt</button> |
|
140 | <button id="int_kernel">Interrupt</button> | |
141 | <button id="restart_kernel">Restart</button> |
|
141 | <button id="restart_kernel">Restart</button> | |
142 | </span> |
|
142 | </span> | |
143 | <span class="section_row_header">Actions</span> |
|
143 | <span class="section_row_header">Actions</span> | |
144 | </div> |
|
144 | </div> | |
145 | <div class="section_row"> |
|
145 | <div class="section_row"> | |
146 | <span id="kernel_persist"> |
|
146 | <span id="kernel_persist"> | |
147 | <input type="checkbox" id="kill_kernel"></input> |
|
147 | <input type="checkbox" id="kill_kernel"></input> | |
148 | </span> |
|
148 | </span> | |
149 | <span class="checkbox_label">Kill kernel upon exit:</span> |
|
149 | <span class="checkbox_label">Kill kernel upon exit:</span> | |
150 | </div> |
|
150 | </div> | |
151 | </div> |
|
151 | </div> | |
152 | </div> |
|
152 | </div> | |
153 |
|
153 | |||
154 | <div id="help_section"> |
|
154 | <div id="help_section"> | |
155 | <h3 class="section_header">Help</h3> |
|
155 | <h3 class="section_header">Help</h3> | |
156 | <div class="section_content"> |
|
156 | <div class="section_content"> | |
157 | <div class="section_row"> |
|
157 | <div class="section_row"> | |
158 | <span id="help_buttons0" class="section_row_buttons"> |
|
158 | <span id="help_buttons0" class="section_row_buttons"> | |
159 | <a id="python_help" href="http://docs.python.org" target="_blank">Python</a> |
|
159 | <a id="python_help" href="http://docs.python.org" target="_blank">Python</a> | |
160 | <a id="ipython_help" href="http://ipython.org/documentation.html" target="_blank">IPython</a> |
|
160 | <a id="ipython_help" href="http://ipython.org/documentation.html" target="_blank">IPython</a> | |
161 | <a id="numpy_help" href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a> |
|
161 | <a id="numpy_help" href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a> | |
162 | </span> |
|
162 | </span> | |
163 | <span class="section_row_header">Links</span> |
|
163 | <span class="section_row_header">Links</span> | |
164 | </div> |
|
164 | </div> | |
165 | <div class="section_row"> |
|
165 | <div class="section_row"> | |
166 | <span id="help_buttons1" class="section_row_buttons"> |
|
166 | <span id="help_buttons1" class="section_row_buttons"> | |
167 | <a id="matplotlib_help" href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a> |
|
167 | <a id="matplotlib_help" href="http://matplotlib.sourceforge.net/" target="_blank">MPL</a> | |
168 | <a id="scipy_help" href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a> |
|
168 | <a id="scipy_help" href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a> | |
169 | <a id="sympy_help" href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a> |
|
169 | <a id="sympy_help" href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a> | |
170 | </span> |
|
170 | </span> | |
171 | </div> |
|
171 | </div> | |
172 | <div class="section_row"> |
|
172 | <div class="section_row"> | |
173 | <span class="help_string">run selected cell</span> |
|
173 | <span class="help_string">run selected cell</span> | |
174 | <span class="help_string_label">Shift-Enter |</span> |
|
174 | <span class="help_string_label">Shift-Enter |</span> | |
175 | </div> |
|
175 | </div> | |
176 | <div class="section_row"> |
|
176 | <div class="section_row"> | |
177 | <span class="help_string">run in terminal mode</span> |
|
177 | <span class="help_string">run in terminal mode</span> | |
178 | <span class="help_string_label">Ctrl-Enter |</span> |
|
178 | <span class="help_string_label">Ctrl-Enter |</span> | |
179 | </div> |
|
179 | </div> | |
180 | </div> |
|
180 | </div> | |
181 | </div> |
|
181 | </div> | |
182 |
|
182 | |||
183 | </div> |
|
183 | </div> | |
184 | <div id="left_panel_splitter"></div> |
|
184 | <div id="left_panel_splitter"></div> | |
185 | <div id="notebook_panel"> |
|
185 | <div id="notebook_panel"> | |
186 | <div id="notebook"></div> |
|
186 | <div id="notebook"></div> | |
187 | <div id="pager_splitter"></div> |
|
187 | <div id="pager_splitter"></div> | |
188 | <div id="pager"></div> |
|
188 | <div id="pager"></div> | |
189 | </div> |
|
189 | </div> | |
190 |
|
190 | |||
191 | </div> |
|
191 | </div> | |
192 |
|
192 | |||
193 | <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script> |
|
193 | <script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script> | |
194 | <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script> |
|
194 | <script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script> | |
195 | <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script> |
|
195 | <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script> | |
196 |
|
196 | |||
197 | <script src="static/codemirror-2.12/lib/codemirror.js" charset="utf-8"></script> |
|
197 | <script src="static/codemirror-2.12/lib/codemirror.js" charset="utf-8"></script> | |
198 | <script src="static/codemirror-2.12/mode/python/python.js" charset="utf-8"></script> |
|
198 | <script src="static/codemirror-2.12/mode/python/python.js" charset="utf-8"></script> | |
199 | <script src="static/codemirror-2.12/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script> |
|
199 | <script src="static/codemirror-2.12/mode/htmlmixed/htmlmixed.js" charset="utf-8"></script> | |
200 | <script src="static/codemirror-2.12/mode/xml/xml.js" charset="utf-8"></script> |
|
200 | <script src="static/codemirror-2.12/mode/xml/xml.js" charset="utf-8"></script> | |
201 | <script src="static/codemirror-2.12/mode/javascript/javascript.js" charset="utf-8"></script> |
|
201 | <script src="static/codemirror-2.12/mode/javascript/javascript.js" charset="utf-8"></script> | |
202 | <script src="static/codemirror-2.12/mode/css/css.js" charset="utf-8"></script> |
|
202 | <script src="static/codemirror-2.12/mode/css/css.js" charset="utf-8"></script> | |
203 | <script src="static/codemirror-2.12/mode/rst/rst.js" charset="utf-8"></script> |
|
203 | <script src="static/codemirror-2.12/mode/rst/rst.js" charset="utf-8"></script> | |
204 |
|
204 | |||
205 | <script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script> |
|
205 | <script src="static/pagedown/Markdown.Converter.js" charset="utf-8"></script> | |
206 |
|
206 | |||
207 | <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script> |
|
207 | <script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script> | |
208 | <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script> |
|
208 | <script src="static/js/utils.js" type="text/javascript" charset="utf-8"></script> | |
209 | <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script> |
|
209 | <script src="static/js/cell.js" type="text/javascript" charset="utf-8"></script> | |
210 | <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script> |
|
210 | <script src="static/js/codecell.js" type="text/javascript" charset="utf-8"></script> | |
211 | <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script> |
|
211 | <script src="static/js/textcell.js" type="text/javascript" charset="utf-8"></script> | |
212 | <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script> |
|
212 | <script src="static/js/kernel.js" type="text/javascript" charset="utf-8"></script> | |
213 | <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script> |
|
213 | <script src="static/js/kernelstatus.js" type="text/javascript" charset="utf-8"></script> | |
214 | <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script> |
|
214 | <script src="static/js/layout.js" type="text/javascript" charset="utf-8"></script> | |
215 | <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script> |
|
215 | <script src="static/js/savewidget.js" type="text/javascript" charset="utf-8"></script> | |
216 | <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script> |
|
216 | <script src="static/js/pager.js" type="text/javascript" charset="utf-8"></script> | |
217 | <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script> |
|
217 | <script src="static/js/panelsection.js" type="text/javascript" charset="utf-8"></script> | |
218 | <script src="static/js/printwidget.js" type="text/javascript" charset="utf-8"></script> |
|
218 | <script src="static/js/printwidget.js" type="text/javascript" charset="utf-8"></script> | |
219 | <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script> |
|
219 | <script src="static/js/leftpanel.js" type="text/javascript" charset="utf-8"></script> | |
220 | <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script> |
|
220 | <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script> | |
221 | <script src="static/js/notebook_main.js" type="text/javascript" charset="utf-8"></script> |
|
221 | <script src="static/js/notebook_main.js" type="text/javascript" charset="utf-8"></script> | |
222 |
|
222 | |||
223 |
|
223 | |||
224 | </body> |
|
224 | </body> | |
225 |
|
225 | |||
226 | </html> |
|
226 | </html> | |
227 |
|
227 | |||
228 |
|
228 |
General Comments 0
You need to be logged in to leave comments.
Login now