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