mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2025-05-28 20:22:26 -04:00
Don't show bridges when array entry empty
This commit is contained in:
parent
8d489fc18b
commit
f5551a4bfc
@ -1,3 +1,4 @@
|
|||||||
|
{% if _table|length >0 %}
|
||||||
<fieldset style="background-color:#e0e0e0e0;margin-left:15px;margin-right:15px;font-size:14px;border-top-left-radius: 10px; border-top-right-radius: 10px;border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;">
|
<fieldset style="background-color:#e0e0e0e0;margin-left:15px;margin-right:15px;font-size:14px;border-top-left-radius: 10px; border-top-right-radius: 10px;border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;">
|
||||||
<legend><b><font color="#000"> .: Bridge status :. </font></b></legend>
|
<legend><b><font color="#000"> .: Bridge status :. </font></b></legend>
|
||||||
{% for _bridge, _bridge_data in _table.items() %}
|
{% for _bridge, _bridge_data in _table.items() %}
|
||||||
@ -38,3 +39,4 @@
|
|||||||
</table>
|
</table>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user