Show More
@@ -138,6 +138,10 b' class IPythonHandler(AuthenticatedHandler):' | |||||
138 | return self.settings.get('base_url', '/') |
|
138 | return self.settings.get('base_url', '/') | |
139 |
|
139 | |||
140 | @property |
|
140 | @property | |
|
141 | def default_url(self): | |||
|
142 | return self.settings.get('default_url', '/') | |||
|
143 | ||||
|
144 | @property | |||
141 | def ws_url(self): |
|
145 | def ws_url(self): | |
142 | return self.settings.get('websocket_url', '') |
|
146 | return self.settings.get('websocket_url', '') | |
143 |
|
147 | |||
@@ -238,6 +242,7 b' class IPythonHandler(AuthenticatedHandler):' | |||||
238 | def template_namespace(self): |
|
242 | def template_namespace(self): | |
239 | return dict( |
|
243 | return dict( | |
240 | base_url=self.base_url, |
|
244 | base_url=self.base_url, | |
|
245 | default_url=self.default_url, | |||
241 | ws_url=self.ws_url, |
|
246 | ws_url=self.ws_url, | |
242 | logged_in=self.logged_in, |
|
247 | logged_in=self.logged_in, | |
243 | login_available=self.login_available, |
|
248 | login_available=self.login_available, |
@@ -83,7 +83,7 b'' | |||||
83 |
|
83 | |||
84 | <div id="header"> |
|
84 | <div id="header"> | |
85 | <div id="header-container" class="container"> |
|
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 | {% block login_widget %} |
|
88 | {% block login_widget %} | |
89 |
|
89 |
General Comments 0
You need to be logged in to leave comments.
Login now