From dbee4ded6e07ec87f5ce2d25b3a8f1ee07d4cf30 Mon Sep 17 00:00:00 2001 From: Waldek Date: Tue, 18 May 2021 17:18:54 +0200 Subject: [PATCH] Add files via upload --- templates/peers_table.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 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..4760e9e --- /dev/null +++ b/templates/peers_table.html @@ -0,0 +1,37 @@ +
+ .: 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 Server ... or not defined on Server
+ {% endif %} +