aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorDavid Cramer2011-04-22 13:02:59 -0700
committerDavid Cramer2011-04-22 13:02:59 -0700
commitbed167f9f6784ca18196a695cf62bf81f57a80cd (patch)
treedb924506015c5c2de4037f6f062b66e0b3652076 /debug_toolbar/templates
parentc2ab3cc4f8f86cc0e2705be0cc479572092f8060 (diff)
parent3929bf2066e108695546e2dd8db14579a8710126 (diff)
downloaddjango-debug-toolbar-bed167f9f6784ca18196a695cf62bf81f57a80cd.tar.bz2
Merge branch 'profiling' of git://github.com/dmclain/django-debug-toolbar into dmclain-master
Conflicts: debug_toolbar/media/debug_toolbar/css/toolbar.min.css debug_toolbar/media/debug_toolbar/js/toolbar.min.js
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/profiling.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/profiling.html b/debug_toolbar/templates/debug_toolbar/panels/profiling.html
new file mode 100644
index 0000000..95af495
--- /dev/null
+++ b/debug_toolbar/templates/debug_toolbar/panels/profiling.html
@@ -0,0 +1,23 @@
+{% load i18n %}
+
+
+
+<table width="100%">
+ <thead>
+ <tr>
+ <th>{% trans "ncalls" %}</th>
+ <th>{% trans "tottime" %}<br/>({% trans "percall" %})</th>
+ <th>{% trans "cumtime" %}<br/>({% trans "percall" %})</th>
+ <th>{% trans "filename:lineno(function)" %}</th>
+ <th>{% trans "toggle" %}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for call in func_list %}
+ <tr id="{{ call.id }}" class="djDebugProfileRow" style="background:{{ call.background }}" depth="{{ call.depth }}">
+ {{ call.as_row }}
+ <td><a class="djDebugProfileToggle">Toggle Subcalls</a></td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>