Show More
@@ -1,333 +1,333 b'' | |||
|
1 | 1 | {% extends "page.html" %} |
|
2 | 2 | |
|
3 | 3 | {% block stylesheet %} |
|
4 | 4 | |
|
5 | 5 | {% if mathjax_url %} |
|
6 |
<script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full |
|
|
6 | <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full&delayStartupUntil=configured" charset="utf-8"></script> | |
|
7 | 7 | {% endif %} |
|
8 | 8 | <script type="text/javascript"> |
|
9 | 9 | // MathJax disabled, set as null to distingish from *missing* MathJax, |
|
10 | 10 | // where it will be undefined, and should prompt a dialog later. |
|
11 | 11 | window.mathjax_url = "{{mathjax_url}}"; |
|
12 | 12 | </script> |
|
13 | 13 | |
|
14 | 14 | <link rel="stylesheet" href="{{ static_url("components/bootstrap-tour/build/css/bootstrap-tour.min.css") }}" type="text/css" /> |
|
15 | 15 | <link rel="stylesheet" href="{{ static_url("components/codemirror/lib/codemirror.css") }}"> |
|
16 | 16 | |
|
17 | 17 | {{super()}} |
|
18 | 18 | |
|
19 | 19 | <link rel="stylesheet" href="{{ static_url("notebook/css/override.css") }}" type="text/css" /> |
|
20 | 20 | |
|
21 | 21 | {% endblock %} |
|
22 | 22 | |
|
23 | 23 | {% block params %} |
|
24 | 24 | |
|
25 | 25 | data-project="{{project}}" |
|
26 | 26 | data-base-url="{{base_url}}" |
|
27 | 27 | data-ws-url="{{ws_url}}" |
|
28 | 28 | data-notebook-name="{{notebook_name}}" |
|
29 | 29 | data-notebook-path="{{notebook_path}}" |
|
30 | 30 | class="notebook_app" |
|
31 | 31 | |
|
32 | 32 | {% endblock %} |
|
33 | 33 | |
|
34 | 34 | |
|
35 | 35 | {% block headercontainer %} |
|
36 | 36 | |
|
37 | 37 | |
|
38 | 38 | <span id="save_widget" class="pull-left save_widget"> |
|
39 | 39 | <span class="filename"></span> |
|
40 | 40 | <span class="checkpoint_status"></span> |
|
41 | 41 | <span class="autosave_status"></span> |
|
42 | 42 | </span> |
|
43 | 43 | |
|
44 | 44 | <div id="kernel_selector_widget" class="pull-right dropdown"> |
|
45 | 45 | <!-- empty png in 26 bytes below--> |
|
46 | 46 | <img id="current_kernel_logo" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D" alt='current kernel logo'> |
|
47 | 47 | <button class="dropdown-toggle btn btn-sm navbar-btn" data-toggle="dropdown" type='button' id="current_kernel_spec"> |
|
48 | 48 | <span class='kernel_name'>Kernel</span> |
|
49 | 49 | <span class="caret"></span> |
|
50 | 50 | </button> |
|
51 | 51 | <ul id="kernel_selector" class="dropdown-menu"> |
|
52 | 52 | </ul> |
|
53 | 53 | </div> |
|
54 | 54 | |
|
55 | 55 | {% endblock headercontainer %} |
|
56 | 56 | |
|
57 | 57 | {% block header %} |
|
58 | 58 | <div id="menubar-container" class="container"> |
|
59 | 59 | <div id="menubar"> |
|
60 | 60 | <div id="menus" class="navbar navbar-default" role="navigation"> |
|
61 | 61 | <div class="container-fluid"> |
|
62 | 62 | <button type="button" class="btn btn-default navbar-btn navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> |
|
63 | 63 | <i class="fa fa-bars"></i> |
|
64 | 64 | <span class="navbar-text">Menu</span> |
|
65 | 65 | </button> |
|
66 | 66 | <p id="kernel_indicator" class="navbar-text"> |
|
67 | 67 | <i id="kernel_indicator_icon"></i> |
|
68 | 68 | </p> |
|
69 | 69 | <p id="modal_indicator" class="navbar-text"> |
|
70 | 70 | <i id="modal_indicator_icon"></i> |
|
71 | 71 | </p> |
|
72 | 72 | <span id="notification_area"></span> |
|
73 | 73 | <div class="navbar-collapse collapse"> |
|
74 | 74 | <ul class="nav navbar-nav"> |
|
75 | 75 | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">File</a> |
|
76 | 76 | <ul id="file_menu" class="dropdown-menu"> |
|
77 | 77 | <li id="new_notebook" |
|
78 | 78 | title="Make a new notebook (Opens a new window)"> |
|
79 | 79 | <a href="#">New</a></li> |
|
80 | 80 | <li id="open_notebook" |
|
81 | 81 | title="Opens a new window with the Dashboard view"> |
|
82 | 82 | <a href="#">Open...</a></li> |
|
83 | 83 | <!-- <hr/> --> |
|
84 | 84 | <li class="divider"></li> |
|
85 | 85 | <li id="copy_notebook" |
|
86 | 86 | title="Open a copy of this notebook's contents and start a new kernel"> |
|
87 | 87 | <a href="#">Make a Copy...</a></li> |
|
88 | 88 | <li id="rename_notebook"><a href="#">Rename...</a></li> |
|
89 | 89 | <li id="save_checkpoint"><a href="#">Save and Checkpoint</a></li> |
|
90 | 90 | <!-- <hr/> --> |
|
91 | 91 | <li class="divider"></li> |
|
92 | 92 | <li id="restore_checkpoint" class="dropdown-submenu"><a href="#">Revert to Checkpoint</a> |
|
93 | 93 | <ul class="dropdown-menu"> |
|
94 | 94 | <li><a href="#"></a></li> |
|
95 | 95 | <li><a href="#"></a></li> |
|
96 | 96 | <li><a href="#"></a></li> |
|
97 | 97 | <li><a href="#"></a></li> |
|
98 | 98 | <li><a href="#"></a></li> |
|
99 | 99 | </ul> |
|
100 | 100 | </li> |
|
101 | 101 | <li class="divider"></li> |
|
102 | 102 | <li id="print_preview"><a href="#">Print Preview</a></li> |
|
103 | 103 | <li class="dropdown-submenu"><a href="#">Download as</a> |
|
104 | 104 | <ul class="dropdown-menu"> |
|
105 | 105 | <li id="download_ipynb"><a href="#">IPython Notebook (.ipynb)</a></li> |
|
106 | 106 | <li id="download_script"><a href="#">Script</a></li> |
|
107 | 107 | <li id="download_html"><a href="#">HTML (.html)</a></li> |
|
108 | 108 | <li id="download_rst"><a href="#">reST (.rst)</a></li> |
|
109 | 109 | <li id="download_pdf"><a href="#">PDF (.pdf)</a></li> |
|
110 | 110 | </ul> |
|
111 | 111 | </li> |
|
112 | 112 | <li class="divider"></li> |
|
113 | 113 | <li id="trust_notebook" |
|
114 | 114 | title="Trust the output of this notebook"> |
|
115 | 115 | <a href="#" >Trust Notebook</a></li> |
|
116 | 116 | <li class="divider"></li> |
|
117 | 117 | <li id="kill_and_exit" |
|
118 | 118 | title="Shutdown this notebook's kernel, and close this window"> |
|
119 | 119 | <a href="#" >Close and halt</a></li> |
|
120 | 120 | </ul> |
|
121 | 121 | </li> |
|
122 | 122 | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Edit</a> |
|
123 | 123 | <ul id="edit_menu" class="dropdown-menu"> |
|
124 | 124 | <li id="cut_cell"><a href="#">Cut Cell</a></li> |
|
125 | 125 | <li id="copy_cell"><a href="#">Copy Cell</a></li> |
|
126 | 126 | <li id="paste_cell_above" class="disabled"><a href="#">Paste Cell Above</a></li> |
|
127 | 127 | <li id="paste_cell_below" class="disabled"><a href="#">Paste Cell Below</a></li> |
|
128 | 128 | <li id="paste_cell_replace" class="disabled"><a href="#">Paste Cell & Replace</a></li> |
|
129 | 129 | <li id="delete_cell"><a href="#">Delete Cell</a></li> |
|
130 | 130 | <li id="undelete_cell" class="disabled"><a href="#">Undo Delete Cell</a></li> |
|
131 | 131 | <li class="divider"></li> |
|
132 | 132 | <li id="split_cell"><a href="#">Split Cell</a></li> |
|
133 | 133 | <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li> |
|
134 | 134 | <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li> |
|
135 | 135 | <li class="divider"></li> |
|
136 | 136 | <li id="move_cell_up"><a href="#">Move Cell Up</a></li> |
|
137 | 137 | <li id="move_cell_down"><a href="#">Move Cell Down</a></li> |
|
138 | 138 | <li class="divider"></li> |
|
139 | 139 | <li id="edit_nb_metadata"><a href="#">Edit Notebook Metadata</a></li> |
|
140 | 140 | </ul> |
|
141 | 141 | </li> |
|
142 | 142 | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">View</a> |
|
143 | 143 | <ul id="view_menu" class="dropdown-menu"> |
|
144 | 144 | <li id="toggle_header" |
|
145 | 145 | title="Show/Hide the IPython Notebook logo and notebook title (above menu bar)"> |
|
146 | 146 | <a href="#">Toggle Header</a></li> |
|
147 | 147 | <li id="toggle_toolbar" |
|
148 | 148 | title="Show/Hide the action icons (below menu bar)"> |
|
149 | 149 | <a href="#">Toggle Toolbar</a></li> |
|
150 | 150 | </ul> |
|
151 | 151 | </li> |
|
152 | 152 | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Insert</a> |
|
153 | 153 | <ul id="insert_menu" class="dropdown-menu"> |
|
154 | 154 | <li id="insert_cell_above" |
|
155 | 155 | title="Insert an empty Code cell above the currently active cell"> |
|
156 | 156 | <a href="#">Insert Cell Above</a></li> |
|
157 | 157 | <li id="insert_cell_below" |
|
158 | 158 | title="Insert an empty Code cell below the currently active cell"> |
|
159 | 159 | <a href="#">Insert Cell Below</a></li> |
|
160 | 160 | </ul> |
|
161 | 161 | </li> |
|
162 | 162 | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Cell</a> |
|
163 | 163 | <ul id="cell_menu" class="dropdown-menu"> |
|
164 | 164 | <li id="run_cell" title="Run this cell, and move cursor to the next one"> |
|
165 | 165 | <a href="#">Run</a></li> |
|
166 | 166 | <li id="run_cell_select_below" title="Run this cell, select below"> |
|
167 | 167 | <a href="#">Run and Select Below</a></li> |
|
168 | 168 | <li id="run_cell_insert_below" title="Run this cell, insert below"> |
|
169 | 169 | <a href="#">Run and Insert Below</a></li> |
|
170 | 170 | <li id="run_all_cells" title="Run all cells in the notebook"> |
|
171 | 171 | <a href="#">Run All</a></li> |
|
172 | 172 | <li id="run_all_cells_above" title="Run all cells above (but not including) this cell"> |
|
173 | 173 | <a href="#">Run All Above</a></li> |
|
174 | 174 | <li id="run_all_cells_below" title="Run this cell and all cells below it"> |
|
175 | 175 | <a href="#">Run All Below</a></li> |
|
176 | 176 | <li class="divider"></li> |
|
177 | 177 | <li id="change_cell_type" class="dropdown-submenu" |
|
178 | 178 | title="All cells in the notebook have a cell type. By default, new cells are created as 'Code' cells"> |
|
179 | 179 | <a href="#">Cell Type</a> |
|
180 | 180 | <ul class="dropdown-menu"> |
|
181 | 181 | <li id="to_code" |
|
182 | 182 | title="Contents will be sent to the kernel for execution, and output will display in the footer of cell"> |
|
183 | 183 | <a href="#">Code</a></li> |
|
184 | 184 | <li id="to_markdown" |
|
185 | 185 | title="Contents will be rendered as HTML and serve as explanatory text"> |
|
186 | 186 | <a href="#">Markdown</a></li> |
|
187 | 187 | <li id="to_raw" |
|
188 | 188 | title="Contents will pass through nbconvert unmodified"> |
|
189 | 189 | <a href="#">Raw NBConvert</a></li> |
|
190 | 190 | </ul> |
|
191 | 191 | </li> |
|
192 | 192 | <li class="divider"></li> |
|
193 | 193 | <li id="current_outputs" class="dropdown-submenu"><a href="#">Current Output</a> |
|
194 | 194 | <ul class="dropdown-menu"> |
|
195 | 195 | <li id="toggle_current_output" |
|
196 | 196 | title="Hide/Show the output of the current cell"> |
|
197 | 197 | <a href="#">Toggle</a> |
|
198 | 198 | </li> |
|
199 | 199 | <li id="toggle_current_output_scroll" |
|
200 | 200 | title="Scroll the output of the current cell"> |
|
201 | 201 | <a href="#">Toggle Scrolling</a> |
|
202 | 202 | </li> |
|
203 | 203 | <li id="clear_current_output" |
|
204 | 204 | title="Clear the output of the current cell"> |
|
205 | 205 | <a href="#">Clear</a> |
|
206 | 206 | </li> |
|
207 | 207 | </ul> |
|
208 | 208 | </li> |
|
209 | 209 | <li id="all_outputs" class="dropdown-submenu"><a href="#">All Output</a> |
|
210 | 210 | <ul class="dropdown-menu"> |
|
211 | 211 | <li id="toggle_all_output" |
|
212 | 212 | title="Hide/Show the output of all cells"> |
|
213 | 213 | <a href="#">Toggle</a> |
|
214 | 214 | </li> |
|
215 | 215 | <li id="toggle_all_output_scroll" |
|
216 | 216 | title="Scroll the output of all cells"> |
|
217 | 217 | <a href="#">Toggle Scrolling</a> |
|
218 | 218 | </li> |
|
219 | 219 | <li id="clear_all_output" |
|
220 | 220 | title="Clear the output of all cells"> |
|
221 | 221 | <a href="#">Clear</a> |
|
222 | 222 | </li> |
|
223 | 223 | </ul> |
|
224 | 224 | </li> |
|
225 | 225 | </ul> |
|
226 | 226 | </li> |
|
227 | 227 | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Kernel</a> |
|
228 | 228 | <ul id="kernel_menu" class="dropdown-menu"> |
|
229 | 229 | <li id="int_kernel" |
|
230 | 230 | title="Send KeyboardInterrupt (CTRL-C) to the Kernel"> |
|
231 | 231 | <a href="#">Interrupt</a> |
|
232 | 232 | </li> |
|
233 | 233 | <li id="restart_kernel" |
|
234 | 234 | title="Restart the Kernel"> |
|
235 | 235 | <a href="#">Restart</a> |
|
236 | 236 | </li> |
|
237 | 237 | <li id="reconnect_kernel" |
|
238 | 238 | title="Reconnect to the Kernel"> |
|
239 | 239 | <a href="#">Reconnect</a> |
|
240 | 240 | </li> |
|
241 | 241 | <li class="divider"></li> |
|
242 | 242 | <li id="menu-change-kernel" class="dropdown-submenu"> |
|
243 | 243 | <a href="#">Change kernel</a> |
|
244 | 244 | <ul class="dropdown-menu" id="menu-change-kernel-submenu"></ul> |
|
245 | 245 | </li> |
|
246 | 246 | </ul> |
|
247 | 247 | </li> |
|
248 | 248 | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Help</a> |
|
249 | 249 | <ul id="help_menu" class="dropdown-menu"> |
|
250 | 250 | <li id="notebook_tour" title="A quick tour of the notebook user interface"><a href="#">User Interface Tour</a></li> |
|
251 | 251 | <li id="keyboard_shortcuts" title="Opens a tooltip with all keyboard shortcuts"><a href="#">Keyboard Shortcuts</a></li> |
|
252 | 252 | <li class="divider"></li> |
|
253 | 253 | {% set |
|
254 | 254 | sections = ( |
|
255 | 255 | ( |
|
256 | 256 | ("http://ipython.org/documentation.html","IPython Help",True), |
|
257 | 257 | ("http://nbviewer.ipython.org/github/ipython/ipython/tree/2.x/examples/Index.ipynb", "Notebook Help", True), |
|
258 | 258 | ),( |
|
259 | 259 | ("http://docs.python.org","Python",True), |
|
260 | 260 | ("http://help.github.com/articles/github-flavored-markdown","Markdown",True), |
|
261 | 261 | ("http://docs.scipy.org/doc/numpy/reference/","NumPy",True), |
|
262 | 262 | ("http://docs.scipy.org/doc/scipy/reference/","SciPy",True), |
|
263 | 263 | ("http://matplotlib.org/contents.html","Matplotlib",True), |
|
264 | 264 | ("http://docs.sympy.org/latest/index.html","SymPy",True), |
|
265 | 265 | ("http://pandas.pydata.org/pandas-docs/stable/","pandas", True) |
|
266 | 266 | ) |
|
267 | 267 | ) |
|
268 | 268 | %} |
|
269 | 269 | |
|
270 | 270 | {% for helplinks in sections %} |
|
271 | 271 | {% for link in helplinks %} |
|
272 | 272 | <li><a href="{{link[0]}}" {{'target="_blank" title="Opens in a new window"' if link[2]}}> |
|
273 | 273 | {{'<i class="fa fa-external-link menu-icon pull-right"></i>' if link[2]}} |
|
274 | 274 | {{link[1]}} |
|
275 | 275 | </a></li> |
|
276 | 276 | {% endfor %} |
|
277 | 277 | {% if not loop.last %} |
|
278 | 278 | <li class="divider"></li> |
|
279 | 279 | {% endif %} |
|
280 | 280 | {% endfor %} |
|
281 | 281 | <li class="divider"></li> |
|
282 | 282 | <li title="About IPython Notebook"><a id="notebook_about" href="#">About</a></li> |
|
283 | 283 | </ul> |
|
284 | 284 | </li> |
|
285 | 285 | </ul> |
|
286 | 286 | </div> |
|
287 | 287 | </div> |
|
288 | 288 | </div> |
|
289 | 289 | </div> |
|
290 | 290 | |
|
291 | 291 | <div id="maintoolbar" class="navbar"> |
|
292 | 292 | <div class="toolbar-inner navbar-inner navbar-nobg"> |
|
293 | 293 | <div id="maintoolbar-container" class="container"></div> |
|
294 | 294 | </div> |
|
295 | 295 | </div> |
|
296 | 296 | </div> |
|
297 | 297 | |
|
298 | 298 | <div class="lower-header-bar"></div> |
|
299 | 299 | {% endblock header %} |
|
300 | 300 | |
|
301 | 301 | {% block site %} |
|
302 | 302 | |
|
303 | 303 | |
|
304 | 304 | <div id="ipython-main-app"> |
|
305 | 305 | <div id="notebook_panel"> |
|
306 | 306 | <div id="notebook"></div> |
|
307 | 307 | </div> |
|
308 | 308 | </div> |
|
309 | 309 | |
|
310 | 310 | <div id="pager"> |
|
311 | 311 | <div id="pager-contents"> |
|
312 | 312 | <div id="pager-container" class="container"></div> |
|
313 | 313 | </div> |
|
314 | 314 | <div id='pager-button-area'></div> |
|
315 | 315 | </div> |
|
316 | 316 | |
|
317 | 317 | <div id='tooltip' class='ipython_tooltip' style='display:none'></div> |
|
318 | 318 | |
|
319 | 319 | |
|
320 | 320 | {% endblock %} |
|
321 | 321 | |
|
322 | 322 | |
|
323 | 323 | {% block script %} |
|
324 | 324 | {{super()}} |
|
325 | 325 | <script type="text/javascript"> |
|
326 | 326 | sys_info = {{sys_info}}; |
|
327 | 327 | </script> |
|
328 | 328 | |
|
329 | 329 | <script src="{{ static_url("components/text-encoding/lib/encoding.js") }}" charset="utf-8"></script> |
|
330 | 330 | |
|
331 | 331 | <script src="{{ static_url("notebook/js/main.js") }}" charset="utf-8"></script> |
|
332 | 332 | |
|
333 | 333 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now