First round of HTML fixes identified by test-crawl --vnu. - Legacy-Id: 9764 Note: SVN reference [9733] has been migrated to Git commit 205df716f8bf4b7dae9e2637f3aa1ba048a158f9
36 lines
892 B
HTML
36 lines
892 B
HTML
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}{% origin %}
|
|
{% if debug %}
|
|
{% load ietf_filters %}
|
|
{% load future %}
|
|
|
|
<div id="debug">
|
|
<hr>
|
|
<p>
|
|
{{ sql_queries|length }} queries ({{ sql_queries|timesum }}s)
|
|
{% if sql_queries|length != 0 %}
|
|
<a class="btn btn-default btn-xs"
|
|
onclick="$('#debug-query-table').toggleClass('hide');">Show</a>
|
|
{% endif %}
|
|
</p>
|
|
<table class="table table-condensed table-striped hide" id="debug-query-table">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>SQL</th>
|
|
<th>Time</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for query in sql_queries %}
|
|
<tr>
|
|
<td>{{ forloop.counter }}</td>
|
|
<td>{{ query.sql|expand_comma|escape }}</td>
|
|
<td>{{ query.time }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endif %}
|