From 9c2c41d2daae1f6b145f85cef86e8dc66a6c38e2 Mon Sep 17 00:00:00 2001 From: Waldek Date: Mon, 22 Feb 2021 07:19:00 +0100 Subject: [PATCH] updated display peers --- templates/main_table.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/main_table.html b/templates/main_table.html index d570139..04d29c3 100644 --- a/templates/main_table.html +++ b/templates/main_table.html @@ -116,6 +116,15 @@
{% for _peer, _pdata in _table['PEERS'].items() %}   {{_peer}}   + {% if _table['PEERS'][_peer]['STATS']['CONNECTION'] == 'YES' %} + +
  Connected  
+
+ {% else %} + +
  Disconnected  
+
+ {% endif %}
  {% endfor %}