diff --git a/templates/bridge_table.html b/templates/bridge_table.html new file mode 100644 index 0000000..a754833 --- /dev/null +++ b/templates/bridge_table.html @@ -0,0 +1,56 @@ +{% include 'buttons.html' ignore missing %} +
+ .: Bridge status :.  + {% if _table['BRIDGES']|length == 0 and _table['SETUP']['BRIDGES'] != False %} + + + + +
Waiting for data from the HBLink server ...
+{% elif _table['SETUP']['BRIDGES'] == False %} + + + + +
BRIDGES display is disabled by setup
+{% else %} +{% for _bridge, _bridge_data in _table['BRIDGES'].items() %} + + + + + + + + + + + +

{{ _bridge }}

+ + + + + + + + + + + {% for system, _system_data in _table['BRIDGES'][_bridge].items() %} + + + + + + + + + + + {% endfor %} +
SystemSlotTG#StatusTimeoutTimeout ActionConnect TG#Disconnect TG#
{{ system }}{{ _table['BRIDGES'][_bridge][system]['TS'] }}{{ _table['BRIDGES'][_bridge][system]['TGID'] }}{{ _table['BRIDGES'][_bridge][system]['ACTIVE'] }}{{ _table['BRIDGES'][_bridge][system]['EXP_TIME'] }}{{ _table['BRIDGES'][_bridge][system]['TO_ACTION'] }}{{ _table['BRIDGES'][_bridge][system]['TRIG_ON'] }}{{ _table['BRIDGES'][_bridge][system]['TRIG_OFF'] }}
+{% endfor %} + {% endif %} +
+