Show More
@@ -233,13 +233,13 b' class NotebookHandler(web.RequestHandler):' | |||||
233 | last_mod, name, data = nbm.get_notebook(notebook_id, format) |
|
233 | last_mod, name, data = nbm.get_notebook(notebook_id, format) | |
234 | if format == u'json': |
|
234 | if format == u'json': | |
235 | self.set_header('Content-Type', 'application/json') |
|
235 | self.set_header('Content-Type', 'application/json') | |
236 | self.set_header('Content-Disposition','attachment; filename=%s.json' % name) |
|
236 | self.set_header('Content-Disposition','attachment; filename="%s.json"' % name) | |
237 | elif format == u'xml': |
|
237 | elif format == u'xml': | |
238 | self.set_header('Content-Type', 'application/xml') |
|
238 | self.set_header('Content-Type', 'application/xml') | |
239 | self.set_header('Content-Disposition','attachment; filename=%s.ipynb' % name) |
|
239 | self.set_header('Content-Disposition','attachment; filename="%s.ipynb"' % name) | |
240 | elif format == u'py': |
|
240 | elif format == u'py': | |
241 | self.set_header('Content-Type', 'application/x-python') |
|
241 | self.set_header('Content-Type', 'application/x-python') | |
242 | self.set_header('Content-Disposition','attachment; filename=%s.py' % name) |
|
242 | self.set_header('Content-Disposition','attachment; filename="%s.py"' % name) | |
243 | self.set_header('Last-Modified', last_mod) |
|
243 | self.set_header('Last-Modified', last_mod) | |
244 | self.finish(data) |
|
244 | self.finish(data) | |
245 |
|
245 |
@@ -68,7 +68,7 b'' | |||||
68 | </select> |
|
68 | </select> | |
69 | </span> |
|
69 | </span> | |
70 | <span class="section_row_buttons"> |
|
70 | <span class="section_row_buttons"> | |
71 |
<button id="download_notebook">Export |
|
71 | <button id="download_notebook">Export</button> | |
72 | </span> |
|
72 | </span> | |
73 | </div> |
|
73 | </div> | |
74 | </div> |
|
74 | </div> | |
@@ -95,7 +95,7 b'' | |||||
95 | <span id="toggle_output" class="section_row_buttons"> |
|
95 | <span id="toggle_output" class="section_row_buttons"> | |
96 | <button id="collapse_cell">Collapse</button> |
|
96 | <button id="collapse_cell">Collapse</button> | |
97 | <button id="expand_cell">Expand</button> |
|
97 | <button id="expand_cell">Expand</button> | |
98 |
<button id="clear_all_output">Cl |
|
98 | <button id="clear_all_output">Clr All</button> | |
99 | </span> |
|
99 | </span> | |
100 | <span class="button_label">Output</span> |
|
100 | <span class="button_label">Output</span> | |
101 | </div> |
|
101 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now