28008e245f5af98d65d6aa5b566b6a1be78e0b31
[wolnelektury.git] / apps / debug_toolbar / templates / debug_toolbar / panels / sql.html
1 <div class="title">
2     SQL Queries
3 </div>
4 <table>
5     <thead>
6         <tr>
7             <th>Time&nbsp;(ms)</th>
8             <th>Query</th>
9         </tr>
10     </thead>
11     <tbody>
12         {% for query in queries %}
13             <tr class="{% cycle 'row1' 'row2' %}">
14                 <td>{{ query.0|floatformat:"4" }}</td>
15                 <td><a href="javascript:djDebugWindow('?djDebug=SQL&amp;op=explain&amp;sql={{ query.2|urlencode }}&amp;params={{ query.3|urlencode }}');">{{ query.1|escape }}</td>
16             </tr>
17         {% endfor %}
18     </tbody>
19 </table>