diff --git a/templates/hblink_table.html b/templates/hblink_table.html index efa67a5..0d6cc23 100755 --- a/templates/hblink_table.html +++ b/templates/hblink_table.html @@ -3,45 +3,27 @@ - - - - - - - + - - + - - - - - - + {% for _master in _table['MASTERS'] %} - + {% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].iteritems() %} - - - - - - - - - + + + {% endfor %} {% endfor %} diff --git a/web_tables.py b/web_tables.py index f309d05..bcbcb13 100755 --- a/web_tables.py +++ b/web_tables.py @@ -67,7 +67,7 @@ OPCODE = { # Global Variables: CONFIG = {} -CTABLE = {'MASTERS': {}, 'PEERS': {}} +CTABLE = {'MASTERS': {}, 'PEERS': {}, 'OPENBRIDGES': {}} BRIDGES = {} BTABLE = {} BTABLE['BRIDGES'] = {}
HBP SystemClient Radio IDCallsignID/Callsign/Location
IP:Port/KeepAlives
FrequencyColorCodeLinkTSLocationPings ReceivedIPPortColorCode
LinkedTS
{{ _master}} {{ _master}}
{{ _client }}{{ _cdata['CALLSIGN'] }}{{ _cdata['TX_FREQ'] }}{{ _cdata['COLORCODE'] }}{{ _cdata['SLOTS'] }}{{ _cdata['LOCATION'] }}{{ _cdata['PINGS_RECEIVED'] }}{{ _cdata['IP'] }}{{ _cdata['PORT'] }}{{ _client }}, {{ _cdata['CALLSIGN'] }}, {{ _cdata['LOCATION'] }}
{{ _cdata['IP'] }}:{{ _cdata['PORT'] }} / {{ _cdata['PINGS_RECEIVED'] }}
TX: {{ _cdata['RX_FREQ'] }}
RX: {{ _cdata['TX_FREQ] }}
{{ _cdata['COLORCODE'] }}
{{ _cdata['SLOTS'] }}