aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorDavid Cramer2011-03-24 14:00:13 -0700
committerDavid Cramer2011-03-24 14:00:13 -0700
commitd38562253c7f0b3cbe610f5d9c6730aa51db23b0 (patch)
tree50832c5e7945b51f0341ffb0a6e78273744eb77c /debug_toolbar/templates
parent926643b1881422b2712a952a3c82697cbcad8285 (diff)
downloaddjango-debug-toolbar-d38562253c7f0b3cbe610f5d9c6730aa51db23b0.tar.bz2
inline all JS to avoid external media calls on initial page load
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/base.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html
index 0fe64ca..a8ebc48 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -1,11 +1,9 @@
{% load i18n %}
-<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>
+<style type="text/css">
+@media print { #djDebug {display:none;}}
+{{ css }}
+</style>
+<script type="text/javascript">{{ js }}</script>
<div id="djDebug" style="display:none;">
<div style="display:none;" id="djDebugToolbar">
<ul id="djDebugPanelList">