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