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