##// END OF EJS Templates
Don't try to load widget.js automatically since it was moved...
Jonathan Frederic -
Show More
@@ -1,310 +1,309
1 1 {% extends "page.html" %}
2 2
3 3 {% block stylesheet %}
4 4
5 5 {% if mathjax_url %}
6 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/codemirror/lib/codemirror.css") }}">
15 15
16 16 {{super()}}
17 17
18 18 <link rel="stylesheet" href="{{ static_url("notebook/css/override.css") }}" type="text/css" />
19 19
20 20 {% endblock %}
21 21
22 22 {% block params %}
23 23
24 24 data-project="{{project}}"
25 25 data-base-project-url="{{base_project_url}}"
26 26 data-base-kernel-url="{{base_kernel_url}}"
27 27 data-notebook-name="{{notebook_name}}"
28 28 data-notebook-path="{{notebook_path}}"
29 29 class="notebook_app"
30 30
31 31 {% endblock %}
32 32
33 33
34 34 {% block header %}
35 35
36 36 <span id="save_widget" class="nav pull-left">
37 37 <span id="notebook_name"></span>
38 38 <span id="checkpoint_status"></span>
39 39 <span id="autosave_status"></span>
40 40 </span>
41 41
42 42 {% endblock %}
43 43
44 44
45 45 {% block site %}
46 46
47 47 <div id="menubar-container" class="container">
48 48 <div id="menubar">
49 49 <div class="navbar">
50 50 <div class="navbar-inner">
51 51 <div class="container">
52 52 <ul id="menus" class="nav">
53 53 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">File</a>
54 54 <ul class="dropdown-menu">
55 55 <li id="new_notebook"
56 56 title="Make a new notebook (Opens a new window)">
57 57 <a href="#">New</a></li>
58 58 <li id="open_notebook"
59 59 title="Opens a new window with the Dashboard view">
60 60 <a href="#">Open...</a></li>
61 61 <!-- <hr/> -->
62 62 <li class="divider"></li>
63 63 <li id="copy_notebook"
64 64 title="Open a copy of this notebook's contents and start a new kernel">
65 65 <a href="#">Make a Copy...</a></li>
66 66 <li id="rename_notebook"><a href="#">Rename...</a></li>
67 67 <li id="save_checkpoint"><a href="#">Save and Checkpoint</a></li>
68 68 <!-- <hr/> -->
69 69 <li class="divider"></li>
70 70 <li id="restore_checkpoint" class="dropdown-submenu"><a href="#">Revert to Checkpoint</a>
71 71 <ul class="dropdown-menu">
72 72 <li><a href="#"></a></li>
73 73 <li><a href="#"></a></li>
74 74 <li><a href="#"></a></li>
75 75 <li><a href="#"></a></li>
76 76 <li><a href="#"></a></li>
77 77 </ul>
78 78 </li>
79 79 <li class="divider"></li>
80 80 <li id="print_preview"><a href="#">Print Preview</a></li>
81 81 <li class="dropdown-submenu"><a href="#">Download as</a>
82 82 <ul class="dropdown-menu">
83 83 <li id="download_ipynb"><a href="#">IPython Notebook (.ipynb)</a></li>
84 84 <li id="download_py"><a href="#">Python (.py)</a></li>
85 85 <li id="download_html"><a href="#">HTML (.html)</a></li>
86 86 <li id="download_rst"><a href="#">reST (.rst)</a></li>
87 87 </ul>
88 88 </li>
89 89 <li class="divider"></li>
90 90
91 91 <li id="kill_and_exit"
92 92 title="Shutdown this notebook's kernel, and close this window">
93 93 <a href="#" >Close and halt</a></li>
94 94 </ul>
95 95 </li>
96 96 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Edit</a>
97 97 <ul class="dropdown-menu">
98 98 <li id="cut_cell"><a href="#">Cut Cell</a></li>
99 99 <li id="copy_cell"><a href="#">Copy Cell</a></li>
100 100 <li id="paste_cell_above" class="disabled"><a href="#">Paste Cell Above</a></li>
101 101 <li id="paste_cell_below" class="disabled"><a href="#">Paste Cell Below</a></li>
102 102 <li id="paste_cell_replace" class="disabled"><a href="#">Paste Cell &amp; Replace</a></li>
103 103 <li id="delete_cell"><a href="#">Delete Cell</a></li>
104 104 <li id="undelete_cell" class="disabled"><a href="#">Undo Delete Cell</a></li>
105 105 <li class="divider"></li>
106 106 <li id="split_cell"><a href="#">Split Cell</a></li>
107 107 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
108 108 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
109 109 <li class="divider"></li>
110 110 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
111 111 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
112 112 <li class="divider"></li>
113 113 <li id="select_previous"><a href="#">Select Previous Cell</a></li>
114 114 <li id="select_next"><a href="#">Select Next Cell</a></li>
115 115 <li class="divider"></li>
116 116 <li id="edit_nb_metadata"><a href="#">Edit Notebook Metadata</a></li>
117 117 </ul>
118 118 </li>
119 119 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">View</a>
120 120 <ul class="dropdown-menu">
121 121 <li id="toggle_header"
122 122 title="Show/Hide the IPython Notebook logo and notebook title (above menu bar)">
123 123 <a href="#">Toggle Header</a></li>
124 124 <li id="toggle_toolbar"
125 125 title="Show/Hide the action icons (below menu bar)">
126 126 <a href="#">Toggle Toolbar</a></li>
127 127 </ul>
128 128 </li>
129 129 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Insert</a>
130 130 <ul class="dropdown-menu">
131 131 <li id="insert_cell_above"
132 132 title="Insert an empty Code cell above the currently active cell">
133 133 <a href="#">Insert Cell Above</a></li>
134 134 <li id="insert_cell_below"
135 135 title="Insert an empty Code cell below the currently active cell">
136 136 <a href="#">Insert Cell Below</a></li>
137 137 </ul>
138 138 </li>
139 139 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Cell</a>
140 140 <ul class="dropdown-menu">
141 141 <li id="run_cell" title="Run this cell, and move cursor to the next one">
142 142 <a href="#">Run</a></li>
143 143 <li id="run_cell_select_below" title="Run this cell, select below">
144 144 <a href="#">Run and Select Below</a></li>
145 145 <li id="run_cell_insert_below" title="Run this cell, insert below">
146 146 <a href="#">Run and Insert Below</a></li>
147 147 <li id="run_all_cells" title="Run all cells in the notebook">
148 148 <a href="#">Run All</a></li>
149 149 <li id="run_all_cells_above" title="Run all cells above (but not including) this cell">
150 150 <a href="#">Run All Above</a></li>
151 151 <li id="run_all_cells_below" title="Run this cell and all cells below it">
152 152 <a href="#">Run All Below</a></li>
153 153 <li class="divider"></li>
154 154 <li id="change_cell_type" class="dropdown-submenu"
155 155 title="All cells in the notebook have a cell type. By default, new cells are created as 'Code' cells">
156 156 <a href="#">Cell Type</a>
157 157 <ul class="dropdown-menu">
158 158 <li id="to_code"
159 159 title="Contents will be sent to the kernel for execution, and output will display in the footer of cell">
160 160 <a href="#">Code</a></li>
161 161 <li id="to_markdown"
162 162 title="Contents will be rendered as HTML and serve as explanatory text">
163 163 <a href="#">Markdown</a></li>
164 164 <li id="to_raw"
165 165 title="Contents will pass through nbconvert unmodified">
166 166 <a href="#">Raw NBConvert</a></li>
167 167 <li id="to_heading1"><a href="#">Heading 1</a></li>
168 168 <li id="to_heading2"><a href="#">Heading 2</a></li>
169 169 <li id="to_heading3"><a href="#">Heading 3</a></li>
170 170 <li id="to_heading4"><a href="#">Heading 4</a></li>
171 171 <li id="to_heading5"><a href="#">Heading 5</a></li>
172 172 <li id="to_heading6"><a href="#">Heading 6</a></li>
173 173 </ul>
174 174 </li>
175 175 <li class="divider"></li>
176 176 <li id="toggle_output"
177 177 title="Show/Hide the output portion of a Code cell">
178 178 <a href="#">Toggle Current Output</a></li>
179 179 <li id="all_outputs" class="dropdown-submenu"><a href="#">All Output</a>
180 180 <ul class="dropdown-menu">
181 181 <li id="expand_all_output"><a href="#">Expand</a></li>
182 182 <li id="scroll_all_output"><a href="#">Scroll Long</a></li>
183 183 <li id="collapse_all_output"><a href="#">Collapse</a></li>
184 184 <li id="clear_all_output"
185 185 title="Remove the output portion of all Code cells">
186 186 <a href="#">Clear</a></li>
187 187 </ul>
188 188 </li>
189 189 </ul>
190 190 </li>
191 191 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Kernel</a>
192 192 <ul class="dropdown-menu">
193 193 <li id="int_kernel"
194 194 title="Send KeyboardInterrupt (CTRL-C) to the Kernel">
195 195 <a href="#">Interrupt</a></li>
196 196 <li id="restart_kernel"
197 197 title="Restart the Kernel">
198 198 <a href="#">Restart</a></li>
199 199 </ul>
200 200 </li>
201 201 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Help</a>
202 202 <ul class="dropdown-menu" title="Opens in a new window">
203 203 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
204 204 <li><a href="http://ipython.org/ipython-doc/stable/interactive/notebook.html" target="_blank">Notebook Help</a></li>
205 205 <li id="keyboard_shortcuts" title="Opens a tooltip with all keyboard shortcuts"><a href="#">Keyboard Shortcuts</a></li>
206 206 <li><a href="http://ipython.org/ipython-doc/dev/interactive/cm_keyboard.html" target="_blank">Editor Shortcuts</a></li>
207 207 <li class="divider"></li>
208 208 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
209 209 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
210 210 <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
211 211 <li><a href="http://matplotlib.org/" target="_blank">Matplotlib</a></li>
212 212 <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li>
213 213 <li><a href="http://pandas.pydata.org/pandas-docs/stable/" target="_blank">pandas</a></li>
214 214 </ul>
215 215 </li>
216 216 </ul>
217 217 <div id="notification_area"></div>
218 218 </div>
219 219 </div>
220 220 </div>
221 221 </div>
222 222 <div id="maintoolbar" class="navbar">
223 223 <div class="toolbar-inner navbar-inner navbar-nobg">
224 224 <div id="maintoolbar-container" class="container"></div>
225 225 </div>
226 226 </div>
227 227 </div>
228 228
229 229 <div id="ipython-main-app">
230 230
231 231 <div id="notebook_panel">
232 232 <div id="notebook"></div>
233 233 <div id="pager_splitter"></div>
234 234 <div id="pager">
235 235 <div id='pager_button_area'>
236 236 </div>
237 237 <div id="pager-container" class="container"></div>
238 238 </div>
239 239 </div>
240 240
241 241 </div>
242 242 <div id='tooltip' class='ipython_tooltip' style='display:none'></div>
243 243
244 244
245 245 {% endblock %}
246 246
247 247
248 248 {% block script %}
249 249
250 250 {{super()}}
251 251
252 252 <script src="{{ static_url("components/codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
253 253 <script type="text/javascript">
254 254 CodeMirror.modeURL = "{{ static_url("components/codemirror/mode/%N/%N.js") }}";
255 255 </script>
256 256 <script src="{{ static_url("components/codemirror/addon/mode/loadmode.js") }}" charset="utf-8"></script>
257 257 <script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
258 258 <script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script>
259 259 <script src="{{ static_url("components/codemirror/addon/edit/matchbrackets.js") }}" charset="utf-8"></script>
260 260 <script src="{{ static_url("components/codemirror/addon/comment/comment.js") }}" charset="utf-8"></script>
261 261 <script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
262 262 <script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
263 263 <script src="{{ static_url("components/codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
264 264 <script src="{{ static_url("components/codemirror/mode/css/css.js") }}" charset="utf-8"></script>
265 265 <script src="{{ static_url("components/codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
266 266 <script src="{{ static_url("components/codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
267 267 <script src="{{ static_url("components/codemirror/mode/gfm/gfm.js") }}" charset="utf-8"></script>
268 268 <script src="{{ static_url("components/codemirror/mode/python/python.js") }}" charset="utf-8"></script>
269 269 <script src="{{ static_url("notebook/js/codemirror-ipython.js") }}" charset="utf-8"></script>
270 270
271 271 <script src="{{ static_url("components/highlight.js/build/highlight.pack.js") }}" charset="utf-8"></script>
272 272
273 273 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
274 274
275 275 <script src="{{ static_url("base/js/events.js") }}" type="text/javascript" charset="utf-8"></script>
276 276 <script src="{{ static_url("base/js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
277 277 <script src="{{ static_url("base/js/dialog.js") }}" type="text/javascript" charset="utf-8"></script>
278 278 <script src="{{ static_url("services/kernels/js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
279 279 <script src="{{ static_url("services/kernels/js/comm.js") }}" type="text/javascript" charset="utf-8"></script>
280 280 <script src="{{ static_url("services/sessions/js/session.js") }}" type="text/javascript" charset="utf-8"></script>
281 281 <script src="{{ static_url("notebook/js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
282 282 <script src="{{ static_url("notebook/js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
283 283 <script src="{{ static_url("notebook/js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
284 284 <script src="{{ static_url("notebook/js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
285 285 <script src="{{ static_url("notebook/js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
286 286 <script src="{{ static_url("notebook/js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
287 287 <script src="{{ static_url("notebook/js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
288 288 <script src="{{ static_url("notebook/js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
289 289 <script src="{{ static_url("notebook/js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
290 290 <script src="{{ static_url("notebook/js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
291 291 <script src="{{ static_url("notebook/js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
292 292 <script src="{{ static_url("notebook/js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
293 293 <script src="{{ static_url("notebook/js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
294 <script src="{{ static_url("notebook/js/widget.js") }}" type="text/javascript" charset="utf-8"></script>
295 294 <script src="{{ static_url("notebook/js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
296 295 <script src="{{ static_url("notebook/js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
297 296 <script src="{{ static_url("notebook/js/keyboardmanager.js") }}" type="text/javascript" charset="utf-8"></script>
298 297 <script src="{{ static_url("notebook/js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
299 298 <script src="{{ static_url("notebook/js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
300 299 <script src="{{ static_url("notebook/js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
301 300 <script src="{{ static_url("notebook/js/config.js") }}" type="text/javascript" charset="utf-8"></script>
302 301 <script src="{{ static_url("notebook/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
303 302
304 303 <script src="{{ static_url("notebook/js/contexthint.js") }}" charset="utf-8"></script>
305 304
306 305 <script src="{{ static_url("notebook/js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
307 306 <script src="{{ static_url("notebook/js/celltoolbarpresets/rawcell.js") }}" type="text/javascript" charset="utf-8"></script>
308 307 <script src="{{ static_url("notebook/js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
309 308
310 309 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now