aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorDavid Cramer2011-01-03 17:40:05 -0800
committerDavid Cramer2011-01-03 17:40:05 -0800
commite1f06b1ae3d518691dcff3a834441355580dcf1e (patch)
treebbf15e9e19da48261de76b7807a1f91a0dc1f18f /debug_toolbar/templates
parentb240bbbee8fa1a2f455e3844b00641391b9af2a0 (diff)
parent8cb8abae8cec44909947dbe54e1ed644deeecbd6 (diff)
downloaddjango-debug-toolbar-e1f06b1ae3d518691dcff3a834441355580dcf1e.tar.bz2
Merge branch 'master' of http://github.com/robhudson/django-debug-toolbar
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/base.html5
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql_explain.html2
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql_profile.html2
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql_select.html2
4 files changed, 6 insertions, 5 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html
index 49ff279..0fe64ca 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -1,11 +1,12 @@
{% load i18n %}
-<script type="text/javascript" charset="utf-8">
+<style type="text/css">@media print { #djDebug {display:none;}}</style>
+<script type="text/javascript">
// <![CDATA[
var DEBUG_TOOLBAR_MEDIA_URL = "{{ DEBUG_TOOLBAR_MEDIA_URL }}";
// ]]>
</script>
<script type="text/javascript" src="{{ DEBUG_TOOLBAR_MEDIA_URL }}js/toolbar.min.js"></script>
-<div id="djDebug">
+<div id="djDebug" style="display:none;">
<div style="display:none;" id="djDebugToolbar">
<ul id="djDebugPanelList">
{% if panels %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html b/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
index a995b92..abd4a20 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
@@ -11,7 +11,7 @@
<dt>{% trans "Time" %}</dt>
<dd>{{ duration }} ms</dd>
</dl>
- <table>
+ <table class="djSqlExplain">
<thead>
<tr>
{% for h in headers %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html b/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html
index 7919ee5..5c5724e 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html
@@ -12,7 +12,7 @@
<dt>{% trans "Time" %}</dt>
<dd>{{ duration }} ms</dd>
</dl>
- <table>
+ <table class="djSqlProfile">
<thead>
<tr>
{% for h in headers %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_select.html b/debug_toolbar/templates/debug_toolbar/panels/sql_select.html
index 89804fa..db5199c 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql_select.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql_select.html
@@ -12,7 +12,7 @@
<dd>{{ duration }} ms</dd>
</dl>
{% if result %}
- <table>
+ <table class="djSqlSelect">
<thead>
<tr>
{% for h in headers %}