From e38c45515ca458709b0a7e5bc75e3f640950dbb3 Mon Sep 17 00:00:00 2001 From: Idan Gazit Date: Wed, 12 Aug 2009 06:37:43 +0300 Subject: Cleaned up the panels --- debug_toolbar/templates/debug_toolbar/base.html | 6 ++++-- debug_toolbar/templates/debug_toolbar/panels/cache.html | 1 - debug_toolbar/templates/debug_toolbar/panels/headers.html | 1 - debug_toolbar/templates/debug_toolbar/panels/logger.html | 1 - debug_toolbar/templates/debug_toolbar/panels/request_vars.html | 8 ++++---- debug_toolbar/templates/debug_toolbar/panels/settings_vars.html | 1 - debug_toolbar/templates/debug_toolbar/panels/signals.html | 1 - debug_toolbar/templates/debug_toolbar/panels/sql.html | 1 - debug_toolbar/templates/debug_toolbar/panels/templates.html | 1 - debug_toolbar/templates/debug_toolbar/panels/timer.html | 1 - 10 files changed, 8 insertions(+), 14 deletions(-) (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html index ab591dd..5f4b7e7 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -52,9 +52,11 @@ {% for panel in panels %} {% if panel.has_content %}
-

{{ panel.title|safe }}

Close - {{ panel.content|safe }} +

{{ panel.title|safe }}

+
+ {{ panel.content|safe }} +
{% endif %} {% endfor %} diff --git a/debug_toolbar/templates/debug_toolbar/panels/cache.html b/debug_toolbar/templates/debug_toolbar/panels/cache.html index 3142783..d102cdd 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/cache.html +++ b/debug_toolbar/templates/debug_toolbar/panels/cache.html @@ -1,4 +1,3 @@ -

Cache Usage

diff --git a/debug_toolbar/templates/debug_toolbar/panels/headers.html b/debug_toolbar/templates/debug_toolbar/panels/headers.html index 005ffe6..b14a50c 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/headers.html +++ b/debug_toolbar/templates/debug_toolbar/panels/headers.html @@ -1,4 +1,3 @@ -

HTTP Headers

diff --git a/debug_toolbar/templates/debug_toolbar/panels/logger.html b/debug_toolbar/templates/debug_toolbar/panels/logger.html index 2117529..e6ce945 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/logger.html +++ b/debug_toolbar/templates/debug_toolbar/panels/logger.html @@ -1,4 +1,3 @@ -

Log Messages

{% if records %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/request_vars.html b/debug_toolbar/templates/debug_toolbar/panels/request_vars.html index b7d53ee..a65d0a5 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/request_vars.html +++ b/debug_toolbar/templates/debug_toolbar/panels/request_vars.html @@ -1,4 +1,4 @@ -

COOKIES Variables

+

COOKIES Variables

{% if cookies %}
@@ -23,7 +23,7 @@ {% else %}

None

{% endif %} -

SESSION Variables

+

SESSION Variables

{% if session %}
@@ -48,7 +48,7 @@ {% else %}

None

{% endif %} -

GET Variables

+

GET Variables

{% if get %}
@@ -69,7 +69,7 @@ {% else %}

None

{% endif %} -

POST Variables

+

POST Variables

{% if post %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html b/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html index 93f0b34..c53ee4d 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html +++ b/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html @@ -1,4 +1,3 @@ -

Settings from {{ settings.SETTINGS_MODULE }}

diff --git a/debug_toolbar/templates/debug_toolbar/panels/signals.html b/debug_toolbar/templates/debug_toolbar/panels/signals.html index e9a189e..7875700 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/signals.html +++ b/debug_toolbar/templates/debug_toolbar/panels/signals.html @@ -1,4 +1,3 @@ -

Signals

diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html index f05ea97..717d54d 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html @@ -1,4 +1,3 @@ -

SQL Queries

diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html index 6c918b1..78519c9 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/templates.html +++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html @@ -1,4 +1,3 @@ -

Template path{{ template_dirs|length|pluralize }}:

{% if template_dirs %}
    {% for template in template_dirs %} diff --git a/debug_toolbar/templates/debug_toolbar/panels/timer.html b/debug_toolbar/templates/debug_toolbar/panels/timer.html index 831ff86..39e9eb1 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/timer.html +++ b/debug_toolbar/templates/debug_toolbar/panels/timer.html @@ -1,4 +1,3 @@ -

    Resource Usage

-- cgit v1.2.3