diff --git a/debug_toolbar/templates/debug_toolbar/panels/signals.html b/debug_toolbar/templates/debug_toolbar/panels/signals.html
index 94414ea..d6d681c 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/signals.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/signals.html
@@ -1,21 +1,19 @@
{% load i18n %}
-
-
-
-
- | {% trans "Signal" %} |
- Providing Args |
- Receivers |
+
+
+
+ | {% trans "Signal" %} |
+ Providing Args |
+ Receivers |
+
+
+
+ {% for name, signal, receivers in signals %}
+
+ | {{ name|escape }} |
+ {{ signal.providing_args|join:", " }} |
+ {{ receivers|join:", " }} |
-
-
- {% for name, signal, receivers in signals %}
-
- | {{ name|escape }} |
- {{ signal.providing_args|join:", " }} |
- {{ receivers|join:", " }} |
-
- {% endfor %}
-
-
-
+ {% endfor %}
+
+
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html
index aecfad6..7aa4c2d 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html
@@ -1,51 +1,49 @@
{% load i18n %}
-
-
-
-
- | {% trans "Time" %} (ms) |
- {% trans "Action" %} |
- Stacktrace |
- Query |
-
-
-
- {% for query in queries %}
-
- | {{ query.time|floatformat:"2" }} |
-
- {% if query.params %}
- SELECT
- EXPLAIN
- {% if is_mysql %}
- PROFILE
- {% endif %}
+
+
+
+ | {% trans "Time" %} (ms) |
+ {% trans "Action" %} |
+ Stacktrace |
+ Query |
+
+
+
+ {% for query in queries %}
+
+ | {{ query.time|floatformat:"2" }} |
+
+ {% if query.params %}
+ SELECT
+ EXPLAIN
+ {% if is_mysql %}
+ PROFILE
{% endif %}
- |
-
- {% if query.stacktrace %}
-
-
-
+ {% endif %}
+
+
+ {% if query.stacktrace %}
+
+
+
+
+ | {% trans "Line" %} |
+ {% trans "Method" %} |
+ {% trans "File" %} |
+
+ {% for file, line, method in query.stacktrace %}
- | {% trans "Line" %} |
- {% trans "Method" %} |
- {% trans "File" %} |
+ {{ line }} |
+ {{ method|escape }} |
+ {{ file|escape }} |
- {% for file, line, method in query.stacktrace %}
-
- | {{ line }} |
- {{ method|escape }} |
- {{ file|escape }} |
-
- {% endfor %}
-
-
- {% endif %}
- |
- {{ query.sql|safe }} |
-
- {% endfor %}
-
-
-
+ {% endfor %}
+ |
+
+ {% endif %}
+ |
+ {{ query.sql|safe }} |
+
+ {% endfor %}
+
+
diff --git a/debug_toolbar/templates/debug_toolbar/panels/template_source.html b/debug_toolbar/templates/debug_toolbar/panels/template_source.html
index 8e8253d..192d1af 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/template_source.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/template_source.html
@@ -4,11 +4,5 @@
Template Source: {{ template_name }}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html
index d4e18b5..872a5f5 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/templates.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html
@@ -1,6 +1,5 @@
{% load i18n %}
Template path{{ template_dirs|length|pluralize }}
-
{% if template_dirs %}
{% for template in template_dirs %}
@@ -10,39 +9,34 @@
{% else %}
None
{% endif %}
-
{% trans "Template" %}{{ templates|length|pluralize }}
-
- {% if templates %}
-
- {% for template in templates %}
- - {{ template.template.name|addslashes }}
- - {{ template.template.origin_name|addslashes }}
- -
-
-
-
- {% endfor %}
-
- {% else %}
-
None
- {% endif %}
-
+{% if templates %}
+
+{% for template in templates %}
+ - {{ template.template.name|addslashes }}
+ - {{ template.template.origin_name|addslashes }}
+ -
+
+
+
+{% endfor %}
+
+{% else %}
+
None
+{% endif %}
Context processor{{ context_processors|length|pluralize }}
-
- {% if context_processors %}
-
- {% for key, value in context_processors.iteritems %}
- - {{ key|escape }}
- -
-
-
-
- {% endfor %}
-
- {% else %}
-
None
- {% endif %}
-
+{% if context_processors %}
+
+{% for key, value in context_processors.iteritems %}
+ - {{ key|escape }}
+ -
+
+
+
+{% endfor %}
+
+{% else %}
+
None
+{% endif %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/timer.html b/debug_toolbar/templates/debug_toolbar/panels/timer.html
index 9fd479f..f267de1 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/timer.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/timer.html
@@ -1,23 +1,21 @@
{% load i18n %}
-
-
-
-
-
-
-
-
- | {% trans "Resource" %} |
- {% trans "Value" %} |
+
+
+
+
+
+
+
+ | {% trans "Resource" %} |
+ {% trans "Value" %} |
+
+
+
+ {% for key, value in rows %}
+
+ | {{ key|escape }} |
+ {{ value|escape }} |
-
-
- {% for key, value in rows %}
-
- | {{ key|escape }} |
- {{ value|escape }} |
-
- {% endfor %}
-
-
-
+ {% endfor %}
+
+
--
cgit v1.2.3
From 0e65f95980e8cd2e84055ddbe52c3c40010353e2 Mon Sep 17 00:00:00 2001
From: Idan Gazit
Date: Tue, 25 Aug 2009 19:14:31 +0300
Subject: Added toggle arrows, grey boxes for template links
---
debug_toolbar/templates/debug_toolbar/panels/templates.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'debug_toolbar/templates')
diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html
index 872a5f5..1158abe 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/templates.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html
@@ -14,10 +14,10 @@
{% if templates %}
{% for template in templates %}
- - {{ template.template.name|addslashes }}
+ - {{ template.template.name|addslashes }}
- {{ template.template.origin_name|addslashes }}
-
-
+
{% endfor %}
@@ -32,7 +32,7 @@
{% for key, value in context_processors.iteritems %}
- {{ key|escape }}
-
-
+
{% endfor %}
--
cgit v1.2.3