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