diff --git a/templates/masters_table.html b/templates/masters_table.html new file mode 100644 index 0000000..ad142b2 --- /dev/null +++ b/templates/masters_table.html @@ -0,0 +1,58 @@ +{% include 'buttons.html' ignore missing %} +
+ .: Masters status :.  +{% if _table['MASTERS']|length >0 %} + + + + + + + + + + + {% for _master in _table['MASTERS'] %} + {% if _table['MASTERS'][_master]['PEERS']|length >0 %} + + + + {% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].items() %} + + + + + + + + + + + + + + {% endfor %} + {% endif %} +{% endfor %} +
HB Protocol
Master Systems
Callsign (DMR Id)
Info
Time ConnectedSlotSourceDestination
{{_master}}
{{_table['MASTERS'][_master]['REPEAT']}}
{{ _cdata['CALLSIGN']}} + (Id: {{ _client }}) + + {% if _cdata['RX_FREQ'] == 'N/A' and _cdata['TX_FREQ'] == 'N/A' %} +    IP Network
+ {% else %} +    Radio:
+      RX: {{ _cdata['RX_FREQ'] }}
+      TX: {{ _cdata['TX_FREQ'] }}
+ {% endif %} +    Type/Slot: {{ _cdata['SLOTS'] }} +
   Soft_Ver: {{_cdata['SOFTWARE_ID'] }} +
   Hardware: {{_cdata['PACKAGE_ID'] }}
+
{{_cdata['LOCATION']}}
{{ _cdata['CONNECTED'] }}TS1{{ _cdata[1]['SUB']|safe }}{{ _cdata[1]['DEST']|safe }}
TS2{{ _cdata[2]['SUB']|safe }}{{ _cdata[2]['DEST']|safe }}
+{% else %} + + + + +
Waiting for data from the HBLink server ...
+{% endif %} +