Skip to content

Commit

Permalink
Fixed Issue jupyter#3217
Browse files Browse the repository at this point in the history
added main and navigation tags to tree and page.html
  • Loading branch information
joshuazeltser committed Jun 27, 2019
1 parent a403d59 commit 5c80a9b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ src
.idea/
Read the Docs
config.rst

*.iml
/.project
/.pydevproject

Expand Down
9 changes: 5 additions & 4 deletions notebook/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
</div>
</noscript>

<div id="header">
<div id="header" role="navigation" aria-label="Top Menu">
<div id="header-container" class="container">
<div id="ipython_notebook" class="nav navbar-brand"><a href="{{default_url}}
{%- if logged_in and token -%}?token={{token}}{%- endif -%}" title='{% trans %}dashboard{% endtrans %}'>
Expand Down Expand Up @@ -153,11 +153,12 @@

{% block header %}
{% endblock %}
</div>

</div>

<div id="site">
{% block site %}
{% endblock %}
{% block site %}
{% endblock %}
</div>

{% block after_site %}
Expand Down
6 changes: 3 additions & 3 deletions notebook/templates/tree.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends "page.html" %}

{% block title %}{{page_title}}{% endblock %}


Expand Down Expand Up @@ -27,7 +26,8 @@
{% block site %}

<div id="ipython-main-app" class="container">
<div id="tab_content" class="tabbable">

<div id="tab_content" class="tabbable" role="main">
<ul id="tabs" class="nav nav-tabs">
<li class="active"><a href="#notebooks" data-toggle="tab">{% trans %}Files{% endtrans %}</a></li>
<li><a href="#running" data-toggle="tab">{% trans %}Running{% endtrans %}</a></li>
Expand Down Expand Up @@ -204,4 +204,4 @@


<script src="{{ static_url("tree/js/main.min.js") }}" type="text/javascript" charset="utf-8"></script>
{% endblock %}
{% endblock %}

0 comments on commit 5c80a9b

Please sign in to comment.