From f9b99ce66f56995a29709e9bf24750dab9430767 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Wed, 21 Sep 2022 21:33:40 -0400 Subject: bunch of features registration, logging out, listing networks, user profiles --- app/templates/profile.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 app/templates/profile.html (limited to 'app/templates/profile.html') diff --git a/app/templates/profile.html b/app/templates/profile.html new file mode 100644 index 0000000..6d4d60a --- /dev/null +++ b/app/templates/profile.html @@ -0,0 +1,46 @@ +{% extends 'base.html' %} + +{% block content %} +

{{current_user.pref_name}} - {{current_user.email}} ({{current_user.id}})

+ +{% if debug %} + + + + + + + + + {% for attr, value in current_user.__dict__.items() %} + + + + + {% endfor %} + +
KeyValue
{{attr}}{{value}}
+{% endif %} + +

Owned Peers

+ + + + + + + + + + + {% for p in peers %} + + + + + + + {% endfor %} + +
IDDescriptionAddressPublic Key
{{p.id}}{{p.description}}{{p.addr}}{{p.public_key}}
+{% endblock %} -- cgit v1.2.3