Show More
@@ -1,444 +1,447 b'' | |||||
1 | /** |
|
1 | /** | |
2 | * Primary styles |
|
2 | * Primary styles | |
3 | * |
|
3 | * | |
4 | * Author: IPython Development Team |
|
4 | * Author: IPython Development Team | |
5 | */ |
|
5 | */ | |
6 |
|
6 | |||
7 | @import "variables.less"; |
|
7 | @import "variables.less"; | |
8 |
|
8 | |||
9 |
|
||||
10 | body { |
|
9 | body { | |
11 | overflow: hidden; |
|
10 | overflow: hidden; | |
12 | } |
|
11 | } | |
13 |
|
12 | |||
14 | blockquote { |
|
13 | blockquote { | |
15 | border-left: 4px solid #DDD; |
|
14 | border-left: 4px solid #DDD; | |
16 | padding: 0 15px; |
|
15 | padding: 0 15px; | |
17 | color: #777; |
|
16 | color: #777; | |
18 | } |
|
17 | } | |
19 |
|
18 | |||
20 | span#save_widget { |
|
19 | span#save_widget { | |
21 | padding: 5px; |
|
20 | padding: 5px; | |
22 | margin: 0px 0px 0px 300px; |
|
21 | margin: 0px 0px 0px 300px; | |
23 | display:inline-block; |
|
22 | display:inline-block; | |
24 | } |
|
23 | } | |
25 |
|
24 | |||
26 | span#notebook_name { |
|
25 | span#notebook_name { | |
27 | height: 1em; |
|
26 | height: 1em; | |
28 | line-height: 1em; |
|
27 | line-height: 1em; | |
29 | padding: 3px; |
|
28 | padding: 3px; | |
30 | border: none; |
|
29 | border: none; | |
31 | font-size: 146.5%; |
|
30 | font-size: 146.5%; | |
32 | } |
|
31 | } | |
33 |
|
32 | |||
34 |
|
33 | |||
35 | .ui-menubar-item .ui-button .ui-button-text { |
|
34 | .ui-menubar-item .ui-button .ui-button-text { | |
36 | padding: 0.4em 1.0em; |
|
35 | padding: 0.4em 1.0em; | |
37 | font-size: 100%; |
|
36 | font-size: 100%; | |
38 | } |
|
37 | } | |
39 |
|
38 | |||
40 | .ui-menu { |
|
39 | .ui-menu { | |
41 | -moz-box-shadow: 0px 6px 10px -1px #adadad; |
|
40 | -moz-box-shadow: 0px 6px 10px -1px #adadad; | |
42 | -webkit-box-shadow: 0px 6px 10px -1px #adadad; |
|
41 | -webkit-box-shadow: 0px 6px 10px -1px #adadad; | |
43 | box-shadow: 0px 6px 10px -1px #adadad; |
|
42 | box-shadow: 0px 6px 10px -1px #adadad; | |
44 | } |
|
43 | } | |
45 |
|
44 | |||
46 | .ui-menu .ui-menu-item a { |
|
45 | .ui-menu .ui-menu-item a { | |
47 | border: 1px solid transparent; |
|
46 | border: 1px solid transparent; | |
48 | padding: 2px 1.6em; |
|
47 | padding: 2px 1.6em; | |
49 | } |
|
48 | } | |
50 |
|
49 | |||
51 | .ui-menu .ui-menu-item a.ui-state-focus { |
|
50 | .ui-menu .ui-menu-item a.ui-state-focus { | |
52 | margin: 0; |
|
51 | margin: 0; | |
53 | } |
|
52 | } | |
54 |
|
53 | |||
55 | .ui-menu hr { |
|
54 | .ui-menu hr { | |
56 | margin: 0.3em 0; |
|
55 | margin: 0.3em 0; | |
57 | } |
|
56 | } | |
58 |
|
57 | |||
59 | #menubar_container { |
|
58 | #menubar_container { | |
60 | position: relative; |
|
59 | position: relative; | |
61 | } |
|
60 | } | |
62 |
|
61 | |||
63 | #notification_area { |
|
62 | #notification_area { | |
64 | position: absolute; |
|
63 | position: absolute; | |
65 | right: 0px; |
|
64 | right: 0px; | |
66 | top: 0px; |
|
65 | top: 0px; | |
67 | height: 25px; |
|
66 | height: 25px; | |
68 | padding: 3px 0px; |
|
67 | padding: 3px 0px; | |
69 | padding-right: 3px; |
|
68 | padding-right: 3px; | |
70 | z-index: 10; |
|
69 | z-index: 10; | |
71 | } |
|
70 | } | |
72 |
|
71 | |||
73 | .notification_widget{ |
|
72 | .notification_widget{ | |
74 | float : right; |
|
73 | float : right; | |
75 | right: 0px; |
|
74 | right: 0px; | |
76 | top: 1px; |
|
75 | top: 1px; | |
77 | height: 25px; |
|
76 | height: 25px; | |
78 | padding: 3px 6px; |
|
77 | padding: 3px 6px; | |
79 | z-index: 10; |
|
78 | z-index: 10; | |
80 | } |
|
79 | } | |
81 |
|
80 | |||
82 | .toolbar { |
|
81 | .toolbar { | |
83 | padding: 3px 15px; |
|
82 | padding: 3px 15px; | |
84 | } |
|
83 | } | |
85 |
|
84 | |||
86 | #maintoolbar > select, #maintoolbar label { |
|
85 | #maintoolbar > select, #maintoolbar label { | |
87 | font-size: 85%; |
|
86 | font-size: 85%; | |
88 | margin-left:0.3em; |
|
87 | margin-left:0.3em; | |
89 | margin-right:0.3em; |
|
88 | margin-right:0.3em; | |
90 |
|
89 | |||
91 | } |
|
90 | } | |
92 |
|
91 | |||
93 |
|
92 | |||
94 | div#main_app { |
|
93 | div#main_app { | |
95 | width: 100%; |
|
94 | width: 100%; | |
96 | position: relative; |
|
95 | position: relative; | |
97 | } |
|
96 | } | |
98 |
|
97 | |||
99 | span#quick_help_area { |
|
98 | span#quick_help_area { | |
100 | position: static; |
|
99 | position: static; | |
101 | padding: 5px 0px; |
|
100 | padding: 5px 0px; | |
102 | margin: 0px 0px 0px 0px; |
|
101 | margin: 0px 0px 0px 0px; | |
103 | } |
|
102 | } | |
104 |
|
103 | |||
105 | .help_string { |
|
104 | .help_string { | |
106 | float: right; |
|
105 | float: right; | |
107 | width: 170px; |
|
106 | width: 170px; | |
108 | padding: 0px 5px; |
|
107 | padding: 0px 5px; | |
109 | text-align: left; |
|
108 | text-align: left; | |
110 | font-size: 85%; |
|
109 | font-size: 85%; | |
111 | } |
|
110 | } | |
112 |
|
111 | |||
113 | .help_string_label { |
|
112 | .help_string_label { | |
114 | float: right; |
|
113 | float: right; | |
115 | font-size: 85%; |
|
114 | font-size: 85%; | |
116 | } |
|
115 | } | |
117 |
|
116 | |||
118 | div#notebook_panel { |
|
117 | div#notebook_panel { | |
119 | margin: 0px 0px 0px 0px; |
|
118 | margin: 0px 0px 0px 0px; | |
120 | padding: 0px; |
|
119 | padding: 0px; | |
121 | } |
|
120 | } | |
122 |
|
121 | |||
123 | div#notebook { |
|
122 | div#notebook { | |
124 | overflow-y: scroll; |
|
123 | overflow-y: scroll; | |
125 | overflow-x: auto; |
|
124 | overflow-x: auto; | |
126 | width: 100%; |
|
125 | width: 100%; | |
127 | /* This spaces the cell away from the edge of the notebook area */ |
|
126 | /* This spaces the cell away from the edge of the notebook area */ | |
128 | padding: 5px 5px 15px 5px; |
|
127 | padding: 5px 5px 15px 5px; | |
129 | margin: 0px; |
|
128 | margin: 0px; | |
130 | background-color: @notebook_background; |
|
129 | background-color: @notebook_background; | |
131 | } |
|
130 | } | |
132 |
|
131 | |||
133 | div#pager_splitter { |
|
132 | div#pager_splitter { | |
134 | height: 8px; |
|
133 | height: 8px; | |
135 | } |
|
134 | } | |
136 |
|
135 | |||
137 | #pager_container { |
|
136 | #pager_container { | |
138 | position : relative; |
|
137 | position : relative; | |
139 | } |
|
138 | } | |
140 |
|
139 | |||
141 | div#pager { |
|
140 | div#pager { | |
142 | padding: 15px; |
|
141 | padding: 15px; | |
143 | overflow: auto; |
|
142 | overflow: auto; | |
144 | display: none; |
|
143 | display: none; | |
145 | } |
|
144 | } | |
146 |
|
145 | |||
147 | div.ui-widget-content { |
|
146 | div.ui-widget-content { | |
148 | border: 1px solid @border_color; |
|
147 | border: 1px solid @border_color; | |
149 | outline: none; |
|
148 | outline: none; | |
150 | } |
|
149 | } | |
151 |
|
150 | |||
152 | .cell { |
|
151 | .cell { | |
153 | border: 1px solid transparent; |
|
152 | border: 1px solid transparent; | |
154 |
|
153 | |||
155 | &.selected { |
|
154 | &.selected { | |
156 | border-radius: @corner_radius; |
|
155 | .corner-all; | |
157 | background-color:@cell_selected_background; |
|
156 | background-color:@cell_selected_background; | |
158 | border : thin @border_color solid; |
|
157 | border : thin @border_color solid; | |
159 | } |
|
158 | } | |
160 | } |
|
159 | } | |
161 |
|
160 | |||
162 | div.cell { |
|
161 | div.cell { | |
163 | width: 100%; |
|
162 | width: 100%; | |
164 | padding: 5px 5px 5px 0px; |
|
163 | padding: 5px 5px 5px 0px; | |
165 | /* This acts as a spacer between cells, that is outside the border */ |
|
164 | /* This acts as a spacer between cells, that is outside the border */ | |
166 | margin: 2px 0px 2px 0px; |
|
165 | margin: 2px 0px 2px 0px; | |
167 | outline: none; |
|
166 | outline: none; | |
168 | } |
|
167 | } | |
169 |
|
168 | |||
170 | div.code_cell { |
|
169 | div.code_cell { | |
171 | } |
|
170 | } | |
172 |
|
171 | |||
173 | /* any special styling for code cells that are currently running goes here */ |
|
172 | /* any special styling for code cells that are currently running goes here */ | |
174 | div.code_cell.running { |
|
173 | div.code_cell.running { | |
175 | } |
|
174 | } | |
176 |
|
175 | |||
177 | div.prompt { |
|
176 | div.prompt { | |
178 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ |
|
177 | /* This needs to be wide enough for 3 digit prompt numbers: In[100]: */ | |
179 | width: 11ex; |
|
178 | width: 11ex; | |
180 | /* This 0.4em is tuned to match the padding on the CodeMirror editor. */ |
|
179 | /* This 0.4em is tuned to match the padding on the CodeMirror editor. */ | |
181 | padding: 0.4em; |
|
180 | padding: 0.4em; | |
182 | margin: 0px; |
|
181 | margin: 0px; | |
183 | font-family: monospace; |
|
182 | font-family: monospace; | |
184 | text-align: right; |
|
183 | text-align: right; | |
185 | /* This has to match that of the the CodeMirror class line-height below */ |
|
184 | /* This has to match that of the the CodeMirror class line-height below */ | |
186 | line-height: 1.231; |
|
185 | line-height: 1.231; | |
187 | } |
|
186 | } | |
188 |
|
187 | |||
189 | div.input { |
|
188 | div.input { | |
190 | page-break-inside: avoid; |
|
189 | page-break-inside: avoid; | |
191 | } |
|
190 | } | |
192 |
|
191 | |||
193 | /* input_area and input_prompt must match in top border and margin for alignment */ |
|
192 | /* input_area and input_prompt must match in top border and margin for alignment */ | |
194 | div.input_area { |
|
193 | div.input_area { | |
195 | color: black; |
|
194 | color: black; | |
196 | border: 1px solid @border_color; |
|
195 | border: 1px solid @border_color; | |
197 | border-radius: @corner_radius; |
|
196 | .corner-all; | |
198 | background: @cell_background; |
|
197 | background: @cell_background; | |
199 | } |
|
198 | } | |
200 |
|
199 | |||
201 | div.input_prompt { |
|
200 | div.input_prompt { | |
202 | color: navy; |
|
201 | color: navy; | |
203 | border-top: 1px solid transparent; |
|
202 | border-top: 1px solid transparent; | |
204 | } |
|
203 | } | |
205 |
|
204 | |||
206 | div.output_wrapper { |
|
205 | div.output_wrapper { | |
207 | /* This is a spacer between the input and output of each cell */ |
|
206 | /* This is a spacer between the input and output of each cell */ | |
208 | margin-top: 5px; |
|
207 | margin-top: 5px; | |
209 | margin-left: 5px; |
|
208 | margin-left: 5px; | |
210 | /* FF needs explicit width to stretch */ |
|
209 | /* FF needs explicit width to stretch */ | |
211 | width: 100%; |
|
210 | width: 100%; | |
212 | /* this position must be relative to enable descendents to be absolute within it */ |
|
211 | /* this position must be relative to enable descendents to be absolute within it */ | |
213 | position: relative; |
|
212 | position: relative; | |
214 | } |
|
213 | } | |
215 |
|
214 | |||
216 | /* class for the output area when it should be height-limited */ |
|
215 | /* class for the output area when it should be height-limited */ | |
217 | div.output_scroll { |
|
216 | div.output_scroll { | |
218 | /* ideally, this would be max-height, but FF barfs all over that */ |
|
217 | /* ideally, this would be max-height, but FF barfs all over that */ | |
219 | height: 24em; |
|
218 | height: 24em; | |
220 | /* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */ |
|
219 | /* FF needs this *and the wrapper* to specify full width, or it will shrinkwrap */ | |
221 | width: 100%; |
|
220 | width: 100%; | |
222 |
|
221 | |||
223 | overflow: auto; |
|
222 | overflow: auto; | |
224 | border-radius: @corner_radius; |
|
223 | .corner-all; | |
225 | box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8); |
|
224 | box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8); | |
226 | } |
|
225 | } | |
227 |
|
226 | |||
228 | /* output div while it is collapsed */ |
|
227 | /* output div while it is collapsed */ | |
229 | div.output_collapsed { |
|
228 | div.output_collapsed { | |
230 | margin-right: 5px; |
|
229 | margin-right: 5px; | |
231 | } |
|
230 | } | |
232 |
|
231 | |||
233 | div.out_prompt_overlay { |
|
232 | div.out_prompt_overlay { | |
234 | height: 100%; |
|
233 | height: 100%; | |
235 | padding: 0px; |
|
234 | padding: 0px; | |
236 | position: absolute; |
|
235 | position: absolute; | |
237 | border-radius: @corner_radius; |
|
236 | .corner-all; | |
238 | } |
|
237 | } | |
239 |
|
238 | |||
240 | div.out_prompt_overlay:hover { |
|
239 | div.out_prompt_overlay:hover { | |
241 | /* use inner shadow to get border that is computed the same on WebKit/FF */ |
|
240 | /* use inner shadow to get border that is computed the same on WebKit/FF */ | |
242 | box-shadow: inset 0 0 1px #000; |
|
241 | box-shadow: inset 0 0 1px #000; | |
243 | background: rgba(240, 240, 240, 0.5); |
|
242 | background: rgba(240, 240, 240, 0.5); | |
244 | } |
|
243 | } | |
245 |
|
244 | |||
246 | div.output_prompt { |
|
245 | div.output_prompt { | |
247 | color: darkred; |
|
246 | color: darkred; | |
248 | /* 5px right shift to account for margin in parent container */ |
|
247 | /* 5px right shift to account for margin in parent container */ | |
249 | margin: 0 5px 0 -5px; |
|
248 | margin: 0 5px 0 -5px; | |
250 | } |
|
249 | } | |
251 |
|
250 | |||
252 | /* This class is the outer container of all output sections. */ |
|
251 | /* This class is the outer container of all output sections. */ | |
253 | div.output_area { |
|
252 | div.output_area { | |
254 | padding: 0px; |
|
253 | padding: 0px; | |
255 | page-break-inside: avoid; |
|
254 | page-break-inside: avoid; | |
256 | } |
|
255 | } | |
257 |
|
256 | |||
258 |
|
257 | |||
259 | /* This is needed to protect the pre formating from global settings such |
|
258 | /* This is needed to protect the pre formating from global settings such | |
260 | as that of bootstrap */ |
|
259 | as that of bootstrap */ | |
261 | div.output_area pre { |
|
260 | div.output_area pre { | |
262 | font-family: monospace; |
|
261 | font-family: monospace; | |
263 | margin: 0; |
|
262 | margin: 0; | |
264 | padding: 0; |
|
263 | padding: 0; | |
265 | border: 0; |
|
264 | border: 0; | |
266 | font-size: 100%; |
|
265 | font-size: 100%; | |
267 | font: inherit; |
|
266 | font: inherit; | |
268 | vertical-align: baseline; |
|
267 | vertical-align: baseline; | |
269 | color: black; |
|
268 | color: black; | |
270 | background-color: white; |
|
269 | background-color: white; | |
271 | } |
|
270 | } | |
272 |
|
271 | |||
273 | /* This class is for the output subarea inside the output_area and after |
|
272 | /* This class is for the output subarea inside the output_area and after | |
274 | the prompt div. */ |
|
273 | the prompt div. */ | |
275 | div.output_subarea { |
|
274 | div.output_subarea { | |
276 | padding: 0.44em 0.4em 0.4em 1px; |
|
275 | padding: 0.44em 0.4em 0.4em 1px; | |
277 | } |
|
276 | } | |
278 |
|
277 | |||
279 | /* The rest of the output_* classes are for special styling of the different |
|
278 | /* The rest of the output_* classes are for special styling of the different | |
280 | output types */ |
|
279 | output types */ | |
281 |
|
280 | |||
282 | /* all text output has this class: */ |
|
281 | /* all text output has this class: */ | |
283 | div.output_text { |
|
282 | div.output_text { | |
284 | text-align: left; |
|
283 | text-align: left; | |
285 | color: black; |
|
284 | color: black; | |
286 | font-family: monospace; |
|
285 | font-family: monospace; | |
287 | /* This has to match that of the the CodeMirror class line-height below */ |
|
286 | /* This has to match that of the the CodeMirror class line-height below */ | |
288 | line-height: 1.231; |
|
287 | line-height: 1.231; | |
289 | } |
|
288 | } | |
290 |
|
289 | |||
291 | /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */ |
|
290 | /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */ | |
292 | div.output_stream { |
|
291 | div.output_stream { | |
293 | padding-top: 0.0em; |
|
292 | padding-top: 0.0em; | |
294 | padding-bottom: 0.0em; |
|
293 | padding-bottom: 0.0em; | |
295 | } |
|
294 | } | |
296 | div.output_stdout { |
|
295 | div.output_stdout { | |
297 | } |
|
296 | } | |
298 | div.output_stderr { |
|
297 | div.output_stderr { | |
299 | background: #fdd; /* very light red background for stderr */ |
|
298 | background: #fdd; /* very light red background for stderr */ | |
300 | } |
|
299 | } | |
301 |
|
300 | |||
302 | div.output_latex { |
|
301 | div.output_latex { | |
303 | text-align: left; |
|
302 | text-align: left; | |
304 | color: black; |
|
303 | color: black; | |
305 | } |
|
304 | } | |
306 |
|
305 | |||
307 | div.output_html { |
|
306 | div.output_html { | |
308 | } |
|
307 | } | |
309 |
|
308 | |||
310 | div.output_png { |
|
309 | div.output_png { | |
311 | } |
|
310 | } | |
312 |
|
311 | |||
313 | div.output_jpeg { |
|
312 | div.output_jpeg { | |
314 | } |
|
313 | } | |
315 |
|
314 | |||
316 | div.text_cell { |
|
315 | div.text_cell { | |
317 | padding: 5px 5px 5px 5px; |
|
316 | padding: 5px 5px 5px 5px; | |
318 | } |
|
317 | } | |
319 |
|
318 | |||
320 | div.text_cell_input { |
|
319 | div.text_cell_input { | |
321 | color: black; |
|
320 | color: black; | |
322 | border: 1px solid @border_color; |
|
321 | border: 1px solid @border_color; | |
323 | border-radius: @corner_radius; |
|
322 | .corner-all; | |
324 | background: @cell_background; |
|
323 | background: @cell_background; | |
325 | } |
|
324 | } | |
326 |
|
325 | |||
327 | div.text_cell_render { |
|
326 | div.text_cell_render { | |
328 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
327 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; | |
329 | outline: none; |
|
328 | outline: none; | |
330 | resize: none; |
|
329 | resize: none; | |
331 | width: inherit; |
|
330 | width: inherit; | |
332 | border-style: none; |
|
331 | border-style: none; | |
333 | padding: 5px; |
|
332 | padding: 5px; | |
334 | color: black; |
|
333 | color: black; | |
335 | } |
|
334 | } | |
336 |
|
335 | |||
337 | /* The following gets added to the <head> if it is detected that the user has a |
|
336 | /* The following gets added to the <head> if it is detected that the user has a | |
338 | * monospace font with inconsistent normal/bold/italic height. See |
|
337 | * monospace font with inconsistent normal/bold/italic height. See | |
339 | * notebookmain.js. Such fonts will have keywords vertically offset with |
|
338 | * notebookmain.js. Such fonts will have keywords vertically offset with | |
340 | * respect to the rest of the text. The user should select a better font. |
|
339 | * respect to the rest of the text. The user should select a better font. | |
341 | * See: https://github.com/ipython/ipython/issues/1503 |
|
340 | * See: https://github.com/ipython/ipython/issues/1503 | |
342 | * |
|
341 | * | |
343 | * .CodeMirror span { |
|
342 | * .CodeMirror span { | |
344 | * vertical-align: bottom; |
|
343 | * vertical-align: bottom; | |
345 | * } |
|
344 | * } | |
346 | */ |
|
345 | */ | |
347 |
|
346 | |||
348 | .CodeMirror { |
|
347 | .CodeMirror { | |
349 | line-height: 1.231; /* Changed from 1em to our global default */ |
|
348 | line-height: 1.231; /* Changed from 1em to our global default */ | |
350 | } |
|
349 | } | |
351 |
|
350 | |||
352 | .CodeMirror-scroll { |
|
351 | .CodeMirror-scroll { | |
353 | height: auto; /* Changed to auto to autogrow */ |
|
352 | height: auto; /* Changed to auto to autogrow */ | |
354 | /* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/ |
|
353 | /* The CodeMirror docs are a bit fuzzy on if overflow-y should be hidden or visible.*/ | |
355 | /* We have found that if it is visible, vertical scrollbars appear with font size changes.*/ |
|
354 | /* We have found that if it is visible, vertical scrollbars appear with font size changes.*/ | |
356 | overflow-y: hidden; |
|
355 | overflow-y: hidden; | |
357 | overflow-x: auto; /* Changed from auto to remove scrollbar */ |
|
356 | overflow-x: auto; /* Changed from auto to remove scrollbar */ | |
358 | } |
|
357 | } | |
359 |
|
358 | |||
360 | /* CSS font colors for translated ANSI colors. */ |
|
359 | /* CSS font colors for translated ANSI colors. */ | |
361 |
|
360 | |||
362 |
|
361 | |||
363 | .ansiblack {color: black;} |
|
362 | .ansiblack {color: black;} | |
364 | .ansired {color: darkred;} |
|
363 | .ansired {color: darkred;} | |
365 | .ansigreen {color: darkgreen;} |
|
364 | .ansigreen {color: darkgreen;} | |
366 | .ansiyellow {color: brown;} |
|
365 | .ansiyellow {color: brown;} | |
367 | .ansiblue {color: darkblue;} |
|
366 | .ansiblue {color: darkblue;} | |
368 | .ansipurple {color: darkviolet;} |
|
367 | .ansipurple {color: darkviolet;} | |
369 | .ansicyan {color: steelblue;} |
|
368 | .ansicyan {color: steelblue;} | |
370 | .ansigrey {color: grey;} |
|
369 | .ansigrey {color: grey;} | |
371 | .ansibold {font-weight: bold;} |
|
370 | .ansibold {font-weight: bold;} | |
372 |
|
371 | |||
373 | .completions { |
|
372 | .completions { | |
374 | position: absolute; |
|
373 | position: absolute; | |
375 | z-index: 10; |
|
374 | z-index: 10; | |
376 | overflow: hidden; |
|
375 | overflow: hidden; | |
377 | border: 1px solid @border_color; |
|
376 | border: 1px solid @border_color; | |
378 | } |
|
377 | } | |
379 |
|
378 | |||
380 | .completions select { |
|
379 | .completions select { | |
381 | background: white; |
|
380 | background: white; | |
382 | outline: none; |
|
381 | outline: none; | |
383 | border: none; |
|
382 | border: none; | |
384 | padding: 0px; |
|
383 | padding: 0px; | |
385 | margin: 0px; |
|
384 | margin: 0px; | |
386 | overflow: auto; |
|
385 | overflow: auto; | |
387 | font-family: monospace; |
|
386 | font-family: monospace; | |
388 | } |
|
387 | } | |
389 |
|
388 | |||
390 | option.context { |
|
389 | option.context { | |
391 | background-color: #DEF7FF; |
|
390 | background-color: #DEF7FF; | |
392 | } |
|
391 | } | |
393 | option.introspection { |
|
392 | option.introspection { | |
394 | background-color: #EBF4EB; |
|
393 | background-color: #EBF4EB; | |
395 | } |
|
394 | } | |
396 |
|
395 | |||
397 | /*fixed part of the completion*/ |
|
396 | /*fixed part of the completion*/ | |
398 | .completions p b { |
|
397 | .completions p b { | |
399 | font-weight:bold; |
|
398 | font-weight:bold; | |
400 | } |
|
399 | } | |
401 |
|
400 | |||
402 | .completions p { |
|
401 | .completions p { | |
403 | background: #DDF; |
|
402 | background: #DDF; | |
404 | /*outline: none; |
|
403 | /*outline: none; | |
405 | padding: 0px;*/ |
|
404 | padding: 0px;*/ | |
406 | border-bottom: black solid 1px; |
|
405 | border-bottom: black solid 1px; | |
407 | padding: 1px; |
|
406 | padding: 1px; | |
408 | font-family: monospace; |
|
407 | font-family: monospace; | |
409 | } |
|
408 | } | |
410 |
|
409 | |||
411 | pre.dialog { |
|
410 | pre.dialog { | |
412 | background-color: @cell_background; |
|
411 | background-color: @cell_background; | |
413 | border: 1px solid #ddd; |
|
412 | border: 1px solid #ddd; | |
414 | border-radius: @corner_radius; |
|
413 | .corner-all; | |
415 | padding: 0.4em; |
|
414 | padding: 0.4em; | |
416 | padding-left: 2em; |
|
415 | padding-left: 2em; | |
417 | } |
|
416 | } | |
418 |
|
417 | |||
419 | p.dialog { |
|
418 | p.dialog { | |
420 | padding : 0.2em; |
|
419 | padding : 0.2em; | |
421 | } |
|
420 | } | |
422 |
|
421 | |||
423 | .shortcut_key { |
|
422 | .shortcut_key { | |
424 | display: inline-block; |
|
423 | display: inline-block; | |
425 | width: 15ex; |
|
424 | width: 15ex; | |
426 | text-align: right; |
|
425 | text-align: right; | |
427 | font-family: monospace; |
|
426 | font-family: monospace; | |
428 | } |
|
427 | } | |
429 |
|
428 | |||
430 | .shortcut_descr { |
|
429 | .shortcut_descr { | |
431 | } |
|
430 | } | |
432 |
|
431 | |||
433 | /* Word-wrap output correctly. This is the CSS3 spelling, though Firefox seems |
|
432 | /* Word-wrap output correctly. This is the CSS3 spelling, though Firefox seems | |
434 | to not honor it correctly. Webkit browsers (Chrome, rekonq, Safari) do. |
|
433 | to not honor it correctly. Webkit browsers (Chrome, rekonq, Safari) do. | |
435 | */ |
|
434 | */ | |
436 | pre, code, kbd, samp { white-space: pre-wrap; } |
|
435 | pre, code, kbd, samp { white-space: pre-wrap; } | |
437 |
|
436 | |||
438 | #fonttest { |
|
437 | #fonttest { | |
439 | font-family: monospace; |
|
438 | font-family: monospace; | |
440 | } |
|
439 | } | |
441 |
|
440 | |||
442 | .js-error { |
|
441 | .js-error { | |
443 | color: darkred; |
|
442 | color: darkred; | |
444 | } |
|
443 | } | |
|
444 | ||||
|
445 | ||||
|
446 | ||||
|
447 |
@@ -1,5 +1,15 b'' | |||||
1 | @corner_radius: 3px; |
|
1 | @corner_radius: 3px; | |
2 | @notebook_background : white; |
|
2 | @notebook_background : white; | |
3 | @cell_selected_background: darken(@notebook_background, 2%); |
|
3 | @cell_selected_background: darken(@notebook_background, 2%); | |
4 | @cell_background: darken(@notebook_background, 3.2%); |
|
4 | @cell_background: darken(@notebook_background, 3.2%); | |
5 | @border_color: darken(@cell_selected_background, 10%); |
|
5 | @border_color: darken(@cell_selected_background, 10%); | |
|
6 | ||||
|
7 | ||||
|
8 | ||||
|
9 | ||||
|
10 | ||||
|
11 | // utilities mixins | |||
|
12 | ||||
|
13 | .corner-all { | |||
|
14 | border-radius:@corner_radius; | |||
|
15 | } |
@@ -1,231 +1,231 b'' | |||||
1 | {% extends "page.html" %} |
|
1 | {% extends "page.html" %} | |
2 |
|
2 | |||
3 | {% block stylesheet %} |
|
3 | {% block stylesheet %} | |
4 |
|
4 | |||
5 | {% if mathjax_url %} |
|
5 | {% if mathjax_url %} | |
6 | <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full&delayStartupUntil=configured" charset="utf-8"></script> |
|
6 | <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full&delayStartupUntil=configured" charset="utf-8"></script> | |
7 | {% endif %} |
|
7 | {% endif %} | |
8 | <script type="text/javascript"> |
|
8 | <script type="text/javascript"> | |
9 | // MathJax disabled, set as null to distingish from *missing* MathJax, |
|
9 | // MathJax disabled, set as null to distingish from *missing* MathJax, | |
10 | // where it will be undefined, and should prompt a dialog later. |
|
10 | // where it will be undefined, and should prompt a dialog later. | |
11 | window.mathjax_url = "{{mathjax_url}}"; |
|
11 | window.mathjax_url = "{{mathjax_url}}"; | |
12 | </script> |
|
12 | </script> | |
13 |
|
13 | |||
14 | <link rel="stylesheet" href="{{ static_url("codemirror/lib/codemirror.css") }}"> |
|
14 | <link rel="stylesheet" href="{{ static_url("codemirror/lib/codemirror.css") }}"> | |
15 | <link rel="stylesheet" href="{{ static_url("codemirror/theme/ipython.css") }}"> |
|
15 | <link rel="stylesheet" href="{{ static_url("codemirror/theme/ipython.css") }}"> | |
16 |
|
16 | |||
17 | <link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/> |
|
17 | <link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/> | |
18 |
|
18 | |||
19 | <link rel="stylesheet" href="{{ static_url("css/celltoolbar.css") }}" type="text/css" /> |
|
19 | <link rel="stylesheet" href="{{ static_url("css/celltoolbar.css") }}" type="text/css" /> | |
20 | <link rel="stylesheet/less" href="{{ static_url("css/notebook.less") }}" type="text/css" /> |
|
20 | <link rel="stylesheet/less" href="{{ static_url("css/notebook.less") }}" type="text/css" /> | |
21 | <link rel="stylesheet/less" href="{{ static_url("css/tooltip.less") }}" type="text/css" /> |
|
21 | <link rel="stylesheet/less" href="{{ static_url("css/tooltip.less") }}" type="text/css" /> | |
22 | <link rel="stylesheet/less" href="{{ static_url("css/renderedhtml.less") }}" type="text/css" /> |
|
22 | <link rel="stylesheet/less" href="{{ static_url("css/renderedhtml.less") }}" type="text/css" /> | |
23 |
|
23 | |||
24 | <link rel="stylesheet/less" href="{{ static_url("css/printnotebook.less") }}" type="text/css" media="print"/> |
|
24 | <link rel="stylesheet/less" href="{{ static_url("css/printnotebook.less") }}" type="text/css" media="print"/> | |
25 | {% endblock %} |
|
25 | {% endblock %} | |
26 |
|
26 | |||
27 | {% block params %} |
|
27 | {% block params %} | |
28 |
|
28 | |||
29 | data-project={{project}} |
|
29 | data-project={{project}} | |
30 | data-base-project-url={{base_project_url}} |
|
30 | data-base-project-url={{base_project_url}} | |
31 | data-base-kernel-url={{base_kernel_url}} |
|
31 | data-base-kernel-url={{base_kernel_url}} | |
32 | data-read-only={{read_only and not logged_in}} |
|
32 | data-read-only={{read_only and not logged_in}} | |
33 | data-notebook-id={{notebook_id}} |
|
33 | data-notebook-id={{notebook_id}} | |
34 |
|
34 | |||
35 | {% endblock %} |
|
35 | {% endblock %} | |
36 |
|
36 | |||
37 |
|
37 | |||
38 | {% block header %} |
|
38 | {% block header %} | |
39 |
|
39 | |||
40 | <span id="save_widget"> |
|
40 | <span id="save_widget"> | |
41 | <span id="notebook_name"></span> |
|
41 | <span id="notebook_name"></span> | |
42 | <span id="save_status"></span> |
|
42 | <span id="save_status"></span> | |
43 | </span> |
|
43 | </span> | |
44 |
|
44 | |||
45 | {% endblock %} |
|
45 | {% endblock %} | |
46 |
|
46 | |||
47 |
|
47 | |||
48 | {% block site %} |
|
48 | {% block site %} | |
49 |
|
49 | |||
50 | <div id="menubar_container"> |
|
50 | <div id="menubar_container"> | |
51 | <div id="menubar"> |
|
51 | <div id="menubar"> | |
52 | <ul id="menus"> |
|
52 | <ul id="menus"> | |
53 | <li><a href="#">File</a> |
|
53 | <li><a href="#">File</a> | |
54 | <ul> |
|
54 | <ul> | |
55 | <li id="new_notebook"><a href="#">New</a></li> |
|
55 | <li id="new_notebook"><a href="#">New</a></li> | |
56 | <li id="open_notebook"><a href="#">Open...</a></li> |
|
56 | <li id="open_notebook"><a href="#">Open...</a></li> | |
57 | <hr/> |
|
57 | <hr/> | |
58 | <li id="copy_notebook"><a href="#">Make a Copy...</a></li> |
|
58 | <li id="copy_notebook"><a href="#">Make a Copy...</a></li> | |
59 | <li id="rename_notebook"><a href="#">Rename...</a></li> |
|
59 | <li id="rename_notebook"><a href="#">Rename...</a></li> | |
60 | <li id="save_notebook"><a href="#">Save</a></li> |
|
60 | <li id="save_notebook"><a href="#">Save</a></li> | |
61 | <hr/> |
|
61 | <hr/> | |
62 | <li><a href="#">Download as</a> |
|
62 | <li><a href="#">Download as</a> | |
63 | <ul> |
|
63 | <ul> | |
64 | <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li> |
|
64 | <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li> | |
65 | <li id="download_py"><a href="#">Python (.py)</a></li> |
|
65 | <li id="download_py"><a href="#">Python (.py)</a></li> | |
66 | </ul> |
|
66 | </ul> | |
67 | </li> |
|
67 | </li> | |
68 | <hr/> |
|
68 | <hr/> | |
69 | <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li> |
|
69 | <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li> | |
70 | <hr/> |
|
70 | <hr/> | |
71 | <li id="kill_and_exit"><a href="#" >Close and halt</a></li> |
|
71 | <li id="kill_and_exit"><a href="#" >Close and halt</a></li> | |
72 | </ul> |
|
72 | </ul> | |
73 | </li> |
|
73 | </li> | |
74 | <li><a href="#">Edit</a> |
|
74 | <li><a href="#">Edit</a> | |
75 | <ul> |
|
75 | <ul> | |
76 | <li id="cut_cell"><a href="#">Cut Cell</a></li> |
|
76 | <li id="cut_cell"><a href="#">Cut Cell</a></li> | |
77 | <li id="copy_cell"><a href="#">Copy Cell</a></li> |
|
77 | <li id="copy_cell"><a href="#">Copy Cell</a></li> | |
78 | <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li> |
|
78 | <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li> | |
79 | <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li> |
|
79 | <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li> | |
80 | <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell & Replace</a></li> |
|
80 | <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell & Replace</a></li> | |
81 | <li id="delete_cell"><a href="#">Delete</a></li> |
|
81 | <li id="delete_cell"><a href="#">Delete</a></li> | |
82 | <hr/> |
|
82 | <hr/> | |
83 | <li id="split_cell"><a href="#">Split Cell</a></li> |
|
83 | <li id="split_cell"><a href="#">Split Cell</a></li> | |
84 | <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li> |
|
84 | <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li> | |
85 | <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li> |
|
85 | <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li> | |
86 | <hr/> |
|
86 | <hr/> | |
87 | <li id="move_cell_up"><a href="#">Move Cell Up</a></li> |
|
87 | <li id="move_cell_up"><a href="#">Move Cell Up</a></li> | |
88 | <li id="move_cell_down"><a href="#">Move Cell Down</a></li> |
|
88 | <li id="move_cell_down"><a href="#">Move Cell Down</a></li> | |
89 | <hr/> |
|
89 | <hr/> | |
90 | <li id="select_previous"><a href="#">Select Previous Cell</a></li> |
|
90 | <li id="select_previous"><a href="#">Select Previous Cell</a></li> | |
91 | <li id="select_next"><a href="#">Select Next Cell</a></li> |
|
91 | <li id="select_next"><a href="#">Select Next Cell</a></li> | |
92 | </ul> |
|
92 | </ul> | |
93 | </li> |
|
93 | </li> | |
94 | <li><a href="#">View</a> |
|
94 | <li><a href="#">View</a> | |
95 | <ul> |
|
95 | <ul> | |
96 | <li id="toggle_header"><a href="#">Toggle Header</a></li> |
|
96 | <li id="toggle_header"><a href="#">Toggle Header</a></li> | |
97 | <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li> |
|
97 | <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li> | |
98 | </ul> |
|
98 | </ul> | |
99 | </li> |
|
99 | </li> | |
100 | <li><a href="#">Insert</a> |
|
100 | <li><a href="#">Insert</a> | |
101 | <ul> |
|
101 | <ul> | |
102 | <li id="insert_cell_above"><a href="#">Insert Cell Above</a></li> |
|
102 | <li id="insert_cell_above"><a href="#">Insert Cell Above</a></li> | |
103 | <li id="insert_cell_below"><a href="#">Insert Cell Below</a></li> |
|
103 | <li id="insert_cell_below"><a href="#">Insert Cell Below</a></li> | |
104 | </ul> |
|
104 | </ul> | |
105 | </li> |
|
105 | </li> | |
106 | <li><a href="#">Cell</a> |
|
106 | <li><a href="#">Cell</a> | |
107 | <ul> |
|
107 | <ul> | |
108 | <li id="run_cell"><a href="#">Run</a></li> |
|
108 | <li id="run_cell"><a href="#">Run</a></li> | |
109 | <li id="run_cell_in_place"><a href="#">Run in Place</a></li> |
|
109 | <li id="run_cell_in_place"><a href="#">Run in Place</a></li> | |
110 | <li id="run_all_cells"><a href="#">Run All</a></li> |
|
110 | <li id="run_all_cells"><a href="#">Run All</a></li> | |
111 | <li id="run_all_cells_above"><a href="#">Run All Above</a></li> |
|
111 | <li id="run_all_cells_above"><a href="#">Run All Above</a></li> | |
112 | <li id="run_all_cells_below"><a href="#">Run All Below</a></li> |
|
112 | <li id="run_all_cells_below"><a href="#">Run All Below</a></li> | |
113 | <hr/> |
|
113 | <hr/> | |
114 | <li id="to_code"><a href="#">Code</a></li> |
|
114 | <li id="to_code"><a href="#">Code</a></li> | |
115 | <li id="to_markdown"><a href="#">Markdown </a></li> |
|
115 | <li id="to_markdown"><a href="#">Markdown </a></li> | |
116 | <li id="to_raw"><a href="#">Raw Text</a></li> |
|
116 | <li id="to_raw"><a href="#">Raw Text</a></li> | |
117 | <li id="to_heading1"><a href="#">Heading 1</a></li> |
|
117 | <li id="to_heading1"><a href="#">Heading 1</a></li> | |
118 | <li id="to_heading2"><a href="#">Heading 2</a></li> |
|
118 | <li id="to_heading2"><a href="#">Heading 2</a></li> | |
119 | <li id="to_heading3"><a href="#">Heading 3</a></li> |
|
119 | <li id="to_heading3"><a href="#">Heading 3</a></li> | |
120 | <li id="to_heading4"><a href="#">Heading 4</a></li> |
|
120 | <li id="to_heading4"><a href="#">Heading 4</a></li> | |
121 | <li id="to_heading5"><a href="#">Heading 5</a></li> |
|
121 | <li id="to_heading5"><a href="#">Heading 5</a></li> | |
122 | <li id="to_heading6"><a href="#">Heading 6</a></li> |
|
122 | <li id="to_heading6"><a href="#">Heading 6</a></li> | |
123 | <hr/> |
|
123 | <hr/> | |
124 | <li id="toggle_output"><a href="#">Toggle Current Output</a></li> |
|
124 | <li id="toggle_output"><a href="#">Toggle Current Output</a></li> | |
125 | <li id="all_outputs"><a href="#">All Output</a> |
|
125 | <li id="all_outputs"><a href="#">All Output</a> | |
126 | <ul> |
|
126 | <ul> | |
127 | <li id="expand_all_output"><a href="#">Expand</a></li> |
|
127 | <li id="expand_all_output"><a href="#">Expand</a></li> | |
128 | <li id="scroll_all_output"><a href="#">Scroll Long</a></li> |
|
128 | <li id="scroll_all_output"><a href="#">Scroll Long</a></li> | |
129 | <li id="collapse_all_output"><a href="#">Collapse</a></li> |
|
129 | <li id="collapse_all_output"><a href="#">Collapse</a></li> | |
130 | <li id="clear_all_output"><a href="#">Clear</a></li> |
|
130 | <li id="clear_all_output"><a href="#">Clear</a></li> | |
131 | </ul> |
|
131 | </ul> | |
132 | </li> |
|
132 | </li> | |
133 | </ul> |
|
133 | </ul> | |
134 | </li> |
|
134 | </li> | |
135 | <li><a href="#">Kernel</a> |
|
135 | <li><a href="#">Kernel</a> | |
136 | <ul> |
|
136 | <ul> | |
137 | <li id="int_kernel"><a href="#">Interrupt</a></li> |
|
137 | <li id="int_kernel"><a href="#">Interrupt</a></li> | |
138 | <li id="restart_kernel"><a href="#">Restart</a></li> |
|
138 | <li id="restart_kernel"><a href="#">Restart</a></li> | |
139 | </ul> |
|
139 | </ul> | |
140 | </li> |
|
140 | </li> | |
141 | <li><a href="#">Help</a> |
|
141 | <li><a href="#">Help</a> | |
142 | <ul> |
|
142 | <ul> | |
143 | <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li> |
|
143 | <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li> | |
144 | <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li> |
|
144 | <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li> | |
145 | <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li> |
|
145 | <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li> | |
146 | <hr/> |
|
146 | <hr/> | |
147 | <li><a href="http://docs.python.org" target="_blank">Python</a></li> |
|
147 | <li><a href="http://docs.python.org" target="_blank">Python</a></li> | |
148 | <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li> |
|
148 | <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li> | |
149 | <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li> |
|
149 | <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li> | |
150 | <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li> |
|
150 | <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li> | |
151 | <li><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></li> |
|
151 | <li><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></li> | |
152 | </ul> |
|
152 | </ul> | |
153 | </li> |
|
153 | </li> | |
154 | </ul> |
|
154 | </ul> | |
155 |
|
155 | |||
156 | </div> |
|
156 | </div> | |
157 | <div id="notification_area"> |
|
157 | <div id="notification_area"> | |
158 | </div> |
|
158 | </div> | |
159 | </div> |
|
159 | </div> | |
160 |
|
160 | |||
161 |
|
161 | |||
162 | <div id="maintoolbar"></div> |
|
162 | <div id="maintoolbar"></div> | |
163 |
|
163 | |||
164 | <div id="main_app"> |
|
164 | <div id="main_app"> | |
165 |
|
165 | |||
166 | <div id="notebook_panel"> |
|
166 | <div id="notebook_panel"> | |
167 | <div id="notebook"></div> |
|
167 | <div id="notebook"></div> | |
168 | <div id="pager_splitter"></div> |
|
168 | <div id="pager_splitter"></div> | |
169 | <div id="pager_container"> |
|
169 | <div id="pager_container"> | |
170 | <div id='pager_button_area'> |
|
170 | <div id='pager_button_area'> | |
171 | </div> |
|
171 | </div> | |
172 | <div id="pager"></div> |
|
172 | <div id="pager"></div> | |
173 | </div> |
|
173 | </div> | |
174 | </div> |
|
174 | </div> | |
175 |
|
175 | |||
176 | </div> |
|
176 | </div> | |
177 |
<div id='tooltip' class='ipython_tooltip |
|
177 | <div id='tooltip' class='ipython_tooltip corner-all' style='display:none'></div> | |
178 |
|
178 | |||
179 |
|
179 | |||
180 | {% endblock %} |
|
180 | {% endblock %} | |
181 |
|
181 | |||
182 |
|
182 | |||
183 | {% block script %} |
|
183 | {% block script %} | |
184 |
|
184 | |||
185 | <script src="{{ static_url("js/less/less-1.3.1.min.js") }}" charset="utf-8"></script> |
|
185 | <script src="{{ static_url("js/less/less-1.3.1.min.js") }}" charset="utf-8"></script> | |
186 | <script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script> |
|
186 | <script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script> | |
187 | <script src="{{ static_url("codemirror/lib/util/loadmode.js") }}" charset="utf-8"></script> |
|
187 | <script src="{{ static_url("codemirror/lib/util/loadmode.js") }}" charset="utf-8"></script> | |
188 | <script src="{{ static_url("codemirror/lib/util/multiplex.js") }}" charset="utf-8"></script> |
|
188 | <script src="{{ static_url("codemirror/lib/util/multiplex.js") }}" charset="utf-8"></script> | |
189 | <script src="{{ static_url("codemirror/mode/python/python.js") }}" charset="utf-8"></script> |
|
189 | <script src="{{ static_url("codemirror/mode/python/python.js") }}" charset="utf-8"></script> | |
190 | <script src="{{ static_url("codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script> |
|
190 | <script src="{{ static_url("codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script> | |
191 | <script src="{{ static_url("codemirror/mode/xml/xml.js") }}" charset="utf-8"></script> |
|
191 | <script src="{{ static_url("codemirror/mode/xml/xml.js") }}" charset="utf-8"></script> | |
192 | <script src="{{ static_url("codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script> |
|
192 | <script src="{{ static_url("codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script> | |
193 | <script src="{{ static_url("codemirror/mode/css/css.js") }}" charset="utf-8"></script> |
|
193 | <script src="{{ static_url("codemirror/mode/css/css.js") }}" charset="utf-8"></script> | |
194 | <script src="{{ static_url("codemirror/mode/rst/rst.js") }}" charset="utf-8"></script> |
|
194 | <script src="{{ static_url("codemirror/mode/rst/rst.js") }}" charset="utf-8"></script> | |
195 | <script src="{{ static_url("codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script> |
|
195 | <script src="{{ static_url("codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script> | |
196 |
|
196 | |||
197 | <script src="{{ static_url("pagedown/Markdown.Converter.js") }}" charset="utf-8"></script> |
|
197 | <script src="{{ static_url("pagedown/Markdown.Converter.js") }}" charset="utf-8"></script> | |
198 |
|
198 | |||
199 | <script src="{{ static_url("prettify/prettify.js") }}" charset="utf-8"></script> |
|
199 | <script src="{{ static_url("prettify/prettify.js") }}" charset="utf-8"></script> | |
200 | <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script> |
|
200 | <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script> | |
201 |
|
201 | |||
202 | <script src="{{ static_url("js/events.js") }}" type="text/javascript" charset="utf-8"></script> |
|
202 | <script src="{{ static_url("js/events.js") }}" type="text/javascript" charset="utf-8"></script> | |
203 | <script src="{{ static_url("js/utils.js") }}" type="text/javascript" charset="utf-8"></script> |
|
203 | <script src="{{ static_url("js/utils.js") }}" type="text/javascript" charset="utf-8"></script> | |
204 | <script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script> |
|
204 | <script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script> | |
205 | <script src="{{ static_url("js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script> |
|
205 | <script src="{{ static_url("js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script> | |
206 | <script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script> |
|
206 | <script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script> | |
207 | <script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script> |
|
207 | <script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script> | |
208 | <script src="{{ static_url("js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script> |
|
208 | <script src="{{ static_url("js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script> | |
209 | <script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script> |
|
209 | <script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script> | |
210 | <script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script> |
|
210 | <script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script> | |
211 | <script src="{{ static_url("js/textcell.js") }}" type="text/javascript" charset="utf-8"></script> |
|
211 | <script src="{{ static_url("js/textcell.js") }}" type="text/javascript" charset="utf-8"></script> | |
212 | <script src="{{ static_url("js/kernel.js") }}" type="text/javascript" charset="utf-8"></script> |
|
212 | <script src="{{ static_url("js/kernel.js") }}" type="text/javascript" charset="utf-8"></script> | |
213 | <script src="{{ static_url("js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script> |
|
213 | <script src="{{ static_url("js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script> | |
214 | <script src="{{ static_url("js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script> |
|
214 | <script src="{{ static_url("js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script> | |
215 | <script src="{{ static_url("js/pager.js") }}" type="text/javascript" charset="utf-8"></script> |
|
215 | <script src="{{ static_url("js/pager.js") }}" type="text/javascript" charset="utf-8"></script> | |
216 | <script src="{{ static_url("js/menubar.js") }}" type="text/javascript" charset="utf-8"></script> |
|
216 | <script src="{{ static_url("js/menubar.js") }}" type="text/javascript" charset="utf-8"></script> | |
217 | <script src="{{ static_url("js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script> |
|
217 | <script src="{{ static_url("js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script> | |
218 | <script src="{{ static_url("js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script> |
|
218 | <script src="{{ static_url("js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script> | |
219 | <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script> |
|
219 | <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script> | |
220 | <script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script> |
|
220 | <script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script> | |
221 | <script src="{{ static_url("js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script> |
|
221 | <script src="{{ static_url("js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script> | |
222 | <script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script> |
|
222 | <script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script> | |
223 | <script src="{{ static_url("js/config.js") }}" type="text/javascript" charset="utf-8"></script> |
|
223 | <script src="{{ static_url("js/config.js") }}" type="text/javascript" charset="utf-8"></script> | |
224 | <script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script> |
|
224 | <script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script> | |
225 |
|
225 | |||
226 | <script src="{{ static_url("js/contexthint.js") }}" charset="utf-8"></script> |
|
226 | <script src="{{ static_url("js/contexthint.js") }}" charset="utf-8"></script> | |
227 |
|
227 | |||
228 | <script src="{{ static_url("js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script> |
|
228 | <script src="{{ static_url("js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script> | |
229 | <script src="{{ static_url("js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script> |
|
229 | <script src="{{ static_url("js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script> | |
230 |
|
230 | |||
231 | {% endblock %} |
|
231 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now