2014-10-30 01:29:41 +03:00
|
|
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
|
|
|
<div class="navbar-inner">
|
|
|
|
<div class="container-fluid">
|
2014-10-31 18:38:27 +03:00
|
|
|
<a class="repo-link btn btn-primary btn-small" href="https://github.com/tomchristie/django-rest-framework/tree/master">GitHub</a>
|
2014-11-18 20:20:42 +03:00
|
|
|
<a class="repo-link btn btn-inverse btn-small {% if not next_page %}disabled{% endif %}" rel="prev" {% if next_page %}href="{{ next_page.url }}"{% endif %}>
|
2014-11-18 20:16:54 +03:00
|
|
|
Next <i class="icon-arrow-right icon-white"></i>
|
|
|
|
</a>
|
2014-11-18 20:20:42 +03:00
|
|
|
<a class="repo-link btn btn-inverse btn-small {% if not previous_page %}disabled{% endif %}" rel="next" {% if previous_page %}href="{{ previous_page.url }}"{% endif %}>
|
2014-11-18 20:16:54 +03:00
|
|
|
<i class="icon-arrow-left icon-white"></i> Previous
|
|
|
|
</a>
|
2015-04-24 00:18:35 +03:00
|
|
|
<a id="search_modal_show" class="repo-link btn btn-inverse btn-small" href="#mkdocs_search_modal" data-toggle="modal" data-target="#mkdocs_search_modal"><i class="icon-search icon-white"></i> Search</a>
|
2014-10-30 01:29:41 +03:00
|
|
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</a>
|
|
|
|
<a class="brand" href="http://www.django-rest-framework.org">Django REST framework</a>
|
|
|
|
<div class="nav-collapse collapse">
|
|
|
|
{% if include_nav %}
|
2014-10-31 18:38:27 +03:00
|
|
|
<!-- Main navigation -->
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
{% for nav_item in nav %} {% if nav_item.children %}
|
|
|
|
<li class="dropdown{% if nav_item.active %} active{% endif %}">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ nav_item.title }} <b class="caret"></b></a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
{% for nav_item in nav_item.children %}
|
|
|
|
<li {% if nav_item.active %}class="active" {% endif %}>
|
2014-10-30 01:29:41 +03:00
|
|
|
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a>
|
2014-10-31 18:38:27 +03:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% else %}
|
|
|
|
<li {% if nav_item.active %}class="active" {% endif %}>
|
|
|
|
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a>
|
|
|
|
</li>
|
|
|
|
{% endif %} {% endfor %}
|
2014-10-30 01:29:41 +03:00
|
|
|
|
2014-10-31 18:38:27 +03:00
|
|
|
</ul>
|
2014-10-30 01:29:41 +03:00
|
|
|
{% endif %}
|
2014-10-31 18:38:27 +03:00
|
|
|
</div>
|
|
|
|
<!--/.nav-collapse -->
|
2014-10-30 01:29:41 +03:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|