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