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