Debian Codegraph @

source/tools/webservices/userreport/templates/reports/profile.html

raw symbols SCIP
1 {% extends "reports/base.html" %}
2 {% load report_tags %}
3
4 {% block css %}
5 table.profile td {
6 line-height: inherit;
7 border-bottom: inherit;
8 padding: 0 1em 0 0.5em;
9 }
10 table.profile td {
11 white-space: pre;
12 }
13 .treemarker {
14 color: #666;
15 font-family: monospace;
16 white-space: pre;
17 }
18 {% endblock %}
19
20 {% block content %}
21 <table>
22 <tr>
23 <th>Received
24 <th>User
25 <th>Profiler
26 {% for report in report_page.object_list %}
27 {% with json=report.data_json %}
28 <tr {% cycle 'class=alt' '' %}>
29 <td>{{ report.upload_date|date:"Y-m-d" }}&nbsp;{{ report.upload_date|date:"H:i:s" }}
30 <td><a href="{% url userreport.views_private.report_user report.user_id_hash %}"><abbr title="{{ report.user_id_hash }}">{{ report.user_id_hash|slice:"0:8" }}</abbr></a>
31 <td>
32 <p>Time: {{ json.time }}
33 <p>Map: {{ json.map }}
34 {% for name,table in json.profiler.items %}
35 <h3>{{ name }}</h3>
36 <table class="profile">
37 {{ table|format_profile }}
38 </table>
39 {% endfor %}
40
41 {% endwith %}
42 {% endfor %}
43 </table>
44 {% endblock %}