CONFIGURATION

{{conf_data['name']}}

ACTION
{% if conf_data['checked'] == "checked" %} ON {% else %} OFF {% endif %}
STATUS
{{conf_data['status']}}
CONNECTED PEERS
{{conf_data['running_peer']}}
TOTAL DATA USAGE
{{conf_data['total_data_usage'][0]}} GB
TOTAL RECIEVED
{{conf_data['total_data_usage'][1]}} GB
TOTAL SENT
{{conf_data['total_data_usage'][2]}} GB
PUBLIC KEY
{{conf_data['public_key']}}
LISTEN PORT
{{conf_data['listen_port']}}

{% for i in conf_data['peer_data']%}
{% if not i['name']%} {{ "Untitled Peer" }} {% else %} {{i['name']}} {% endif %}

{{i['total_receive']}} GB

{{i['total_sent']}} GB

PEER
{{i['id']}}
ALLOWED IP
{{i['allowed_ip']}}
LATEST HANDSHAKE
{{i['latest_handshake']}}
END POINT
{{i['endpoint']}}

{%endfor%}