mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-18 11:55:46 +08:00
Merge pull request #2666 from takluyver/i2094
Expose URL with auth token in notebook UI
This commit is contained in:
commit
c4a5dc04bf
@ -118,7 +118,10 @@ dir="ltr">
|
||||
|
||||
<div id="header">
|
||||
<div id="header-container" class="container">
|
||||
<div id="ipython_notebook" class="nav navbar-brand pull-left"><a href="{{default_url}}" title='{% trans %}dashboard{% endtrans %}'>{% block logo %}<img src='{{static_url("base/images/logo.png") }}' alt='Jupyter Notebook'/>{% endblock %}</a></div>
|
||||
<div id="ipython_notebook" class="nav navbar-brand pull-left"><a href="{{default_url}}
|
||||
{%- if logged_in and token -%}?token={{token}}{%- endif -%}" title='{% trans %}dashboard{% endtrans %}'>
|
||||
{% block logo %}<img src='{{static_url("base/images/logo.png") }}' alt='Jupyter Notebook'/>{% endblock %}
|
||||
</a></div>
|
||||
|
||||
{% block headercontainer %}
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user