2020-07-01 01:25:43 -04:00
{% if _table['SETUP']['LASTHEARD'] == True %}
2020-07-16 02:49:19 -04:00
{% include 'lastheard.html' ignore missing %}
2020-07-01 01:25:43 -04:00
{% endif %}
2020-02-27 07:09:56 -05:00
< fieldset style = "background-color:#e0e0e0e0;text-algin: lef; margin-left:15px;margin-right:15px;font-size:14px;border-top-left-radius: 10px; border-top-right-radius: 10px;border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;" >
2022-12-27 19:32:14 -05:00
< legend > < b > < font color = "#000" > .: OBP Master Status :. < / font > < / b > < / legend >
2020-06-29 07:32:44 -04:00
{% if _table['MASTERS']|length >0 %}
2020-02-27 07:09:56 -05:00
< table style = "table-layout:fixed;width:100%; font: 10pt arial, sans-serif" >
< tr style = "font: 10pt arial, sans-serif; background-color:#356244; color:white" >
2022-12-27 19:32:14 -05:00
< th style = 'width: 120px;' > OBP< br > Masters< / th >
2020-04-25 07:20:45 -04:00
< th style = 'width: 160px;' > Callsign (DMR Id)< br > Info< / th >
2020-02-27 07:09:56 -05:00
< th style = 'width: 90px;' > Time Connected< / th >
< th style = 'width: 40px;' > Slot< / th >
< th style = 'width: 50%;' > Source Subscriber< / th >
< th style = 'width: 40%;' > Destination< / th >
< / tr >
{% for _master in _table['MASTERS'] %}
2020-12-31 16:27:54 -05:00
{% if ((_table['MASTERS'][_master]['PEERS']|length==0 or _table['MASTERS'][_master]['PEERS']|length>0) and emaster==True) or (_table['MASTERS'][_master]['PEERS']|length>0 and emaster==False) %}
2020-02-27 07:09:56 -05:00
< tr style = "background-color:#f9f9f9f9;" >
< td style = "font-weight:bold" rowspan = "{{ (_table['MASTERS'][_master]['PEERS']|length * 2) +1 }}" > {{_master}}< br > < div style = "font: 8pt arial, sans-serif" > {{_table['MASTERS'][_master]['REPEAT']}}< / div > < / td >
< / tr >
{% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].items() %}
< tr style = "background-color:#f9f9f9f9;" >
2020-07-06 05:02:11 -04:00
< td rowspan = "2" > < div class = "tooltip" > < b > < font color = #0066ff > {{ _cdata['CALLSIGN'] }}< / font >
2020-02-27 07:09:56 -05:00
< / b > < span style = "font: 8pt arial,sans-serif" > (Id: {{ _client }})< / span > < span class = "tooltiptext" >
2020-06-26 07:01:32 -04:00
< span style = "font: 9pt arial,sans-serif;color:#FFFFFF" >
{% if _cdata['RX_FREQ'] == 'N/A' and _cdata['TX_FREQ'] == 'N/A' %}
2020-07-07 07:21:57 -04:00
< b > < font color = yellow > IP Network< / font > < / b > < br >
2020-06-26 07:01:32 -04:00
{% else %}
2020-07-08 01:50:04 -04:00
< b > < font color = yellow > Radio< / font > < / b > :< br >
< b > RX< / b > : {{ _cdata['RX_FREQ'] }}< br >
< b > TX< / b > : {{ _cdata['TX_FREQ'] }}< br >
2020-06-26 07:01:32 -04:00
{% endif %}
2020-07-04 12:21:26 -04:00
< b > Type/Slot< / b > : {{ _cdata['SLOTS'] }}
2020-02-27 07:09:56 -05:00
< br > < b > Soft_Ver< / b > : {{_cdata['SOFTWARE_ID'] }}
< br > < b > Hardware< / b > : {{_cdata['PACKAGE_ID'] }}< / span > < / span > < / div >
2020-07-06 09:56:33 -04:00
< br > < div style = "font: 92% arial,sans-serif; color:#b5651d;font-weight:bold" > {{_cdata['LOCATION']}}< / div > < / td >
2020-02-27 07:09:56 -05:00
< td style = "background-color:#e8ffec;font: 10pt arial, sans-serif;" rowspan = "2" > {{ _cdata['CONNECTED'] }}< / td >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _cdata[1]['BGCOLOR'] }}; color:#{{ _cdata[1]['COLOR'] }}" > < span style = "color:#{{ _cdata[1]['COLOR'] if _cdata[1]['BGCOLOR'] == 'ff6347' else 'b70101'}}" > TS1< / span > < / td >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _cdata[1]['BGCOLOR'] }}; color:#{{ _cdata[1]['COLOR'] }}" > {{ _cdata[1]['SUB'] }}< / td >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _cdata[1]['BGCOLOR'] }}; color:#{{ _cdata[1]['COLOR'] }}" > {{ _cdata[1]['DEST'] }}< / td >
< tr style = "background-color:#f9f9f9f9;" >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _cdata[2]['BGCOLOR'] }}; color:#{{ _cdata[2]['COLOR'] }}" > < span style = "color:#{{ _cdata[2]['COLOR'] if _cdata[2]['BGCOLOR'] == 'ff6347' else '3a4aa6'}}" > TS2< / span > < / td >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _cdata[2]['BGCOLOR'] }}; color:#{{ _cdata[2]['COLOR'] }}" > {{ _cdata[2]['SUB'] }}< / td >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _cdata[2]['BGCOLOR'] }}; color:#{{ _cdata[2]['COLOR'] }}" > {{ _cdata[2]['DEST'] }}< / td >
< / tr >
< / tr >
{% endfor %}
2020-12-23 00:46:16 -05:00
{% endif %}
2020-02-27 07:09:56 -05:00
{% endfor %}
< / table >
2020-06-29 07:32:44 -04:00
{% else %}
2020-07-15 04:52:11 -04:00
< table style = 'width:100%; font: 13pt arial, sans-serif' >
2020-06-29 07:32:44 -04:00
< tr style = 'border:none; background-color:#f9f9f9f9;' >
2020-07-02 05:34:12 -04:00
< td style = 'border:none;height:60px;' > < font color = brown > < b > < center > Waiting for data from the HBLink server ...< / center > < / b > < / td >
2020-06-29 07:32:44 -04:00
< / tr >
< / table >
{% endif %}
{% if _table['PEERS']|length >0 %}
2020-02-27 07:09:56 -05:00
< br >
< table style = "table-layout:fixed;width:100%; font: 10pt arial, sans-serif" >
< tr style = "font: 10pt arial, sans-serif; background-color:#4b8c61; color:white" >
2022-12-27 19:35:44 -05:00
< th style = 'width: 120px;' > OBP< br > Peer Systems< / th >
2020-04-25 07:17:21 -04:00
< th style = 'width: 160px;' > Callsign (DMR Id)< br > Info< / th >
2020-02-27 07:09:56 -05:00
< th style = 'width: 90px;' > Connected< br > TX/RX/Lost< / th >
< th style = 'width: 42px;' > Slot< / th >
< th style = 'width: 50%;' > Source Subscriber< / th >
< th style = 'width: 40%;' > Destination< / th >
< / tr >
{% for _peer, _pdata in _table['PEERS'].items() %}
< tr style = "background-color:#f9f9f9f9;" >
< td style = "font-weight:bold" rowspan = "2" > {{ _peer}}< br > < span style = "font-weight:normal; font: 7pt arial, sans-serif;" > Mode: {{ _table['PEERS'][_peer]['MODE'] }}< / span > < / td >
2020-08-15 15:16:59 -04:00
< td rowspan = "2" > < div class = "tooltip" > < b > < font color = #0066ff > {{_table['PEERS'][_peer]['CALLSIGN']}}< / font > < / b > < span style = "font-weight:normal; font: 8pt arial, sans-serif;" > (Id: {{ _table['PEERS'][_peer]['RADIO_ID'] }})< / span > < span class = "tooltiptext" > < b > Linked Time Slot: < font color = yellow > {{ _table['PEERS'][_peer]['SLOTS'] }}< / font > < / b > < / span > < / div > < br > < div style = "font: 92% arial, sans-serif; color:#b5651d;font-weight:bold" > {{_table['PEERS'][_peer]['LOCATION']}}< / div > < / td >
2020-02-27 07:09:56 -05:00
< td rowspan = "2" ; style = "font: 9pt arial, sans-serif;{{ 'background-color:#98FB98' if _table['PEERS'][_peer]['STATS']['CONNECTION'] == 'YES' else ';background-color:#ff704d' }}" > {{ _table['PEERS'][_peer]['STATS']['CONNECTED'] }}< br > < div style = "font: 8pt arial, sans-serif" > {{ _table['PEERS'][_peer]['STATS']['PINGS_SENT'] }} / {{ _table['PEERS'][_peer]['STATS']['PINGS_ACKD'] }} / {{ _table['PEERS'][_peer]['STATS']['PINGS_SENT'] - _table['PEERS'][_peer]['STATS']['PINGS_ACKD'] }}< / div > < / td >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _pdata[1]['BGCOLOR'] }}; color:#{{ _pdata[1]['COLOR'] }}" > < span style = "color:#b70101" > TS1< / span > < / td >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _pdata[1]['BGCOLOR'] }}; color:#{{ _pdata[1]['COLOR'] }}" > {{ _pdata[1]['SUB'] }}< / td >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _pdata[1]['BGCOLOR'] }}; color:#{{ _pdata[1]['COLOR'] }}" > {{ _pdata[1]['DEST'] }}< / td >
< tr style = "background-color:#f9f9f9f9;" >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _pdata[2]['BGCOLOR'] }}; color:#{{ _pdata[2]['COLOR'] }}" > < span style = "color:#{{ _pdata[2]['COLOR'] if _pdata[2]['BGCOLOR'] == 'ff6347' else '3a4aa6'}}" > TS2< / span > < / td >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _pdata[2]['BGCOLOR'] }}; color:#{{ _pdata[2]['COLOR'] }}" > {{ _pdata[2]['SUB'] }}< / td >
< td style = "font: 10pt arial, sans-serif;background-color:#{{ _pdata[2]['BGCOLOR'] }}; color:#{{ _pdata[2]['COLOR'] }}" > {{ _pdata[2]['DEST'] }}< / td >
< / tr >
< / tr >
{% endfor %}
< / table >
2020-06-29 07:32:44 -04:00
{% endif %}
2020-06-27 14:10:41 -04:00
{% if _table['OPENBRIDGES']|length >0 %}
2020-02-27 07:09:56 -05:00
< br >
< table style = "table-layout:fixed;width:100%; font: 10pt arial, sans-serif" >
< tr style = "width:100%; font: 10pt arial, sans-serif; background-color:#12ad2a; color:white" >
2020-08-15 15:12:18 -04:00
< th style = 'width: 120px;' > OpenBridge< br > Systems< / th >
2020-02-27 07:09:56 -05:00
< th style = 'width: 160px;' > Network ID< / th >
< th style = 'width: 100%;' > Active Calls< / th >
< / tr >
{% for _openbridge in _table['OPENBRIDGES'] %}
< tr style = "background-color:#f9f9f9f9;" >
< td style = "font-weight:bold; padding-left: 20px; text-align:left;" > {{ _openbridge}} < / td >
< td > < div style = "font: 9pt arial, sans-serif;margin-top:3px;margin-bottom:3px;" > Net ID: < span style = "font: 9pt arial, sans-serif;font-weight:bold;" > {{ _table['OPENBRIDGES'][_openbridge]['NETWORK_ID'] }}< / td >
2020-12-21 11:54:29 -05:00
< td style = "background-color:#f9f9f9f9; font: 9pt arial, sans-serif; font-weight: 600; color:#464646;" > {% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS'] %}(< span style = "{{ 'color:#008000;' if _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] == 'RX' else 'color:red;' }}" > {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }}< / span > : < font color = #0065ff > {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }}< / font > >> < font color = #b5651d > {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][2] }}< / font > ) {% endfor %}< / td >
< / tr >
2020-02-27 07:09:56 -05:00
{% endfor %}
< / table >
2020-06-27 14:10:41 -04:00
{% endif %}
2020-02-27 07:09:56 -05:00
< / fieldset >