From ef061b562cc71c765ffe9aa6b5fe9a8ca17ba4b5 Mon Sep 17 00:00:00 2001 From: Waldemar Ogonowski Date: Mon, 11 Jan 2021 16:54:45 +0100 Subject: [PATCH] add tooltip --- templates/main_table.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/templates/main_table.html b/templates/main_table.html index 671d424..864bf4f 100644 --- a/templates/main_table.html +++ b/templates/main_table.html @@ -90,7 +90,22 @@ {% for _master in _table['MASTERS'] %} {% if _table['MASTERS'][_master]['PEERS']|length >0 %} {% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].items() %} - {{_cdata['CALLSIGN']}}  + {% 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' %} +    Connected via: IP Network
+ {% else %} +    Connected via: Radio
+ {% endif %} +    Type: {{ _cdata['SLOTS'] }} +
   Hardware: {{_cdata['PACKAGE_ID'] }} +
   Soft_Ver: {{_cdata['SOFTWARE_ID'] }} +
   Location: {{_cdata['LOCATION']}} +
{% endfor %} {% endif %} {% endfor %}