{% include 'buttons.html' ignore missing %} {% include 'lastheard.html' ignore missing %}
 .: Connected to DMR Server :.  {% if _table['MASTERS']|length >0 %} {% if _table['MASTERS']|length >0 %}

  USERS:
{% for _master in _table['MASTERS'] %} {% if _table['MASTERS'][_master]['PEERS']|length >0 %} {% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].items() %} {{_cdata['CALLSIGN']}}    DMR ID: {{ _client }}
{% if _cdata['RX_FREQ'] == 'N/A' and _cdata['TX_FREQ'] == 'N/A' %}    Type: IP Network
{% else %}    Type: Radio ({{ _cdata['SLOTS'] }})
{% endif %}    Hardware: {{_cdata['PACKAGE_ID'] }}
   Soft_Ver: {{_cdata['SOFTWARE_ID'] }}
   Info: {{_cdata['LOCATION']}}
   Master: {{_master}}
  {% endfor %} {% endif %} {% endfor %}
{% endif %} {% if _table['PEERS']|length >0 %}
  PEERS:
{% for _peer, _pdata in _table['PEERS'].items() %}   {{_peer}}   {% if _table['PEERS'][_peer]['STATS']['CONNECTION'] == 'YES' %}
Connected
{% else %}
Disconnected
{% endif %}
  {% endfor %}
{% endif %}
{% else %}
Waiting for data from the DMR server ...
{% endif %}