Show More
@@ -1,250 +1,250 b'' | |||
|
1 | 1 | {% extends page.html %} |
|
2 | 2 | {% block stylesheet %} |
|
3 | 3 | |
|
4 | 4 | {% if mathjax_url %} |
|
5 | 5 | <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML" charset="utf-8"></script> |
|
6 | 6 | {% end %} |
|
7 | 7 | <script type="text/javascript"> |
|
8 | 8 | // MathJax disabled, set as null to distingish from *missing* MathJax, |
|
9 | 9 | // where it will be undefined, and should prompt a dialog later. |
|
10 | 10 | window.mathjax_url = "{{mathjax_url}}"; |
|
11 | 11 | </script> |
|
12 | 12 | |
|
13 | 13 | <link rel="stylesheet" href="{{ static_url("codemirror/lib/codemirror.css") }}"> |
|
14 | 14 | <link rel="stylesheet" href="{{ static_url("codemirror/theme/ipython.css") }}"> |
|
15 | 15 | |
|
16 | 16 | <link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/> |
|
17 | 17 | |
|
18 | 18 | <link rel="stylesheet" href="{{ static_url("css/notebook.css") }}" type="text/css" /> |
|
19 | 19 | <link rel="stylesheet" href="{{ static_url("css/tooltip.css") }}" type="text/css" /> |
|
20 | 20 | <link rel="stylesheet" href="{{ static_url("css/renderedhtml.css") }}" type="text/css" /> |
|
21 | 21 | |
|
22 | 22 | <link rel="stylesheet" href="{{ static_url("css/printnotebook.css") }}" type="text/css" media="print"/> |
|
23 | 23 | |
|
24 | 24 | {% end %} |
|
25 | 25 | |
|
26 | 26 | |
|
27 | 27 | {% block params %} |
|
28 | 28 | |
|
29 | 29 | data-project={{project}} |
|
30 | 30 | data-base-project-url={{base_project_url}} |
|
31 | 31 | data-base-kernel-url={{base_kernel_url}} |
|
32 | 32 | data-read-only={{read_only and not logged_in}} |
|
33 | 33 | data-notebook-id={{notebook_id}} |
|
34 | 34 | |
|
35 | 35 | {% end %} |
|
36 | 36 | |
|
37 | 37 | |
|
38 | 38 | {% block header %} |
|
39 | 39 | |
|
40 | 40 | <span id="save_widget"> |
|
41 | 41 | <span id="notebook_name"></span> |
|
42 | 42 | <span id="save_status"></span> |
|
43 | 43 | </span> |
|
44 | 44 | |
|
45 | 45 | {% end %} |
|
46 | 46 | |
|
47 | 47 | |
|
48 | 48 | {% block site %} |
|
49 | 49 | |
|
50 | 50 | <div id="menubar_container"> |
|
51 | 51 | <div id="menubar"> |
|
52 | 52 | <ul id="menus"> |
|
53 | 53 | <li><a href="#">File</a> |
|
54 | 54 | <ul> |
|
55 | 55 | <li id="new_notebook"><a href="#">New</a></li> |
|
56 | 56 | <li id="open_notebook"><a href="#">Open...</a></li> |
|
57 | 57 | <hr/> |
|
58 | 58 | <li id="copy_notebook"><a href="#">Make a Copy...</a></li> |
|
59 | 59 | <li id="rename_notebook"><a href="#">Rename...</a></li> |
|
60 | 60 | <li id="save_notebook"><a href="#">Save</a></li> |
|
61 | 61 | <hr/> |
|
62 | 62 | <li><a href="#">Download as</a> |
|
63 | 63 | <ul> |
|
64 | 64 | <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li> |
|
65 | 65 | <li id="download_py"><a href="#">Python (.py)</a></li> |
|
66 | 66 | </ul> |
|
67 | 67 | </li> |
|
68 | 68 | <hr/> |
|
69 | 69 | <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li> |
|
70 | 70 | <hr/> |
|
71 | 71 | <li id="kill_and_exit"><a href="#" >Close and halt</a></li> |
|
72 | 72 | </ul> |
|
73 | 73 | </li> |
|
74 | 74 | <li><a href="#">Edit</a> |
|
75 | 75 | <ul> |
|
76 | 76 | <li id="cut_cell"><a href="#">Cut Cell</a></li> |
|
77 | 77 | <li id="copy_cell"><a href="#">Copy Cell</a></li> |
|
78 | 78 | <li id="paste_cell" class="ui-state-disabled"><a href="#">Paste Cell</a></li> |
|
79 | 79 | <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li> |
|
80 | 80 | <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li> |
|
81 | 81 | <li id="delete_cell"><a href="#">Delete</a></li> |
|
82 | 82 | <hr/> |
|
83 | 83 | <li id="split_cell"><a href="#">Split Cell</a></li> |
|
84 | 84 | <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li> |
|
85 | 85 | <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li> |
|
86 | 86 | <hr/> |
|
87 | 87 | <li id="move_cell_up"><a href="#">Move Cell Up</a></li> |
|
88 | 88 | <li id="move_cell_down"><a href="#">Move Cell Down</a></li> |
|
89 | 89 | <hr/> |
|
90 | 90 | <li id="select_previous"><a href="#">Select Previous Cell</a></li> |
|
91 | 91 | <li id="select_next"><a href="#">Select Next Cell</a></li> |
|
92 | 92 | </ul> |
|
93 | 93 | </li> |
|
94 | 94 | <li><a href="#">View</a> |
|
95 | 95 | <ul> |
|
96 | 96 | <li id="toggle_header"><a href="#">Toggle Header</a></li> |
|
97 | 97 | <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li> |
|
98 | 98 | </ul> |
|
99 | 99 | </li> |
|
100 | 100 | <li><a href="#">Insert</a> |
|
101 | 101 | <ul> |
|
102 | 102 | <li id="insert_cell_above"><a href="#">Insert Cell Above</a></li> |
|
103 | 103 | <li id="insert_cell_below"><a href="#">Insert Cell Below</a></li> |
|
104 | 104 | </ul> |
|
105 | 105 | </li> |
|
106 | 106 | <li><a href="#">Cell</a> |
|
107 | 107 | <ul> |
|
108 | 108 | <li id="run_cell"><a href="#">Run</a></li> |
|
109 | 109 | <li id="run_cell_in_place"><a href="#">Run in Place</a></li> |
|
110 | 110 | <li id="run_all_cells"><a href="#">Run All</a></li> |
|
111 | 111 | <hr/> |
|
112 | 112 | <li id="to_code"><a href="#">Code</a></li> |
|
113 | 113 | <li id="to_markdown"><a href="#">Markdown </a></li> |
|
114 | 114 | <li id="to_raw"><a href="#">Raw Text</a></li> |
|
115 | 115 | <li id="to_heading1"><a href="#">Heading 1</a></li> |
|
116 | 116 | <li id="to_heading2"><a href="#">Heading 2</a></li> |
|
117 | 117 | <li id="to_heading3"><a href="#">Heading 3</a></li> |
|
118 | 118 | <li id="to_heading4"><a href="#">Heading 4</a></li> |
|
119 | 119 | <li id="to_heading5"><a href="#">Heading 5</a></li> |
|
120 | 120 | <li id="to_heading6"><a href="#">Heading 6</a></li> |
|
121 | 121 | <hr/> |
|
122 | 122 | <li id="toggle_output"><a href="#">Toggle Current Output</a></li> |
|
123 | 123 | <li id="all_outputs"><a href="#">All Output</a> |
|
124 | 124 | <ul> |
|
125 | 125 | <li id="expand_all_output"><a href="#">Expand</a></li> |
|
126 | 126 | <li id="scroll_all_output"><a href="#">Scroll Long</a></li> |
|
127 | 127 | <li id="collapse_all_output"><a href="#">Collapse</a></li> |
|
128 | 128 | <li id="clear_all_output"><a href="#">Clear</a></li> |
|
129 | 129 | </ul> |
|
130 | 130 | </li> |
|
131 | 131 | </ul> |
|
132 | 132 | </li> |
|
133 | 133 | <li><a href="#">Kernel</a> |
|
134 | 134 | <ul> |
|
135 | 135 | <li id="int_kernel"><a href="#">Interrupt</a></li> |
|
136 | 136 | <li id="restart_kernel"><a href="#">Restart</a></li> |
|
137 | 137 | </ul> |
|
138 | 138 | </li> |
|
139 | 139 | <li><a href="#">Help</a> |
|
140 | 140 | <ul> |
|
141 | 141 | <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li> |
|
142 | 142 | <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li> |
|
143 | 143 | <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li> |
|
144 | 144 | <hr/> |
|
145 | 145 | <li><a href="http://docs.python.org" target="_blank">Python</a></li> |
|
146 | 146 | <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li> |
|
147 | 147 | <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li> |
|
148 | 148 | <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li> |
|
149 | 149 | <li><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></li> |
|
150 | 150 | </ul> |
|
151 | 151 | </li> |
|
152 | 152 | </ul> |
|
153 | 153 | |
|
154 | 154 | </div> |
|
155 | 155 | <div id="notification"></div> |
|
156 | 156 | </div> |
|
157 | 157 | |
|
158 | 158 | |
|
159 | 159 | <div id="toolbar"> |
|
160 | 160 | |
|
161 | 161 | <span> |
|
162 | 162 | <button id="save_b">Save</button> |
|
163 | 163 | </span> |
|
164 | 164 | <span id="cut_copy_paste"> |
|
165 | 165 | <button id="cut_b" title="Cut Cell">Cut Cell</button> |
|
166 | 166 | <button id="copy_b" title="Copy Cell">Copy Cell</button> |
|
167 | 167 | <button id="paste_b" title="Paste Cell">Paste Cell</button> |
|
168 | 168 | </span> |
|
169 | 169 | <span id="move_up_down"> |
|
170 | 170 | <button id="move_up_b" title="Move Cell Up">Move Cell Up</button> |
|
171 | 171 | <button id="move_down_b" title="Move Cell Down">Move Down</button> |
|
172 | 172 | </span> |
|
173 | 173 | <span id="insert_above_below"> |
|
174 | 174 | <button id="insert_above_b" title="Insert Cell Above">Insert Cell Above</button> |
|
175 | 175 | <button id="insert_below_b" title="Insert Cell Below">Insert Cell Below</button> |
|
176 | 176 | </span> |
|
177 | 177 | <span id="run_int"> |
|
178 | 178 | <button id="run_b" title="Run Cell">Run Cell</button> |
|
179 | 179 | <button id="interrupt_b" title="Interrupt">Interrupt</button> |
|
180 | 180 | </span> |
|
181 | 181 | <span> |
|
182 | 182 | <select id="cell_type"> |
|
183 | 183 | <option value="code">Code</option> |
|
184 | 184 | <option value="markdown">Markdown</option> |
|
185 | 185 | <option value="raw">Raw Text</option> |
|
186 | 186 | <option value="heading1">Heading 1</option> |
|
187 | 187 | <option value="heading2">Heading 2</option> |
|
188 | 188 | <option value="heading3">Heading 3</option> |
|
189 | 189 | <option value="heading4">Heading 4</option> |
|
190 | 190 | <option value="heading5">Heading 5</option> |
|
191 | 191 | <option value="heading6">Heading 6</option> |
|
192 | 192 | </select> |
|
193 | 193 | </span> |
|
194 | 194 | |
|
195 | 195 | </div> |
|
196 | 196 | |
|
197 | 197 | <div id="main_app"> |
|
198 | 198 | |
|
199 | 199 | <div id="notebook_panel"> |
|
200 | 200 | <div id="notebook"></div> |
|
201 | 201 | <div id="pager_splitter"></div> |
|
202 | 202 | <div id="pager"></div> |
|
203 | 203 | </div> |
|
204 | 204 | |
|
205 | 205 | </div> |
|
206 | 206 | <div id='tooltip' class='tooltip ui-corner-all' style='display:none'></div> |
|
207 | 207 | |
|
208 | 208 | |
|
209 | 209 | {% end %} |
|
210 | 210 | |
|
211 | 211 | |
|
212 | 212 | {% block script %} |
|
213 | 213 | |
|
214 | 214 | <script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script> |
|
215 | 215 | <script src="{{ static_url("codemirror/mode/python/python.js") }}" charset="utf-8"></script> |
|
216 | 216 | <script src="{{ static_url("codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script> |
|
217 | 217 | <script src="{{ static_url("codemirror/mode/xml/xml.js") }}" charset="utf-8"></script> |
|
218 | 218 | <script src="{{ static_url("codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script> |
|
219 | 219 | <script src="{{ static_url("codemirror/mode/css/css.js") }}" charset="utf-8"></script> |
|
220 | 220 | <script src="{{ static_url("codemirror/mode/rst/rst.js") }}" charset="utf-8"></script> |
|
221 | 221 | <script src="{{ static_url("codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script> |
|
222 | 222 | |
|
223 | 223 | <script src="{{ static_url("pagedown/Markdown.Converter.js") }}" charset="utf-8"></script> |
|
224 | 224 | |
|
225 | 225 | <script src="{{ static_url("prettify/prettify.js") }}" charset="utf-8"></script> |
|
226 | 226 | <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script> |
|
227 | 227 | |
|
228 | 228 | <script src="{{ static_url("js/events.js") }}" type="text/javascript" charset="utf-8"></script> |
|
229 | 229 | <script src="{{ static_url("js/utils.js") }}" type="text/javascript" charset="utf-8"></script> |
|
230 | 230 | <script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script> |
|
231 | 231 | <script src="{{ static_url("js/initmathjax.js") }}" type="text/javascript" charset="utf-8"></script> |
|
232 | 232 | <script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script> |
|
233 | 233 | <script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script> |
|
234 | 234 | <script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script> |
|
235 | 235 | <script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script> |
|
236 | 236 | <script src="{{ static_url("js/textcell.js") }}" type="text/javascript" charset="utf-8"></script> |
|
237 | 237 | <script src="{{ static_url("js/kernel.js") }}" type="text/javascript" charset="utf-8"></script> |
|
238 | 238 | <script src="{{ static_url("js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script> |
|
239 | 239 | <script src="{{ static_url("js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script> |
|
240 | 240 | <script src="{{ static_url("js/pager.js") }}" type="text/javascript" charset="utf-8"></script> |
|
241 | 241 | <script src="{{ static_url("js/menubar.js") }}" type="text/javascript" charset="utf-8"></script> |
|
242 | 242 | <script src="{{ static_url("js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script> |
|
243 | 243 | <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script> |
|
244 | 244 | <script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script> |
|
245 | 245 | <script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script> |
|
246 | 246 | <script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script> |
|
247 | 247 | |
|
248 | <script src="{{ static_url("js/contexthint.js") }} charset="utf-8"></script> | |
|
248 | <script src="{{ static_url("js/contexthint.js") }}" charset="utf-8"></script> | |
|
249 | 249 | |
|
250 | 250 | {% end %} |
General Comments 0
You need to be logged in to leave comments.
Login now