mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Fix the Navigation style
This commit is contained in:
parent
d6b203f013
commit
18712a5cbc
7
docs/theme/base.html
vendored
7
docs/theme/base.html
vendored
|
@ -188,15 +188,12 @@ a.fusion-poweredby {
|
||||||
<div id="table-of-contents">
|
<div id="table-of-contents">
|
||||||
<ul class="nav nav-list side-nav well sidebar-nav-fixed">
|
<ul class="nav nav-list side-nav well sidebar-nav-fixed">
|
||||||
{% for toc_item in toc %}
|
{% for toc_item in toc %}
|
||||||
<li class="main {% if toc_item.active %}active{% endif %}"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
|
<li class="{% if loop.first %}main{% endif %} {% if toc_item.active %}main{% endif %}"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
|
||||||
{% for toc_item in toc_item.children %}
|
|
||||||
<li><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<div class="promo">
|
<div class="promo">
|
||||||
{{ ad_block }}
|
{{ ad_block }}
|
||||||
</div>
|
</div>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user