diff options
Diffstat (limited to 'app/templates')
-rw-r--r-- | app/templates/peer_list.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/templates/peer_list.html b/app/templates/peer_list.html new file mode 100644 index 0000000..d2dc97e --- /dev/null +++ b/app/templates/peer_list.html @@ -0,0 +1,27 @@ +{% extends 'base.html' %} + +{% block content %} +<h1>Owned/Managed Peers</h1> + +<table> + <thead> + <tr> + <th scope="col">ID</th> + <th scope="col">Address</th> + <th scope="col">Public Key</th> + <th scope="col">Description</th> + </tr> + </thead> + <tbody> + {% for p in peers %} + <tr> + <td>{{p.id}}</td> + <td>{{p.addr}}</td> + <td>{{p.public_key}}</td> + <td>{{p.description}}</td> + </tr> + {% endfor %} + </tbody> +</table> + +{% endblock %} |