Anpassungen für das Hosting bei Djangoeurope und damit verbundenen Versionen Django 1.8 und Python 2.7
This commit is contained in:
committed by
Christian Berg
parent
cb4b15b3c6
commit
37d3cb78c1
36
templates/debug_toolbar/panels/profiling.html
Normal file
36
templates/debug_toolbar/panels/profiling.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{% load i18n %}{% load static from staticfiles %}
|
||||
<table width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans "Call" %}</th>
|
||||
<th>{% trans "CumTime" %}</th>
|
||||
<th>{% trans "Per" %}</th>
|
||||
<th>{% trans "TotTime" %}</th>
|
||||
<th>{% trans "Per" %}</th>
|
||||
<th>{% trans "Count" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for call in func_list %}
|
||||
<tr class="djDebugProfileRow{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}" depth="{{ call.depth }}">
|
||||
<td>
|
||||
<div data-padding-left="{{ call.indent }}px">
|
||||
{% if call.has_subfuncs %}
|
||||
<a class="djProfileToggleDetails djToggleSwitch" data-toggle-id="{{ call.id }}" data-toggle-open="+" data-toggle-close="-" href>-</a>
|
||||
{% else %}
|
||||
<span class="djNoToggleSwitch"></span>
|
||||
{% endif %}
|
||||
<span class="djdt-stack">{{ call.func_std_string }}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>{{ call.cumtime|floatformat:3 }}</td>
|
||||
<td>{{ call.cumtime_per_call|floatformat:3 }}</td>
|
||||
<td>{{ call.tottime|floatformat:3 }}</td>
|
||||
<td>{{ call.tottime_per_call|floatformat:3 }}</td>
|
||||
<td>{{ call.count }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<script src="{% static 'debug_toolbar/js/toolbar.profiling.js' %}"></script>
|
||||
Reference in New Issue
Block a user