From ecd7f2abe62996b19720e9ade61b45eafac590e8 Mon Sep 17 00:00:00 2001
From: Rob Hudson
Date: Mon, 24 Aug 2009 11:24:38 -0700
Subject: Make panel content stylings look like Django's debug template.
---
debug_toolbar/templates/debug_toolbar/base.html | 14 ++---
.../debug_toolbar/panels/sql_explain.html | 52 ++++++++++---------
.../debug_toolbar/panels/sql_profile.html | 52 ++++++++++---------
.../templates/debug_toolbar/panels/sql_select.html | 60 ++++++++++++----------
4 files changed, 95 insertions(+), 83 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 401677a..d0f4562 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -50,13 +50,13 @@
{% for panel in panels %}
{% if panel.has_content %}
-
Close
-
{{ panel.title|safe }}
-
+
+
Close
+
{{ panel.title|safe }}
+
+
+ {{ panel.content|safe }}
+
{% endif %}
{% endfor %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html b/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
index a163b25..d26a8a3 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
@@ -1,26 +1,30 @@
-