Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
3bfc8206
Commit
3bfc8206
authored
Oct 31, 2014
by
José Padilla
Committed by
Dougal Matthews
Nov 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tabbing and cleanup theme templates
parent
36182735
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
27 deletions
+24
-27
docs_theme/404.html
+0
-0
docs_theme/base.html
+0
-0
docs_theme/nav.html
+24
-27
No files found.
docs_theme/404.html
View file @
3bfc8206
This diff is collapsed.
Click to expand it.
docs_theme/base.html
View file @
3bfc8206
This diff is collapsed.
Click to expand it.
docs_theme/nav.html
View file @
3bfc8206
<div
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"container-fluid"
>
<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-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 "
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 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=
"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"
>
<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>
<span
class=
"icon-bar"
></span>
...
@@ -14,31 +13,29 @@
...
@@ -14,31 +13,29 @@
<a
class=
"brand"
href=
"http://www.django-rest-framework.org"
>
Django REST framework
</a>
<a
class=
"brand"
href=
"http://www.django-rest-framework.org"
>
Django REST framework
</a>
<div
class=
"nav-collapse collapse"
>
<div
class=
"nav-collapse collapse"
>
{% if include_nav %}
{% if include_nav %}
<!-- Main navigation -->
<!-- Main navigation -->
<ul
class=
"nav navbar-nav"
>
<ul
class=
"nav navbar-nav"
>
{% for nav_item in nav %}
{% for nav_item in nav %} {% if nav_item.children %}
{% if nav_item.children %}
<li
class=
"dropdown{% if nav_item.active %} active{% endif %}"
>
<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>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
{{ nav_item.title }}
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<ul
class=
"dropdown-menu"
>
{% for nav_item in nav_item.children %}
{% for nav_item in nav_item.children %}
<li
{%
if
nav_item
.
active
%}
class=
"active"
{%
endif
%}
>
<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>
<a
href=
"{{ nav_item.url }}"
>
{{ nav_item.title }}
</a>
</li>
</li>
{% endif %}
{% endfor %}
</ul>
{% endfor %}
</li>
{% else %}
<li
{%
if
nav_item
.
active
%}
class=
"active"
{%
endif
%}
>
<a
href=
"{{ nav_item.url }}"
>
{{ nav_item.title }}
</a>
</li>
{% endif %} {% endfor %}
</ul>
</ul>
{% endif %}
{% endif %}
</div>
<!--/.nav-collapse -->
</div>
<!--/.nav-collapse -->
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment