File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed
templates/debug_toolbar/panels Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 427427 height : 1.5em ;
428428}
429429
430- # djDebug div .djDebugLineChartWarning strong {
431- background-color : # 900 ;
430+ # djDebug svg .djDebugLineChartWarning rect {
431+ fill : # 900 ;
432432}
433433
434- # djDebug . djDebugInTransaction div . djDebugLineChart strong {
435- background-color : # d3ff82 ;
434+ # djDebug svg . djDebugLineChartInTransaction rect {
435+ fill : # d3ff82 ;
436436}
437- # djDebug .djDebugStartTransaction div .djDebugLineChart strong {
438- border-left : 1px solid # 94b24d ;
439- }
440- # djDebug .djDebugEndTransaction div .djDebugLineChart strong {
441- border-right : 1px solid # 94b24d ;
437+ # djDebug svg .djDebugLineChart line {
438+ stroke : # 94b24d ;
442439}
443440
444441# djDebug .djdt-panelContent ul .djdt-stats {
Original file line number Diff line number Diff line change 3333 </ thead >
3434 < tbody >
3535 {% for query in queries %}
36- < tr class ="{% if query.is_slow %} djDebugRowWarning{% endif %}{% if query.starts_trans %} djDebugStartTransaction{% endif %}{% if query.ends_trans %} djDebugEndTransaction{% endif %}{% if query.in_trans %} djDebugInTransaction{% endif %} " id ="sqlMain_{{ forloop.counter }} ">
36+ < tr class ="{% if query.is_slow %} djDebugRowWarning{% endif %} " id ="sqlMain_{{ forloop.counter }} ">
3737 < td class ="djdt-color "> < span style ="background-color:rgb({{ query.rgb_color|join:', '}}) ">  </ span > </ td >
3838 < td class ="djdt-toggle ">
3939 < a class ="djToggleSwitch " data-toggle-name ="sqlMain " data-toggle-id ="{{ forloop.counter }} " data-toggle-open ="+ " data-toggle-close ="- " href =""> +</ a >
5656 {% endif %}
5757 </ td >
5858 < td class ="djdt-timeline ">
59- < svg class ="djDebugLineChart " xmlns ="http://www.w3.org/2000/svg " viewbox ="0 0 100 5 " preserveAspectRatio ="none " aria-label ="{{ query.width_ratio }}% ">
59+ < svg class ="djDebugLineChart{% if query.is_slow %} djDebugLineChartWarning{% endif %}{% if query.in_trans %} djDebugLineChartInTransaction{% endif %} " xmlns ="http://www.w3.org/2000/svg " viewbox ="0 0 100 5 " preserveAspectRatio ="none " aria-label ="{{ query.width_ratio }}% ">
6060 < rect x ="{{ query.start_offset|unlocalize }} " y ="0 " height ="5 " width ="{{ query.width_ratio_relative|unlocalize }} " fill ="{{ query.trace_color }} " />
61+ {% if query.starts_trans %}
62+ < line x1 ="{{ query.start_offset|unlocalize }} " y1 ="0 " x2 ="{{ query.start_offset|unlocalize }} " y2 ="5 " />
63+ {% endif %}
64+ {% if query.ends_trans %}
65+ < line x1 ="{{ query.end_offset|unlocalize }} " y1 ="0 " x2 ="{{ query.end_offset|unlocalize }} " y2 ="5 " />
66+ {% endif %}
6167 </ svg >
6268 </ td >
6369 < td class ="djdt-time ">
You can’t perform that action at this time.
0 commit comments