Skip to content

Commit eeec67c

Browse files
committed
Alternate row color on profiling panel
1 parent 2ab2c83 commit eeec67c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debug_toolbar/templates/debug_toolbar/panels/profiling.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<tbody>
1414
{% for call in func_list %}
1515
<!-- style="background:{{ call.background }}" -->
16-
<tr class="djDebugProfileRow{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}" depth="{{ call.depth }}">
16+
<tr class="{% cycle 'djDebugOdd' 'djDebugEven' %} djDebugProfileRow{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}" depth="{{ call.depth }}">
1717
<td>
1818
<div style="padding-left: {{ call.indent }}px;">
1919
{% if call.has_subfuncs %}

0 commit comments

Comments
 (0)