Show More
@@ -138,6 +138,10 b' class IPythonHandler(AuthenticatedHandler):' | |||
|
138 | 138 | return self.settings.get('base_url', '/') |
|
139 | 139 | |
|
140 | 140 | @property |
|
141 | def default_url(self): | |
|
142 | return self.settings.get('default_url', '/') | |
|
143 | ||
|
144 | @property | |
|
141 | 145 | def ws_url(self): |
|
142 | 146 | return self.settings.get('websocket_url', '') |
|
143 | 147 | |
@@ -238,6 +242,7 b' class IPythonHandler(AuthenticatedHandler):' | |||
|
238 | 242 | def template_namespace(self): |
|
239 | 243 | return dict( |
|
240 | 244 | base_url=self.base_url, |
|
245 | default_url=self.default_url, | |
|
241 | 246 | ws_url=self.ws_url, |
|
242 | 247 | logged_in=self.logged_in, |
|
243 | 248 | login_available=self.login_available, |
@@ -83,7 +83,7 b'' | |||
|
83 | 83 | |
|
84 | 84 | <div id="header"> |
|
85 | 85 | <div id="header-container" class="container"> |
|
86 |
<div id="ipython_notebook" class="nav navbar-brand pull-left"><a href="{{ |
|
|
86 | <div id="ipython_notebook" class="nav navbar-brand pull-left"><a href="{{default_url}}" title='dashboard'>{% block logo %}<img src='{{static_url("base/images/logo.png") }}' alt='Jupyter Notebook'/>{% endblock %}</a></div> | |
|
87 | 87 | |
|
88 | 88 | {% block login_widget %} |
|
89 | 89 |
General Comments 0
You need to be logged in to leave comments.
Login now