diff options
| author | Rob Hudson | 2009-08-11 09:45:18 -0700 |
|---|---|---|
| committer | Rob Hudson | 2009-08-11 09:45:18 -0700 |
| commit | 565b100f9d97214043ae93c51d276951a65331e8 (patch) | |
| tree | 985e152cd6b10aef47ae64a63f4206d0249c8ca5 /debug_toolbar/templates | |
| parent | b5ccbcdfa1b4cc71aec7c289d455298bc5cd1bfb (diff) | |
| download | django-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.html | 7 |
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">« Hide</a></li> + <li><a id="djHideToolBarButton" href="#" title="Hide Toolbar">Hide »</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="#">»</a></li> + <li><a title="Show Toolbar" id="djShowToolBarButton" href="#">«</a></li> </ul> </div> {% for panel in panels %} |
