diff options
| author | Idan Gazit | 2009-08-12 04:37:47 +0300 |
|---|---|---|
| committer | Idan Gazit | 2009-08-12 04:37:47 +0300 |
| commit | c67c719047645381011f02c56daaa152efbf796c (patch) | |
| tree | f16597434576bb29d4190f1a614591a36eb3e804 /debug_toolbar/templates | |
| parent | 565b100f9d97214043ae93c51d276951a65331e8 (diff) | |
| download | django-debug-toolbar-c67c719047645381011f02c56daaa152efbf796c.tar.bz2 | |
toolbar restyling, switched to non-minified css/js
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/base.html | 15 |
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> |
