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
338479ff
Commit
338479ff
authored
Sep 07, 2012
by
Alec Perkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applying Bootstrap to breadcrumbs, page header
parent
54cc93a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
10 deletions
+18
-10
djangorestframework/static/djangorestframework/css/style.css
+6
-2
djangorestframework/templates/djangorestframework/base.html
+12
-8
No files found.
djangorestframework/static/djangorestframework/css/style.css
View file @
338479ff
body
{
body
{
padding-top
:
1em
;
padding-top
:
1em
;
}
}
\ No newline at end of file
h2
{
font-weight
:
300
;
}
djangorestframework/templates/djangorestframework/base.html
View file @
338479ff
...
@@ -50,13 +50,16 @@
...
@@ -50,13 +50,16 @@
{% block nav-global %}{% endblock %}
{% block nav-global %}{% endblock %}
<div
class=
"breadcrumbs"
>
{% block breadcrumbs %}
{% block breadcrumbs %}
{% for breadcrumb_name, breadcrumb_url in breadcrumblist %}
<ul
class=
"breadcrumb"
>
<a
href=
"{{ breadcrumb_url }}"
>
{{ breadcrumb_name }}
</a>
{% if not forloop.last %}
›
{% endif %}
{% endfor %}
{% for breadcrumb_name, breadcrumb_url in breadcrumblist %}
<li>
<a
href=
"{{ breadcrumb_url }}"
{%
if
forloop
.
last
%}
class=
"active"
{%
endif
%}
>
{{ breadcrumb_name }}
</a>
{% if not forloop.last %}
<span
class=
"divider"
>
›
</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endblock %}
{% endblock %}
</div>
<!-- Content -->
<!-- Content -->
<div
id=
"content"
class=
"{% block coltype %}colM{% endblock %}"
>
<div
id=
"content"
class=
"{% block coltype %}colM{% endblock %}"
>
...
@@ -70,13 +73,14 @@
...
@@ -70,13 +73,14 @@
{% endif %}
{% endif %}
<div
class=
'content-main'
>
<div
class=
'content-main'
>
<
h1>
{{ name }}
</h1
>
<
div
class=
"page-header"
><h1>
{{ name }}
</h1></div
>
<p>
{{ description }}
</p>
<p>
{{ description }}
</p>
<div
class=
'module'
>
<div
class=
'module'
>
<pre><b>
HTTP {{ response.status_code }} {{ response.status_text }}
</b>
{% autoescape off %}
<pre><b>
HTTP {{ response.status_code }} {{ response.status_text }}
</b>
{% autoescape off %}
{% for key, val in response.items %}
<b>
{{ key }}:
</b>
{{ val|urlize_quoted_links }}
{% for key, val in response.items %}
<b>
{{ key }}:
</b>
{{ val|urlize_quoted_links }}
{% endfor %}
{% endfor %}
{{ content|urlize_quoted_links }}
</pre>
{% endautoescape %}
</div>
{{ content|urlize_quoted_links }}
</pre>
{% endautoescape %}
</div>
{% if 'GET' in allowed_methods %}
{% if 'GET' in allowed_methods %}
<form>
<form>
...
...
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