From f2b5a74e0cd0ecb6d487b9e1e4c629425d8aba35 Mon Sep 17 00:00:00 2001 From: Waldek Date: Sun, 9 Jun 2019 09:43:19 +0200 Subject: [PATCH] Add files via upload new version --- templates/hblink_table.html | 91 +++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 templates/hblink_table.html diff --git a/templates/hblink_table.html b/templates/hblink_table.html new file mode 100644 index 0000000..93eebbf --- /dev/null +++ b/templates/hblink_table.html @@ -0,0 +1,91 @@ +
  HBlink Status Tables   + + + + + + + + + + + + + {% for _master in _table['MASTERS'] %} + + + + + {% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].iteritems() %} + + + + + + + + + + + + + + + + + + {% endfor %} +{% endfor %} +
Homebrew Protocol
Master Systems
ID/Callsign/Location
IP:Port/Time Connected
FrequencyCC
LinkedTS
SlotCall
Type
Source
Subscriber
Destination
{{_master}}
{{_table['MASTERS'][_master]['REPEAT']}}
{{ _client }}, {{ _cdata['CALLSIGN'] }}, {{ _cdata['LOCATION'] }}
{{ _cdata['IP'] }} src port: {{ _cdata['PORT'] }} / connected since {{ _cdata['CONNECTED'] }}
{{ _cdata['RX_FREQ'] }}
{{ _cdata['TX_FREQ'] }}
CC: {{ _cdata['COLORCODE'] }}
{{ _cdata['SLOTS'] }}
TS1{{ _cdata[1]['TYPE'] }}{{ _cdata[1]['SUB'] }}{{ _cdata[1]['DEST'] }}
TS2{{ _cdata[2]['TYPE'] }}{{ _cdata[2]['SUB'] }}{{ _cdata[2]['DEST'] }}
+
+ + + + + + + + + + + + + {% for _peer, _pdata in _table['PEERS'].iteritems() %} + + + + + + + + + + + + + + + + + + {% endfor %} +
Homebrew Protocol
Peer Systems
ID/Callsign/Location
Master IP:Port
Connected
TX/RX/Lost
LinkedTSSlotCall
Type
Source
Subscriber
Destination
{{ _peer}}{{ _table['PEERS'][_peer]['RADIO_ID'] }}, {{_table['PEERS'][_peer]['CALLSIGN']}}, {{_table['PEERS'][_peer]['LOCATION']}}
Master: {{ _table['PEERS'][_peer]['MASTER_IP'] }}:{{ _table['PEERS'][_peer]['MASTER_PORT'] }}
{{ _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'] }}
{{ _table['PEERS'][_peer]['SLOTS'] }}TS1{{ _pdata[1]['TYPE'] }}{{ _pdata[1]['SUB'] }}{{ _pdata[1]['DEST'] }}
TS2{{ _pdata[2]['TYPE'] }}{{ _pdata[2]['SUB'] }}{{ _pdata[2]['DEST'] }}
+
+ + + + + + + + {% for _openbridge in _table['OPENBRIDGES'] %} + + + + + + + + {% endfor %} +
OpenBridge SystemsNetwork ID
Target IP:Port
Active Calls
{{ _openbridge}} {{ _table['OPENBRIDGES'][_openbridge]['NETWORK_ID'] }}
Internet src port: {{ _table['OPENBRIDGES'][_openbridge]['TARGET_PORT'] }}
{% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS'] %}({{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }} | {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }} >> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][2] }}) {% endfor %}
+
\ No newline at end of file