aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/base.html15
1 files changed, 11 insertions, 4 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html
index e3681b2..f6a508d 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -7,13 +7,14 @@
document.write(unescape('%3Cscript src="' + jquery_url + '" type="text/javascript"%3E%3C/script%3E'));
}
</script>
-<script type="text/javascript" src="{{ BASE_URL }}/__debug__/m/toolbar.min.js"></script>
+<script type="text/javascript" src="{{ BASE_URL }}/__debug__/m/jquery.cookie.js"></script>
+<script type="text/javascript" src="{{ BASE_URL }}/__debug__/m/toolbar.js"></script>
<script type="text/javascript" charset="utf-8">
// Now that jQuery is done loading, put the '$' variable back to what it was...
var $ = _$;
</script>
<style type="text/css">
- @import url({{ BASE_URL }}/__debug__/m/toolbar.min.css);
+ @import url({{ BASE_URL }}/__debug__/m/toolbar.css);
</style>
<div id="djDebug">
<div style="display: none;" id="djDebugToolbar">
@@ -26,13 +27,19 @@
{% for panel in panels %}
<li>
{% if panel.has_content %}
- <a href="{{ panel.url|default:"#" }}" title="{{ panel.title }}" class="{{ panel.dom_id }}">{{ panel.title }}</a>
+ <a href="{{ panel.url|default:"#" }}" title="{{ panel.title }}" class="{{ panel.dom_id }}">
{% else %}
- {{ panel.title }}
+ <div class="contentless">
{% endif %}
+ {{ panel.title }}
{% with panel.subtitle as subtitle %}
{% if subtitle %}<br><small>{{ subtitle }}</small>{% endif %}
{% endwith %}
+ {% if panel.has_content %}
+ </a>
+ {% else %}
+ </div>
+ {% endif %}
</li>
{% endfor %}
</ul>