Debian Codegraph @

docs/_esnet/templates/navbar.html

raw
1 <div id="navbar" class="{{ theme_navbar_class }} navbar-default {% if theme_navbar_fixed_top == 'true' -%} navbar-fixed-top{%- endif -%}">
2 <div class="container">
3 <div class="navbar-header">
4 <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
5 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
6 <span class="icon-bar"></span>
7 <span class="icon-bar"></span>
8 <span class="icon-bar"></span>
9 </button>
10 <a class="navbar-brand" href="{{ pathto(master_doc) }}">
11 {%- block sidebarlogo %}
12 {%- if logo %}<img src="{{ pathto('_static/' + logo, 1) }}">{%- endif %}
13 {%- endblock %}
14 {% if theme_navbar_title -%}{{ theme_navbar_title|e }}{%- else -%}{{ project|e }}{%- endif -%}
15 </a>
16 </div>
17
18 <div class="collapse navbar-collapse nav-collapse">
19 <ul class="nav navbar-nav">
20 {% block navbartoc %}
21 {% include "globaltoc.html" %}
22 {% if theme_navbar_pagenav %}
23 {% include "navbartoc.html" %}
24 {% endif %}
25 {% endblock %}
26 {% if theme_navbar_sidebarrel %}
27 {% block sidebarrel %}
28 {% include "relations.html" %}
29 {% endblock %}
30 {% endif %}
31 <li class="divider-vertical"></li>
32 {% if theme_navbar_links %}
33 {%- for link in theme_navbar_links %}
34 <li><a href="{{ pathto(*link[1:]) }}">{{ link[0] }}</a></li>
35 {%- endfor %}
36 {% endif %}
37 <li><a href="{{ github_url }}"><img src="_static/icon-github.png" height="20" width="20"></a></li>
38 {% block navbarextra %}
39 {% endblock %}
40 {% if theme_source_link_position == "nav" %}
41 <li class="hidden-sm">{% include "sourcelink.html" %}</li>
42 {% endif %}
43 </ul>
44 {% block navbarsearch %}
45 {% include "navbarsearchbox.html" %}
46 {% endblock %}
47 </div>
48 </div>
49 </div>