##// END OF EJS Templates
rename and fix template
Matthias BUSSONNIER -
Show More
1 NO CONTENT: file renamed from IPython/frontend/html/notebook/static/js/kernelnotificationwidget.js to IPython/frontend/html/notebook/static/js/initnotificationwidgets.js
@@ -1,254 +1,253 b''
1 1 {% extends page.html %}
2 2 {% block stylesheet %}
3 3
4 4 {% if mathjax_url %}
5 5 <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML" charset="utf-8"></script>
6 6 {% end %}
7 7 <script type="text/javascript">
8 8 // MathJax disabled, set as null to distingish from *missing* MathJax,
9 9 // where it will be undefined, and should prompt a dialog later.
10 10 window.mathjax_url = "{{mathjax_url}}";
11 11 </script>
12 12
13 13 <link rel="stylesheet" href="{{ static_url("codemirror/lib/codemirror.css") }}">
14 14 <link rel="stylesheet" href="{{ static_url("codemirror/theme/ipython.css") }}">
15 15
16 16 <link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/>
17 17
18 18 <link rel="stylesheet" href="{{ static_url("css/notebook.css") }}" type="text/css" />
19 19 <link rel="stylesheet" href="{{ static_url("css/tooltip.css") }}" type="text/css" />
20 20 <link rel="stylesheet" href="{{ static_url("css/renderedhtml.css") }}" type="text/css" />
21 21
22 22 <link rel="stylesheet" href="{{ static_url("css/printnotebook.css") }}" type="text/css" media="print"/>
23 23
24 24 {% end %}
25 25
26 26
27 27 {% block params %}
28 28
29 29 data-project={{project}}
30 30 data-base-project-url={{base_project_url}}
31 31 data-base-kernel-url={{base_kernel_url}}
32 32 data-read-only={{read_only and not logged_in}}
33 33 data-notebook-id={{notebook_id}}
34 34
35 35 {% end %}
36 36
37 37
38 38 {% block header %}
39 39
40 40 <span id="save_widget">
41 41 <span id="notebook_name"></span>
42 42 <span id="save_status"></span>
43 43 </span>
44 44
45 45 {% end %}
46 46
47 47
48 48 {% block site %}
49 49
50 50 <div id="menubar_container">
51 51 <div id="menubar">
52 52 <ul id="menus">
53 53 <li><a href="#">File</a>
54 54 <ul>
55 55 <li id="new_notebook"><a href="#">New</a></li>
56 56 <li id="open_notebook"><a href="#">Open...</a></li>
57 57 <hr/>
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_notebook"><a href="#">Save</a></li>
61 61 <hr/>
62 62 <li><a href="#">Download as</a>
63 63 <ul>
64 64 <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li>
65 65 <li id="download_py"><a href="#">Python (.py)</a></li>
66 66 </ul>
67 67 </li>
68 68 <hr/>
69 69 <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li>
70 70 <hr/>
71 71 <li id="kill_and_exit"><a href="#" >Close and halt</a></li>
72 72 </ul>
73 73 </li>
74 74 <li><a href="#">Edit</a>
75 75 <ul>
76 76 <li id="cut_cell"><a href="#">Cut Cell</a></li>
77 77 <li id="copy_cell"><a href="#">Copy Cell</a></li>
78 78 <li id="paste_cell" class="ui-state-disabled"><a href="#">Paste Cell</a></li>
79 79 <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li>
80 80 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li>
81 81 <li id="delete_cell"><a href="#">Delete</a></li>
82 82 <hr/>
83 83 <li id="split_cell"><a href="#">Split Cell</a></li>
84 84 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
85 85 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
86 86 <hr/>
87 87 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
88 88 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
89 89 <hr/>
90 90 <li id="select_previous"><a href="#">Select Previous Cell</a></li>
91 91 <li id="select_next"><a href="#">Select Next Cell</a></li>
92 92 </ul>
93 93 </li>
94 94 <li><a href="#">View</a>
95 95 <ul>
96 96 <li id="toggle_header"><a href="#">Toggle Header</a></li>
97 97 <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li>
98 98 </ul>
99 99 </li>
100 100 <li><a href="#">Insert</a>
101 101 <ul>
102 102 <li id="insert_cell_above"><a href="#">Insert Cell Above</a></li>
103 103 <li id="insert_cell_below"><a href="#">Insert Cell Below</a></li>
104 104 </ul>
105 105 </li>
106 106 <li><a href="#">Cell</a>
107 107 <ul>
108 108 <li id="run_cell"><a href="#">Run</a></li>
109 109 <li id="run_cell_in_place"><a href="#">Run in Place</a></li>
110 110 <li id="run_all_cells"><a href="#">Run All</a></li>
111 111 <hr/>
112 112 <li id="to_code"><a href="#">Code</a></li>
113 113 <li id="to_markdown"><a href="#">Markdown </a></li>
114 114 <li id="to_raw"><a href="#">Raw Text</a></li>
115 115 <li id="to_heading1"><a href="#">Heading 1</a></li>
116 116 <li id="to_heading2"><a href="#">Heading 2</a></li>
117 117 <li id="to_heading3"><a href="#">Heading 3</a></li>
118 118 <li id="to_heading4"><a href="#">Heading 4</a></li>
119 119 <li id="to_heading5"><a href="#">Heading 5</a></li>
120 120 <li id="to_heading6"><a href="#">Heading 6</a></li>
121 121 <hr/>
122 122 <li id="toggle_output"><a href="#">Toggle Current Output</a></li>
123 123 <li id="all_outputs"><a href="#">All Output</a>
124 124 <ul>
125 125 <li id="expand_all_output"><a href="#">Expand</a></li>
126 126 <li id="scroll_all_output"><a href="#">Scroll Long</a></li>
127 127 <li id="collapse_all_output"><a href="#">Collapse</a></li>
128 128 <li id="clear_all_output"><a href="#">Clear</a></li>
129 129 </ul>
130 130 </li>
131 131 </ul>
132 132 </li>
133 133 <li><a href="#">Kernel</a>
134 134 <ul>
135 135 <li id="int_kernel"><a href="#">Interrupt</a></li>
136 136 <li id="restart_kernel"><a href="#">Restart</a></li>
137 137 </ul>
138 138 </li>
139 139 <li><a href="#">Help</a>
140 140 <ul>
141 141 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
142 142 <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li>
143 143 <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
144 144 <hr/>
145 145 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
146 146 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
147 147 <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
148 148 <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li>
149 149 <li><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></li>
150 150 </ul>
151 151 </li>
152 152 </ul>
153 153
154 154 </div>
155 155 <div id="notification_area">
156 <div id="notification"></div>
157 156 </div>
158 157 </div>
159 158
160 159
161 160 <div id="toolbar">
162 161
163 162 <span>
164 163 <button id="save_b">Save</button>
165 164 </span>
166 165 <span id="cut_copy_paste">
167 166 <button id="cut_b" title="Cut Cell">Cut Cell</button>
168 167 <button id="copy_b" title="Copy Cell">Copy Cell</button>
169 168 <button id="paste_b" title="Paste Cell">Paste Cell</button>
170 169 </span>
171 170 <span id="move_up_down">
172 171 <button id="move_up_b" title="Move Cell Up">Move Cell Up</button>
173 172 <button id="move_down_b" title="Move Cell Down">Move Down</button>
174 173 </span>
175 174 <span id="insert_above_below">
176 175 <button id="insert_above_b" title="Insert Cell Above">Insert Cell Above</button>
177 176 <button id="insert_below_b" title="Insert Cell Below">Insert Cell Below</button>
178 177 </span>
179 178 <span id="run_int">
180 179 <button id="run_b" title="Run Cell">Run Cell</button>
181 180 <button id="interrupt_b" title="Interrupt">Interrupt</button>
182 181 </span>
183 182 <span>
184 183 <select id="cell_type">
185 184 <option value="code">Code</option>
186 185 <option value="markdown">Markdown</option>
187 186 <option value="raw">Raw Text</option>
188 187 <option value="heading1">Heading 1</option>
189 188 <option value="heading2">Heading 2</option>
190 189 <option value="heading3">Heading 3</option>
191 190 <option value="heading4">Heading 4</option>
192 191 <option value="heading5">Heading 5</option>
193 192 <option value="heading6">Heading 6</option>
194 193 </select>
195 194 </span>
196 195
197 196 </div>
198 197
199 198 <div id="main_app">
200 199
201 200 <div id="notebook_panel">
202 201 <div id="notebook"></div>
203 202 <div id="pager_splitter"></div>
204 203 <div id="pager"></div>
205 204 </div>
206 205
207 206 </div>
208 207 <div id='tooltip' class='tooltip ui-corner-all' style='display:none'></div>
209 208
210 209
211 210 {% end %}
212 211
213 212
214 213 {% block script %}
215 214
216 215 <script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
217 216 <script src="{{ static_url("codemirror/mode/python/python.js") }}" charset="utf-8"></script>
218 217 <script src="{{ static_url("codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
219 218 <script src="{{ static_url("codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
220 219 <script src="{{ static_url("codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
221 220 <script src="{{ static_url("codemirror/mode/css/css.js") }}" charset="utf-8"></script>
222 221 <script src="{{ static_url("codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
223 222 <script src="{{ static_url("codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
224 223
225 224 <script src="{{ static_url("pagedown/Markdown.Converter.js") }}" charset="utf-8"></script>
226 225
227 226 <script src="{{ static_url("prettify/prettify.js") }}" charset="utf-8"></script>
228 227 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
229 228
230 229 <script src="{{ static_url("js/events.js") }}" type="text/javascript" charset="utf-8"></script>
231 230 <script src="{{ static_url("js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
232 231 <script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
233 232 <script src="{{ static_url("js/initmathjax.js") }}" type="text/javascript" charset="utf-8"></script>
234 233 <script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
235 234 <script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
236 235 <script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
237 236 <script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
238 237 <script src="{{ static_url("js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
239 238 <script src="{{ static_url("js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
240 239 <script src="{{ static_url("js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
241 240 <script src="{{ static_url("js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
242 241 <script src="{{ static_url("js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
243 242 <script src="{{ static_url("js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
244 243 <script src="{{ static_url("js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
245 244 <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
246 245 <script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
247 246 <script src="{{ static_url("js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
248 <script src="{{ static_url("js/kernelnotificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
247 <script src="{{ static_url("js/initnotificationwidgets.js") }}" type="text/javascript" charset="utf-8"></script>
249 248 <script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
250 249 <script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
251 250
252 251 <script src="{{ static_url("js/contexthint.js") }} charset="utf-8"></script>
253 252
254 253 {% end %}
General Comments 0
You need to be logged in to leave comments. Login now