mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-23 08:18:41 -05:00
43 lines
1.8 KiB
HTML
43 lines
1.8 KiB
HTML
{% 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;">
|
|
<legend><b><font color="#000"> .: Bridge status :. </font></b></legend>
|
|
{% for _bridge, _bridge_data in _table.items() %}
|
|
<table style="width:100%; font: 10pt arial, sans-serif">
|
|
<colgroup>
|
|
<col style="width: 10%" />
|
|
<col style="width: 5%" />
|
|
<col style="width: 5%" />
|
|
<col style="width: 10%" />
|
|
<col style="width: 10%" />
|
|
<col style="width: 10%" />
|
|
<col style="width: 20%" />
|
|
<col style="width: 30%" />
|
|
</colgroup>
|
|
<h4 align="left">{{ _bridge }}</h4>
|
|
<tr style="width:100%; font: 10pt arial, sans-serif; background-color:#6A7D8E; color:white">
|
|
<th>System</th>
|
|
<th>Slot</th>
|
|
<th>TG#</th>
|
|
<th>Status</th>
|
|
<th>Timeout</th>
|
|
<th>Timeout Action</th>
|
|
<th>Connect TG#</th>
|
|
<th>Disconnect TG#</th>
|
|
</tr>
|
|
{% for system, _system_data in _table[_bridge].items() %}
|
|
<tr style="background-color:#f9f9f9f9;">
|
|
<td>{{ system }}</td>
|
|
<td>{{ _table[_bridge][system]['TS'] }}</td>
|
|
<td>{{ _table[_bridge][system]['TGID'] }}</td>
|
|
<td style="background-color:#{{ _table[_bridge][system]['BGCOLOR'] }}; color:#{{ _table[_bridge][system]['COLOR'] }}">{{ _table[_bridge][system]['ACTIVE'] }}</td>
|
|
<td>{{ _table[_bridge][system]['EXP_TIME'] }}</td>
|
|
<td>{{ _table[_bridge][system]['TO_ACTION'] }}</td>
|
|
<td>{{ _table[_bridge][system]['TRIG_ON'] }}</td>
|
|
<td>{{ _table[_bridge][system]['TRIG_OFF'] }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endfor %}
|
|
</fieldset>
|
|
{% endif %}
|