diff options
| author | David Cramer | 2011-04-22 13:02:59 -0700 |
|---|---|---|
| committer | David Cramer | 2011-04-22 13:02:59 -0700 |
| commit | bed167f9f6784ca18196a695cf62bf81f57a80cd (patch) | |
| tree | db924506015c5c2de4037f6f062b66e0b3652076 /debug_toolbar/templates | |
| parent | c2ab3cc4f8f86cc0e2705be0cc479572092f8060 (diff) | |
| parent | 3929bf2066e108695546e2dd8db14579a8710126 (diff) | |
| download | django-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.html | 23 |
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> |
