diff options
| author | Aymeric Augustin | 2014-02-12 08:31:54 +0100 |
|---|---|---|
| committer | Aymeric Augustin | 2014-02-12 08:31:54 +0100 |
| commit | 8c690d7cf0af9e1408e446f1f658b3db2b9fa572 (patch) | |
| tree | 2ab96881b2cd34eeec1694651a95980c4e8060f1 /debug_toolbar/templates | |
| parent | 296a08939383e0c2e52e7632fe5e377a37a667d9 (diff) | |
| parent | 8d68d307af04166e7aa4fde915b95a41560b8f19 (diff) | |
| download | django-debug-toolbar-8c690d7cf0af9e1408e446f1f658b3db2b9fa572.tar.bz2 | |
Merge pull request #543 from wolfe/group-sql
Color-code SQL query "Timeline" stripes according to stacktrace
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/sql.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html index f927e5d..4d95a80 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html @@ -34,7 +34,7 @@ </div> </td> <td class="timeline"> - <div class="djDebugTimeline"><div class="djDebugLineChart{% if query.is_slow %} djDebugLineChartWarning{% endif %}" style="left:{{ query.start_offset|unlocalize }}%;"><strong style="width:{{ query.width_ratio_relative|unlocalize }}%;">{{ query.width_ratio }}%</strong></div></div> + <div class="djDebugTimeline"><div class="djDebugLineChart{% if query.is_slow %} djDebugLineChartWarning{% endif %}" style="left:{{ query.start_offset|unlocalize }}%;"><strong style="width:{{ query.width_ratio_relative|unlocalize }}%; background-color:{{ query.trace_color }};">{{ query.width_ratio }}%</strong></div></div> </td> <td class="time"> {{ query.duration|floatformat:"2" }} |
