aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorIdan Gazit2009-08-25 19:14:31 +0300
committerIdan Gazit2009-08-25 19:14:31 +0300
commit0e65f95980e8cd2e84055ddbe52c3c40010353e2 (patch)
treeea9dd554fe148718bc6eae4f96ccbbcb2c8a90dc /debug_toolbar/templates
parent760653360fa9d3bd09047dcbea7785717e54a83b (diff)
downloaddjango-debug-toolbar-0e65f95980e8cd2e84055ddbe52c3c40010353e2.tar.bz2
Added toggle arrows, grey boxes for template links
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/templates.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html
index 872a5f5..1158abe 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/templates.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html
@@ -14,10 +14,10 @@
{% if templates %}
<dl>
{% for template in templates %}
- <dt><strong><a class="remoteCall" href="/__debug__/template_source/?template={{ template.template.name }}">{{ template.template.name|addslashes }}</a></strong></dt>
+ <dt><strong><a class="remoteCall toggleTemplate" href="/__debug__/template_source/?template={{ template.template.name }}">{{ template.template.name|addslashes }}</a></strong></dt>
<dd><samp>{{ template.template.origin_name|addslashes }}</samp></dd>
<dd>
- <div class="djTemplateShowContextDiv"><a class="djTemplateShowContext">Toggle Context</a></div>
+ <div class="djTemplateShowContextDiv"><a class="djTemplateShowContext"><span class="toggleArrow">&#x25B6;</span> Toggle Context</a></div>
<div class="djTemplateHideContextDiv" style="display:none;"><pre>{{ template.context }}</pre></div>
</dd>
{% endfor %}
@@ -32,7 +32,7 @@
{% for key, value in context_processors.iteritems %}
<dt><strong>{{ key|escape }}</strong></dt>
<dd>
- <div class="djTemplateShowContextDiv"><a class="djTemplateShowContext">Toggle Context</a></div>
+ <div class="djTemplateShowContextDiv"><a class="djTemplateShowContext"><span class="toggleArrow">&#x25B6;</span> Toggle Context</a></div>
<div class="djTemplateHideContextDiv" style="display:none;"><pre>{{ value|escape }}</pre></div>
</dd>
{% endfor %}