aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorRob Hudson2009-08-11 09:45:18 -0700
committerRob Hudson2009-08-11 09:45:18 -0700
commit565b100f9d97214043ae93c51d276951a65331e8 (patch)
tree985e152cd6b10aef47ae64a63f4206d0249c8ca5 /debug_toolbar/templates
parentb5ccbcdfa1b4cc71aec7c289d455298bc5cd1bfb (diff)
downloaddjango-debug-toolbar-565b100f9d97214043ae93c51d276951a65331e8.tar.bz2
Refactored the UI to be a right hand side vertical toolbar. DebugPanel subclass grew a subtitle method to display informative text under the title.
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/base.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html
index 52b7a5b..e3681b2 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -19,7 +19,7 @@
<div style="display: none;" id="djDebugToolbar">
<ul id="djDebugPanelList">
{% if panels %}
- <li><a id="djHideToolBarButton" href="#" title="Hide Toolbar">&laquo; Hide</a></li>
+ <li><a id="djHideToolBarButton" href="#" title="Hide Toolbar">Hide &raquo;</a></li>
{% else %}
<li id="djDebugButton">DEBUG</li>
{% endif %}
@@ -30,13 +30,16 @@
{% else %}
{{ panel.title }}
{% endif %}
+ {% with panel.subtitle as subtitle %}
+ {% if subtitle %}<br><small>{{ subtitle }}</small>{% endif %}
+ {% endwith %}
</li>
{% endfor %}
</ul>
</div>
<div style="display: none;" id="djDebugToolbarHandle">
<ul id="djDebugPanelList">
- <li><a title="Show Toolbar" id="djShowToolBarButton" href="#">&raquo;</a></li>
+ <li><a title="Show Toolbar" id="djShowToolBarButton" href="#">&laquo;</a></li>
</ul>
</div>
{% for panel in panels %}