File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
templates/debug_toolbar/panels Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 503
503
# djDebug .highlight .s2 { color : # 333 } /* Literal.String.Double */
504
504
# djDebug .highlight .cp { color : # 333 } /* Comment.Preproc */
505
505
506
- # djDebug .timeline {
506
+ # djDebug .djdt- timeline {
507
507
width : 30% ;
508
508
}
509
509
# djDebug .djDebugTimeline {
Original file line number Diff line number Diff line change 24
24
if ( endStat ) {
25
25
// Render a start through end bar
26
26
$row . html ( '<td>' + stat . replace ( 'Start' , '' ) + '</td>' +
27
- '<td class="timeline"><div class="djDebugTimeline"><div class="djDebugLineChart"><strong> </strong></div></div></td>' +
27
+ '<td class="djdt- timeline"><div class="djDebugTimeline"><div class="djDebugLineChart"><strong> </strong></div></div></td>' +
28
28
'<td>' + ( perf . timing [ stat ] - timingOffset ) + ' (+' + ( perf . timing [ endStat ] - perf . timing [ stat ] ) + ')</td>' ) ;
29
29
$row . find ( 'strong' ) . css ( { width : getCSSWidth ( stat , endStat ) } ) ;
30
30
} else {
31
31
// Render a point in time
32
32
$row . html ( '<td>' + stat + '</td>' +
33
- '<td class="timeline"><div class="djDebugTimeline"><div class="djDebugLineChart"><strong> </strong></div></div></td>' +
33
+ '<td class="djdt- timeline"><div class="djDebugTimeline"><div class="djDebugLineChart"><strong> </strong></div></div></td>' +
34
34
'<td>' + ( perf . timing [ stat ] - timingOffset ) + '</td>' ) ;
35
35
$row . find ( 'strong' ) . css ( { width : 2 } ) ;
36
36
}
Original file line number Diff line number Diff line change 18
18
< thead >
19
19
< tr >
20
20
< th class ="djdt-color ">  </ th >
21
- < th class ="query " colspan ="2 "> {% trans "Query" %}</ th >
22
- < th class ="timeline "> {% trans "Timeline" %}</ th >
21
+ < th class ="djdt- query " colspan ="2 "> {% trans "Query" %}</ th >
22
+ < th class ="djdt- timeline "> {% trans "Timeline" %}</ th >
23
23
< th class ="djdt-time "> {% trans "Time (ms)" %}</ th >
24
24
< th class ="djdt-actions "> {% trans "Action" %}</ th >
25
25
</ tr >
31
31
< td class ="djdt-toggle ">
32
32
< a class ="djToggleSwitch " data-toggle-name ="sqlMain " data-toggle-id ="{{ forloop.counter }} " data-toggle-open ="+ " data-toggle-close ="- " href =""> +</ a >
33
33
</ td >
34
- < td class ="query ">
34
+ < td class ="djdt- query ">
35
35
< div class ="djDebugSqlWrap ">
36
36
< div class ="djDebugSql "> {{ query.sql|safe }}</ div >
37
37
</ div >
42
42
</ strong >
43
43
{% endif %}
44
44
</ td >
45
- < td class ="timeline ">
45
+ < td class ="djdt- timeline ">
46
46
< div class ="djDebugTimeline "> < div class ="djDebugLineChart{% if query.is_slow %} djDebugLineChartWarning{% endif %} " data-left ="{{ query.start_offset|unlocalize }}% "> < strong data-width ="{{ query.width_ratio_relative|unlocalize }}% " data-background-color ="{{ query.trace_color }} "> {{ query.width_ratio }}%</ strong > </ div > </ div >
47
47
</ td >
48
48
< td class ="djdt-time ">
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ <h4>{% trans "Browser timing" %}</h4>
33
33
< thead >
34
34
< tr >
35
35
< th > {% trans "Timing attribute" %}</ th >
36
- < th class ="timeline "> {% trans "Timeline" %}</ th >
36
+ < th class ="djdt- timeline "> {% trans "Timeline" %}</ th >
37
37
< th class ="djdt-time "> {% trans "Milliseconds since navigation start (+length)" %}</ th >
38
38
</ tr >
39
39
</ thead >
You can’t perform that action at this time.
0 commit comments