blob: 6d4d60a04ba3568a9ffb05149cd3c5c3bc87eb4b (
plain) (
tree)
|
|
{% 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 %}
|