diff options
Diffstat (limited to 'debug_toolbar/templates')
4 files changed, 9 insertions, 4 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html index 52ebb57..6ceb735 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -6,7 +6,6 @@  <script>//<![CDATA[  if(!window.jQuery) document.write('<scr'+'ipt src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></scr'+'ipt>');  //]]></script> -<script src="{% static 'debug_toolbar/js/jquery.cookie.js' %}"></script>  <script src="{% static 'debug_toolbar/js/toolbar.js' %}"></script>  <div id="djDebug" style="display:none;" dir="ltr"       data-store-id="{{ toolbar.store_id }}" data-render-panel-url="{% url 'djdt:render_panel' %}" diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html b/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html index 7c85148..da9b120 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html @@ -1,4 +1,4 @@ -{% load i18n %} +{% load i18n %}{% load static from staticfiles %}  <div class="djDebugPanelTitle">  	<a class="djDebugClose djDebugBack" href="">{% trans "Back" %}</a>  	<h3>{% trans "SQL explained" %}</h3> @@ -33,3 +33,5 @@  		</table>  	</div>  </div> + +<script src="{% static 'debug_toolbar/js/toolbar.sql.js' %}"></script> diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html b/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html index c6676be..af70d92 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html @@ -1,4 +1,4 @@ -{% load i18n %} +{% load i18n %}{% load static from staticfiles %}  <div class="djDebugPanelTitle">  	<a class="djDebugClose djDebugBack" href="">{% trans "Back" %}</a>  	<h3>{% trans "SQL profiled" %}</h3> @@ -40,3 +40,5 @@  		{% endif %}  	</div>  </div> + +<script src="{% static 'debug_toolbar/js/toolbar.sql.js' %}"></script> diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_select.html b/debug_toolbar/templates/debug_toolbar/panels/sql_select.html index 7d587bd..60882d3 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql_select.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql_select.html @@ -1,4 +1,4 @@ -{% load i18n %} +{% load i18n %}{% load static from staticfiles %}  <div class="djDebugPanelTitle">  	<a class="djDebugClose djDebugBack" href="">{% trans "Back" %}</a>  	<h3>{% trans "SQL selected" %}</h3> @@ -37,3 +37,5 @@  		{% endif %}  	</div>  </div> + +<script src="{% static 'debug_toolbar/js/toolbar.sql.js' %}"></script>  | 
