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