diff options
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> |
