From d785bc38ba51395423c6b38e92fee460e7a3fff7 Mon Sep 17 00:00:00 2001 From: Waldek Date: Tue, 23 Feb 2021 17:04:16 +0100 Subject: [PATCH] html code updated --- templates/main_table.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/main_table.html b/templates/main_table.html index dd4da4b..da8b524 100644 --- a/templates/main_table.html +++ b/templates/main_table.html @@ -11,7 +11,7 @@ {% for _master in _table['MASTERS'] %} {% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].items() %} {% if _cdata[1]['TS'] == True or _cdata[2]['TS'] == True %} - + {% if _cdata[1]['TRX'] == "RX" %} M: {{_master}} {{ _cdata[1]['SUB']|safe }} [TS {{ 1 if _cdata[1]['TS'] == True else 2 }}] @@ -36,7 +36,7 @@ {% endif %} {% for _peer, _pdata in _table['PEERS'].items() %} {% if _pdata[1]['TS'] == True or _pdata[2]['TS'] == True %} - + {% if _pdata[1]['TRX'] == "RX" %} P: {{_peer}} {{ _pdata[1]['SUB']|safe }} [TS {{ 1 if _pdata[1]['TS'] == True else 2 }}] @@ -64,7 +64,7 @@ {% set rx.value=1 %} {% endfor %} {% if rx.value == 1 %} - + {{ _openbridge}} {% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS'] if _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] == 'RX' %}[{{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }}: {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }} >> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][2] }}]  {% endfor %}