2019-09-17 15:12:27 -04:00
|
|
|
{% include 'lastheard.html' %}
|
|
|
|
<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;">
|
|
|
|
<legend><b><font color="#000"> .: HBlink status :. </font></b></legend>
|
|
|
|
<table style="table-layout:fixed;width:100%; font: 10pt arial, sans-serif">
|
2019-09-22 02:48:12 -04:00
|
|
|
<tr style="font: 10pt arial, sans-serif; background-color:#356244; color:white">
|
2019-09-17 15:12:27 -04:00
|
|
|
<th style='width: 120px;'>HB Protoxol<br>Master Systems</th>
|
|
|
|
<th style='width: 160px;'>Callsign (DMR Id)<br>Location</th>
|
|
|
|
<th style='width: 90px;'>Time Connected</th>
|
|
|
|
<th style='width: 40px;'>Slot</th>
|
2019-09-26 04:55:20 -04:00
|
|
|
<th style='width: 50%;'>Source Subscriber</th>
|
|
|
|
<th style='width: 40%;'>Destination</th>
|
2019-09-17 15:12:27 -04:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
{% for _master in _table['MASTERS'] %}
|
|
|
|
|
|
|
|
<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;">
|
|
|
|
<td rowspan="2"><div class="tooltip"><b><font color=blue>{{ _cdata['CALLSIGN'] }}</font>
|
|
|
|
</b><span style="font: 8pt arial,sans-serif">(Id: {{ _client }})</span><span class="tooltiptext">
|
2019-12-11 06:03:44 -05:00
|
|
|
<span style="font: 9pt arial,sans-serif;color:#FFFFFF"> <b>Type/Slots)</b>: {{ _cdata['SLOTS'] }}
|
2019-09-17 15:12:27 -04:00
|
|
|
<br> <b>RX</b>: {{ _cdata['RX_FREQ'] }}
|
|
|
|
<br> <b>TX</b>: {{ _cdata['TX_FREQ'] }}
|
|
|
|
<br> <b>Soft_Ver</b>: {{_cdata['SOFTWARE_ID'] }}
|
|
|
|
<br> <b>Hardware</b>: {{_cdata['PACKAGE_ID'] }}</span></span></div>
|
|
|
|
<br><font color=brown><b>{{_cdata['LOCATION']}}</b></font></td>
|
|
|
|
<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>
|
2019-11-13 15:04:25 -05:00
|
|
|
<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>
|
2019-09-17 15:12:27 -04:00
|
|
|
<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 %}
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
<br>
|
|
|
|
<table style="table-layout:fixed;width:100%; font: 10pt arial, sans-serif">
|
2019-09-22 02:48:12 -04:00
|
|
|
<tr style="font: 10pt arial, sans-serif; background-color:#4b8c61; color:white">
|
2019-09-17 15:12:27 -04:00
|
|
|
<th style='width: 120px;'>HB Protocol<br>Peer Systems</th>
|
|
|
|
<th style='width: 160px;'>Callsign (DMR Id)<br>Master IP:Port</th>
|
|
|
|
<th style='width: 90px;'>Connected<br>TX/RX/Lost</th>
|
|
|
|
<th style='width: 42px;'>Slot</th>
|
2019-09-26 04:55:20 -04:00
|
|
|
<th style='width: 50%;'>Source Subscriber</th>
|
|
|
|
<th style='width: 40%;'>Destination</th>
|
2019-09-17 15:12:27 -04:00
|
|
|
</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>
|
2019-09-30 14:02:04 -04:00
|
|
|
<td rowspan="2"><div class="tooltip"><b><font color=blue>{{_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>Info</b>: {{_table['PEERS'][_peer]['LOCATION']}}<br> <b>Linked Time Slot</b>: {{ _table['PEERS'][_peer]['SLOTS'] }}</span></div><br><div style="font: 8pt arial, sans-serif">Master: {{ _table['PEERS'][_peer]['MASTER_IP'] }}:{{ _table['PEERS'][_peer]['MASTER_PORT'] }}</div></td>
|
2019-09-17 15:12:27 -04: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>
|
2019-11-13 15:04:25 -05:00
|
|
|
<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>
|
2019-09-17 15:12:27 -04:00
|
|
|
<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>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
<table style="table-layout:fixed;width:100%; font: 10pt arial, sans-serif">
|
2019-09-22 02:48:12 -04:00
|
|
|
<tr style="width:100%; font: 10pt arial, sans-serif; background-color:#12ad2a; color:white">
|
2019-09-17 15:12:27 -04:00
|
|
|
<th style='width: 120px;'>OpenBridge Systems</th>
|
|
|
|
<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>
|
|
|
|
<td style="background-color:#f9f9f9f9; font: 9pt arial, sans-serif; font-weight: 600; color:{{ '#008000' if _table['OPENBRIDGES'][_openbridge]['TRX'] == 'RX' else '#FF6347' }}">{% 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 %}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</fieldset>
|