From 338479ffbdbf262b53b84dc894ab686d023d2631 Mon Sep 17 00:00:00 2001 From: Alec Perkins Date: Fri, 7 Sep 2012 16:48:44 -0400 Subject: [PATCH] Applying Bootstrap to breadcrumbs, page header --- .../static/djangorestframework/css/style.css | 7 ++++++- .../templates/djangorestframework/base.html | 20 +++++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/djangorestframework/static/djangorestframework/css/style.css b/djangorestframework/static/djangorestframework/css/style.css index 3d2f86e4d..b299cb3c9 100644 --- a/djangorestframework/static/djangorestframework/css/style.css +++ b/djangorestframework/static/djangorestframework/css/style.css @@ -1,3 +1,8 @@ body { padding-top: 1em; -} \ No newline at end of file +} + +h2 { + font-weight: 300; +} + diff --git a/djangorestframework/templates/djangorestframework/base.html b/djangorestframework/templates/djangorestframework/base.html index 026a20dee..a750502ba 100644 --- a/djangorestframework/templates/djangorestframework/base.html +++ b/djangorestframework/templates/djangorestframework/base.html @@ -50,13 +50,16 @@ {% block nav-global %}{% endblock %} -
@@ -70,13 +73,14 @@ {% endif %}
-

{{ name }}

+

{{ description }}

-
HTTP {{ response.status_code }} {{ response.status_text }}{% autoescape off %}
+            
HTTP {{ response.status_code }} {{ response.status_text }}{% autoescape off %}
 {% for key, val in response.items %}{{ key }}: {{ val|urlize_quoted_links }}
 {% endfor %}
-{{ content|urlize_quoted_links }}
{% endautoescape %}
+{{ content|urlize_quoted_links }}{% endautoescape %} +
{% if 'GET' in allowed_methods %}