mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
46 lines
2.2 KiB
HTML
46 lines
2.2 KiB
HTML
|
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
|
<div class="navbar-inner">
|
|
<div class="container-fluid">
|
|
<a class="repo-link btn btn-primary btn-small" href="https://github.com/tomchristie/django-rest-framework/tree/master">GitHub</a>
|
|
<a class="repo-link btn btn-inverse btn-small " href="tutorial/quickstart">Next <i class="icon-arrow-right icon-white"></i></a>
|
|
<a class="repo-link btn btn-inverse btn-small disabled" href="#"><i class="icon-arrow-left icon-white"></i> Previous</a>
|
|
<a class="repo-link btn btn-inverse btn-small" href="#searchModal" data-toggle="modal"><i class="icon-search icon-white"></i> Search</a>
|
|
<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 %}
|
|
<!-- 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 %}>
|
|
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a>
|
|
</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 %}
|
|
|
|
</ul>
|
|
{% endif %}
|
|
</div><!--/.nav-collapse -->
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|