Show More
@@ -186,8 +186,8 b' class AuthenticatedHandler(RequestHandler):' | |||||
186 |
|
186 | |||
187 | @property |
|
187 | @property | |
188 | def use_less(self): |
|
188 | def use_less(self): | |
189 |
|
|
189 | """Use less instead of css in templates""" | |
190 |
|
|
190 | return self.application.use_less | |
191 |
|
191 | |||
192 | @property |
|
192 | @property | |
193 | def ws_url(self): |
|
193 | def ws_url(self): | |
@@ -304,7 +304,8 b' class NamedNotebookHandler(AuthenticatedHandler):' | |||||
304 | logged_in=self.logged_in, |
|
304 | logged_in=self.logged_in, | |
305 | login_available=self.login_available, |
|
305 | login_available=self.login_available, | |
306 | mathjax_url=self.application.ipython_app.mathjax_url, |
|
306 | mathjax_url=self.application.ipython_app.mathjax_url, | |
307 |
|
|
307 | use_less=self.use_less,) | |
|
308 | ) | |||
308 |
|
309 | |||
309 |
|
310 | |||
310 | class PrintNotebookHandler(AuthenticatedHandler): |
|
311 | class PrintNotebookHandler(AuthenticatedHandler): |
@@ -68,8 +68,8 b' class="notebook_app"' | |||||
68 | <li id="download_py"><a href="#">Python (.py)</a></li> |
|
68 | <li id="download_py"><a href="#">Python (.py)</a></li> | |
69 | </ul> |
|
69 | </ul> | |
70 | </li> |
|
70 | </li> | |
71 | <hr/> |
|
71 | <!--<hr/> | |
72 | <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li> |
|
72 | <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li>--> | |
73 | <hr/> |
|
73 | <hr/> | |
74 | <li id="kill_and_exit"><a href="#" >Close and halt</a></li> |
|
74 | <li id="kill_and_exit"><a href="#" >Close and halt</a></li> | |
75 | </ul> |
|
75 | </ul> |
General Comments 0
You need to be logged in to leave comments.
Login now