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
44
templates/debug_toolbar/panels/timer.html
Normal file
44
templates/debug_toolbar/panels/timer.html
Normal file
@@ -0,0 +1,44 @@
|
||||
{% load i18n %}{% load static from staticfiles %}
|
||||
<h4>{% trans "Resource usage" %}</h4>
|
||||
<table>
|
||||
<colgroup>
|
||||
<col class="djdt-width-20"/>
|
||||
<col/>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans "Resource" %}</th>
|
||||
<th>{% trans "Value" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for key, value in rows %}
|
||||
<tr class="{% cycle 'djDebugOdd' 'djDebugEven' %}">
|
||||
<td>{{ key|escape }}</td>
|
||||
<td>{{ value|escape }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- This hidden div is populated and displayed by code in toolbar.timer.js -->
|
||||
<div id="djDebugBrowserTiming" hidden="hidden">
|
||||
<h4>{% trans "Browser timing" %}</h4>
|
||||
<table>
|
||||
<colgroup>
|
||||
<col class="djdt-width-20"/>
|
||||
<col class="djdt-width-60"/>
|
||||
<col class="djdt-width-20"/>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans "Timing attribute" %}</th>
|
||||
<th class="timeline">{% trans "Timeline" %}</th>
|
||||
<th class="djdt-time">{% trans "Milliseconds since navigation start (+length)" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="djDebugBrowserTimingTableBody">
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<script src="{% static 'debug_toolbar/js/toolbar.timer.js' %}"></script>
|
||||
Reference in New Issue
Block a user