blob: 6d4d60a04ba3568a9ffb05149cd3c5c3bc87eb4b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{% extends 'base.html' %}
{% block content %}
<h1>{{current_user.pref_name}} - {{current_user.email}} ({{current_user.id}})</h1>
{% if debug %}
<table>
<thead>
<tr>
<th scope="col">Key</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
{% for attr, value in current_user.__dict__.items() %}
<tr>
<td>{{attr}}</td>
<td>{{value}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
<h3>Owned Peers</h3>
<table>
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Description</th>
<th scope="col">Address</th>
<th scope="col">Public Key</th>
</tr>
</thead>
<tbody>
{% for p in peers %}
<tr>
<td>{{p.id}}</td>
<td>{{p.description}}</td>
<td>{{p.addr}}</td>
<td>{{p.public_key}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
|