diff options
Diffstat (limited to 'debug_toolbar/templates')
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 %} |
