You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: debug_toolbar/templates/debug_toolbar/panels/sql.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
<ul>
3
3
{% for alias, info in databases %}
4
4
<li>
5
-
<strong><spanclass="djdt-color" style="background-color:rgb({{ info.rgb_color|join:', ' }})"></span> {{ alias }}</strong>
5
+
<strong><spanclass="djdt-color" data-background-color="rgb({{ info.rgb_color|join:', ' }})"></span> {{ alias }}</strong>
6
6
{{ info.time_spent|floatformat:"2" }} ms ({% blocktrans count info.num_queries as num %}{{ num }} query{% plural %}{{ num }} queries{% endblocktrans %}
7
7
{% if info.similar_count %}
8
8
{% blocktrans with count=info.similar_count trimmed %}
@@ -40,21 +40,21 @@
40
40
<tbody>
41
41
{% for query in queries %}
42
42
<trclass="{% if query.is_slow %} djDebugRowWarning{% endif %}" id="sqlMain_{{ forloop.counter }}">
0 commit comments