From f46c0aeb7d5e3c8bca0fd6034d81a0ee0c09b8cb Mon Sep 17 00:00:00 2001 From: Waldek Date: Wed, 6 Jan 2021 12:53:21 +0100 Subject: [PATCH] Add files via upload --- templates/peers_table.html | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 templates/peers_table.html diff --git a/templates/peers_table.html b/templates/peers_table.html new file mode 100644 index 0000000..f1c863b --- /dev/null +++ b/templates/peers_table.html @@ -0,0 +1,38 @@ +{% include 'buttons.html' ignore missing %} +
+ .: Peers status :.  +{% if _table['PEERS']|length >0 %} + + + + + + + + + + {% for _peer, _pdata in _table['PEERS'].items() %} + + + + + + + + + + + + + + + {% endfor %} +
HB Protocol
Peer Systems
Callsign (DMR Id)
Info
Connected
TX/RX/Lost
SlotSourceDestination
{{ _peer}}
Mode: {{ _table['PEERS'][_peer]['MODE'] }}
{{_table['PEERS'][_peer]['CALLSIGN']}} (Id: {{ _table['PEERS'][_peer]['RADIO_ID'] }})   Linked Time Slot: {{ _table['PEERS'][_peer]['SLOTS'] }}

{{_table['PEERS'][_peer]['LOCATION']}}
{{ _table['PEERS'][_peer]['STATS']['CONNECTED'] }}
{{ _table['PEERS'][_peer]['STATS']['PINGS_SENT'] }} / {{ _table['PEERS'][_peer]['STATS']['PINGS_ACKD'] }} / {{ _table['PEERS'][_peer]['STATS']['PINGS_SENT'] - _table['PEERS'][_peer]['STATS']['PINGS_ACKD'] }}
TS1{{ _pdata[1]['SUB']|safe }}{{ _pdata[1]['DEST']|safe }}
TS2{{ _pdata[2]['SUB']|safe }}{{ _pdata[2]['DEST']|safe }}
+ {% else %} + + + + +
Waiting for data from the HBLink server ... or not defined on HBLink
+ {% endif %} +