From 5c9ebea7a2738517189ac1701f72b8942b590dc1 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Fri, 21 Aug 2009 14:56:30 -0700 Subject: Cleaning up and simplifying the closed handle HTML and CSS. --- debug_toolbar/templates/debug_toolbar/base.html | 8 +++----- 1 file changed, 3 insertions(+), 5 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 a44d31e..401677a 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -17,7 +17,7 @@ @import url({{ BASE_URL }}/__debug__/m/toolbar.css);
- diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_select.html b/debug_toolbar/templates/debug_toolbar/panels/sql_select.html index 17e7d48..4fc928d 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql_select.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql_select.html @@ -1,30 +1,34 @@ -« Back -

SQL Selected

-
-
Executed SQL
-
{{ sql|safe }}
-
Time
-
{{ time }} ms
-
-{% if result %} - - - - {% for h in headers %} - - {% endfor %} - - - - {% for row in result %} - - {% for column in row %} - +
+ « Back +

SQL Selected

+
+
+
+
Executed SQL
+
{{ sql|safe }}
+
Time
+
{{ time }} ms
+
+ {% if result %} +
{{ h|upper }}
{{ column|escape }}
+ + + {% for h in headers %} + {% endfor %} - {% endfor %} - -
{{ h|upper }}
-{% else %} -

Empty set

-{% endif %} + + + {% for row in result %} + + {% for column in row %} + {{ column|escape }} + {% endfor %} + + {% endfor %} + + + {% else %} +

Empty set

+ {% endif %} +
-- cgit v1.2.3 From 2fcfa87b1addcb903185af943d6f7a20c0cfa6bf Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Mon, 24 Aug 2009 16:16:10 -0700 Subject: Merge locale work by Percy. --- debug_toolbar/templates/debug_toolbar/base.html | 5 ++-- .../templates/debug_toolbar/panels/cache.html | 19 +++++++-------- .../templates/debug_toolbar/panels/headers.html | 5 ++-- .../templates/debug_toolbar/panels/logger.html | 13 ++++++----- .../debug_toolbar/panels/request_vars.html | 27 +++++++++++----------- .../debug_toolbar/panels/settings_vars.html | 5 ++-- .../templates/debug_toolbar/panels/signals.html | 3 ++- .../templates/debug_toolbar/panels/sql.html | 14 +++++------ .../debug_toolbar/panels/sql_explain.html | 7 +++--- .../debug_toolbar/panels/sql_profile.html | 7 +++--- .../templates/debug_toolbar/panels/sql_select.html | 9 ++++---- .../debug_toolbar/panels/template_source.html | 5 ++-- .../templates/debug_toolbar/panels/templates.html | 3 ++- .../templates/debug_toolbar/panels/timer.html | 7 +++--- .../templates/debug_toolbar/redirect.html | 5 ++-- 15 files changed, 74 insertions(+), 60 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 d0f4562..b80daef 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -1,3 +1,4 @@ +{% load i18n %}