diff options
| author | David Cramer | 2011-07-12 13:26:15 -0700 | 
|---|---|---|
| committer | David Cramer | 2011-07-12 13:26:15 -0700 | 
| commit | cbc3ff63b92ab9b388816db3fe1a8c3956ca0d25 (patch) | |
| tree | 1bc3b7ac521ac16766aacd178ceafc47d153bbe3 /debug_toolbar/templates | |
| parent | 59c7e176ca273a6797dbae245e36b52b4db0823c (diff) | |
| download | django-debug-toolbar-cbc3ff63b92ab9b388816db3fe1a8c3956ca0d25.tar.bz2 | |
Some general cleanup for css/markup and collapsing of line profiler module
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/profiling.html | 14 | 
1 files changed, 6 insertions, 8 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/profiling.html b/debug_toolbar/templates/debug_toolbar/panels/profiling.html index ef42230..783c1cb 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/profiling.html +++ b/debug_toolbar/templates/debug_toolbar/panels/profiling.html @@ -14,7 +14,7 @@  	<tbody>  		{% for call in func_list %}  			<!--  style="background:{{ call.background }}" --> -			<tr id="{{ call.id }}" class="djDebugProfileRow{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}" depth="{{ call.depth }}"> +			<tr class="djDebugProfileRow{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}" depth="{{ call.depth }}">  				<td>  					<div style="padding-left: {{ call.indent }}px;">  						{% if call.has_subfuncs %} @@ -32,13 +32,11 @@  				<td>{{ call.count }}</td>  			</tr>  			{% if call.line_stats_text %} -			<tr> -				<td colspan='6'> -					<pre style='font-family:Courier, monospace'> -						{{ call.line_stats_text }} -					</pre> -				</td> -			</tr> +				<tr class="djToggleDetails_{{ call.id }}{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}"> +					<td colspan="6"> +						<pre style="padding-left: {{ call.indent }}px;">{{ call.line_stats_text }}</pre> +					</td> +				</tr>  			{% endif %}  		{% endfor %}  	</tbody>  | 
