2021-01-06 06:52:46 -05:00
|
|
|
{% include 'buttons.html' ignore missing %}
|
2021-02-02 01:53:45 -05:00
|
|
|
<fieldset style="background-color:#f0f0f0f0;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;">
|
2021-02-21 03:54:45 -05:00
|
|
|
<legend><b><font color="#000"> .: DMR Server activity :. </font></b></legend>
|
2021-01-06 06:52:46 -05:00
|
|
|
{% if _table['MASTERS']|length >0 %}
|
2021-01-06 13:49:37 -05:00
|
|
|
<table style="table-layout:fixed;width:100%; font: 10pt arial, sans-serif;margin-top:5px;margin-bottom:5px;" width=100%>
|
2021-01-06 06:52:46 -05:00
|
|
|
<tr style="height:30px;font: 10pt arial, sans-serif;{{ themec }}">
|
|
|
|
<th style='width: 20%;'>Systems M&P</th>
|
|
|
|
<th style='width: 40%;'>Source</th>
|
|
|
|
<th style='width: 40%;'>Destination</th>
|
|
|
|
</tr>
|
|
|
|
{% for _master in _table['MASTERS'] %}
|
|
|
|
{% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].items() %}
|
|
|
|
{% if _cdata[1]['TS'] == True or _cdata[2]['TS'] == True %}
|
2021-02-23 11:04:16 -05:00
|
|
|
<tr style="background-color:#f9f9f9f9;line-height:1.4;">
|
2021-01-06 06:52:46 -05:00
|
|
|
{% if _cdata[1]['TRX'] == "RX" %}
|
|
|
|
<td style="font-weight:bold; padding-left: 20px; text-align:left;color:#464646;">M: {{_master}} </td>
|
|
|
|
<td style="font: 9.5pt arial, sans-serif;font-weight: 600;color:#0d1a81;">{{ _cdata[1]['SUB']|safe }} [<span style="align-items: center;justify-content:center;font-size: 8pt;font-weight:600;color:brown;">TS {{ 1 if _cdata[1]['TS'] == True else 2 }}</span>]</td>
|
|
|
|
<td style="font: 9.5pt arial, sans-serif;font-weight: 600;color:#b5651d;">{{ _cdata[1]['DEST']|safe }}</td>
|
|
|
|
{% endif %}
|
|
|
|
{% if _cdata[2]['TRX'] == "RX" %}
|
|
|
|
<td style="font-weight:bold; padding-left: 20px; text-align:left;color:#464646"><b>M: {{_master}} </td>
|
|
|
|
<td style="font: 9.5pt arial, sans-serif;font-weight: 600;color:#0d1a81;">{{ _cdata[2]['SUB']|safe }} [<span style="align-items: center;justify-content:center;font-size: 8pt;font-weight:600;color:brown;">TS {{ 1 if _cdata[1]['TS'] == True else 2 }}</span>]</td>
|
|
|
|
<td style="font: 9.5pt arial, sans-serif;font-weight: 600;color:#b5651d;">{{ _cdata[2]['DEST']|safe }}</td>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
<table style='width:100%; font: 13pt arial, sans-serif; margin-top:8px;'>
|
|
|
|
<tr style='border:none; background-color:#f9f9f9f9;'>
|
2021-02-21 03:54:45 -05:00
|
|
|
<td style='border:none;height:60px;'><font color=brown><b><center>Waiting for data from the DMR server ...</center></b></td>
|
2021-01-06 06:52:46 -05:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
{% endif %}
|
|
|
|
{% for _peer, _pdata in _table['PEERS'].items() %}
|
|
|
|
{% if _pdata[1]['TS'] == True or _pdata[2]['TS'] == True %}
|
2021-02-23 11:04:16 -05:00
|
|
|
<tr style="background-color:#f9f9f9f9;line-height:1.4;">
|
2021-01-06 06:52:46 -05:00
|
|
|
{% if _pdata[1]['TRX'] == "RX" %}
|
|
|
|
<td style="font-weight:bold; padding-left: 20px; text-align:left;color:#464646;">P: {{_peer}} </td>
|
|
|
|
<td style="font: 9.5pt arial, sans-serif;font-weight: 600;color:#0d1a81;">{{ _pdata[1]['SUB']|safe }} [<span style="align-items: center;justify-content:center;font-size: 8pt;font-weight:600;color:brown;">TS {{ 1 if _pdata[1]['TS'] == True else 2 }}</span>]</td>
|
2021-02-22 01:24:42 -05:00
|
|
|
<td style="font: 9.5pt arial, sans-serif;font-weight: 600;color:#b5651d;">{{ _pdata[1]['DEST']|safe }}</td>
|
2021-01-06 06:52:46 -05:00
|
|
|
{% endif %}
|
|
|
|
{% if _pdata[2]['TRX'] == "RX" %}
|
|
|
|
<td style="font-weight:bold; padding-left: 20px; text-align:left;color:#464646;">P: {{_peer}} </td>
|
2021-02-15 15:31:49 -05:00
|
|
|
<td style="font: 9.5pt arial, sans-serif;font-weight: 600;color:#0d1a81;">{{ _pdata[2]['SUB']|safe }} [<span style="align-items: center;justify-content:center;font-size: 8pt;font-weight:600;color:brown;">TS {{ 1 if _pdata[1]['TS'] == True else 2 }}</span>]</td>
|
2021-01-06 06:52:46 -05:00
|
|
|
<td style="font: 9.5pt arial, sans-serif;font-weight: 600;color:#b5651d;">{{ _pdata[2]['DEST']|safe }}</td>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
<tr style="background-color:#f9f9f9;"><td colspan=3 height=5pt><hr style="height:1px;border:none;color:#f9f9f9;background-color:#f9f9f9;"></hr></td></tr>
|
|
|
|
|
|
|
|
{% if _table['OPENBRIDGES']|length >0 %}
|
|
|
|
<tr style="height:30px;width:100%; font: 10pt arial, sans-serif;{{ themec }}">
|
2021-01-24 11:24:50 -05:00
|
|
|
<th style='width: 20%;'>Systems OpenBridge</th>
|
2021-01-06 06:52:46 -05:00
|
|
|
<th colspan=2 style='width: 80%;'>Active Incoming Calls</th>
|
|
|
|
</tr>
|
|
|
|
{% for _openbridge in _table['OPENBRIDGES'] %}
|
|
|
|
{% set rx = namespace(value=0) %}
|
|
|
|
{% if _table['OPENBRIDGES'][_openbridge]['STREAMS']|length >0 %}
|
|
|
|
{% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS'] if _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0]=='RX' %}
|
|
|
|
{% set rx.value=1 %}
|
|
|
|
{% endfor %}
|
|
|
|
{% if rx.value == 1 %}
|
2021-02-23 11:20:04 -05:00
|
|
|
<tr style="background-color:#f9f9f9f9;line-height:1.6;">
|
2021-01-06 06:52:46 -05:00
|
|
|
<td style="font-weight:bold; padding-left: 20px; text-align:left;"> {{ _openbridge}} </td>
|
|
|
|
<td colspan=2 style="background-color:#f9f9f9f9; font: 9pt arial, sans-serif; font-weight: 600; color:#464646;">
|
|
|
|
{% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS'] if _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] == 'RX' %}[<span style="color:#008000;">{{ _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>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</table>
|
|
|
|
</fieldset>
|
|
|
|
{% if _table['SETUP']['LASTHEARD'] == True %}
|
|
|
|
{% include 'lastheard.html' ignore missing %}
|
|
|
|
{% endif %}
|
2021-02-02 01:53:45 -05:00
|
|
|
<fieldset style="width:1070;background-color:#f0f0f0f0;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;">
|
2021-01-06 13:49:37 -05:00
|
|
|
<legend><b><font color="#000"> .: Connected with Master & Peer systems :. </font></b></legend>
|
|
|
|
<table style="table-layout:fixed;width:100%; font: 10pt arial, sans-serif;font-weight:600;margin-top:5px;margin-bottom:5px;" width=100%>
|
2021-01-06 06:52:46 -05:00
|
|
|
{% if _table['MASTERS']|length >0 %}
|
|
|
|
<tr style="background-color:#f9f9f9f9;"><td>
|
|
|
|
<br>
|
2021-02-23 03:45:52 -05:00
|
|
|
<div style="text-align:left;"><span style="color:#464646;font-weight:600;line-height:1.4;"> USERS:</span></div>
|
2021-01-09 15:16:01 -05:00
|
|
|
<div style="text-align:left;font:9.5pt arial, sans-serif;font-weight:bold;margin-left:25px; margin-right:25px;line-height:1.4;white-space:normal;">
|
2021-01-06 06:52:46 -05:00
|
|
|
{% for _master in _table['MASTERS'] %}
|
|
|
|
{% if _table['MASTERS'][_master]['PEERS']|length >0 %}
|
|
|
|
{% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].items() %}
|
2021-01-11 14:30:49 -05:00
|
|
|
<span class="tooltip" style="border-bottom: 1px dotted white;">
|
2021-01-12 03:04:49 -05:00
|
|
|
<a style="border-bottom: 1px dotted white;font: 9.5pt arial,sans-serif;font-weight:bold;color:#0066ff;" target="_blank" href="http://www.qrz.com/db/{{_cdata['CALLSIGN']}}"><b>{{_cdata['CALLSIGN']}}</b></a>
|
2021-01-12 03:08:51 -05:00
|
|
|
<span class="tooltiptext" style="left:115%;top:-10px;">
|
2021-01-11 10:54:45 -05:00
|
|
|
<span style="font: 9pt arial,sans-serif;color:#FFFFFF">
|
|
|
|
<b>DMR ID</b>: <b><font color=yellow>{{ _client }}</b></font><br>
|
|
|
|
{% if _cdata['RX_FREQ'] == 'N/A' and _cdata['TX_FREQ'] == 'N/A' %}
|
2021-01-11 11:08:22 -05:00
|
|
|
<b>Type: <font color=yellow>IP Network</font></b><br>
|
2021-01-11 10:54:45 -05:00
|
|
|
{% else %}
|
2021-01-11 11:08:22 -05:00
|
|
|
<b>Type: <font color=yellow>Radio</font></b> ({{ _cdata['SLOTS'] }})<br>
|
2021-01-11 10:54:45 -05:00
|
|
|
{% endif %}
|
2021-01-11 11:08:22 -05:00
|
|
|
<b>Hardware</b>: {{_cdata['PACKAGE_ID'] }}
|
2021-01-11 10:54:45 -05:00
|
|
|
<br> <b>Soft_Ver</b>: {{_cdata['SOFTWARE_ID'] }}
|
2021-01-12 01:08:10 -05:00
|
|
|
<br> <b>Info</b>: {{_cdata['LOCATION']}}
|
|
|
|
<br> <b>Master</b>: <font color=yellow>{{_master}}</font>
|
2021-01-12 03:04:49 -05:00
|
|
|
</span></span></span>
|
2021-01-06 06:52:46 -05:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% if _table['PEERS']|length >0 %}
|
|
|
|
<br>
|
2021-02-22 15:01:45 -05:00
|
|
|
<div style="text-align:left;"><span style="color:#464646;font-weight:600;line-height:1.8;"> PEERS:</span></div>
|
2021-01-24 11:28:07 -05:00
|
|
|
<div style="text-align:left;font:9.5pt arial, sans-serif;font-weight:bold;margin-left:25px; margin-right:25px;line-height:1.6;white-space:normal;">
|
2021-01-06 06:52:46 -05:00
|
|
|
{% for _peer, _pdata in _table['PEERS'].items() %}
|
2021-02-22 05:57:33 -05:00
|
|
|
<span class="tooltip" style="border-bottom: 1px dotted white;{{'background-color:#8ecfb4; color:#464646;' if _table['PEERS'][_peer]['STATS']['CONNECTION'] == 'YES' else 'background-color:#ff0000; color:white;'}}"><b> {{_peer}} </b>
|
2021-02-22 01:19:00 -05:00
|
|
|
{% if _table['PEERS'][_peer]['STATS']['CONNECTION'] == 'YES' %}
|
2021-02-23 11:20:04 -05:00
|
|
|
<span class="tooltiptext" style="top:120%;left:50%;margin-left:-70%;width:100px;padding: 2px 0;">
|
|
|
|
<center><font color=white>Connected</font></center>
|
2021-02-22 01:19:00 -05:00
|
|
|
</span>
|
|
|
|
{% else %}
|
2021-02-23 11:20:04 -05:00
|
|
|
<span class="tooltiptext" style="top:120%;left:50%;margin-left:-70%;width:100px;padding: 2px 0;">
|
|
|
|
<center><b><font color=white>Disconnected</font></center>
|
2021-02-22 01:19:00 -05:00
|
|
|
</span>
|
|
|
|
{% endif %}
|
2021-02-17 10:10:54 -05:00
|
|
|
</span>
|
2021-01-12 01:08:10 -05:00
|
|
|
{% endfor %}
|
2021-01-06 06:52:46 -05:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<br>
|
|
|
|
</td></tr></table>
|
|
|
|
</fieldset>
|