mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2025-04-21 02:38:47 -04:00
html code updated
This commit is contained in:
parent
d785bc38ba
commit
abd5dcc086
@ -64,7 +64,7 @@
|
||||
{% set rx.value=1 %}
|
||||
{% endfor %}
|
||||
{% if rx.value == 1 %}
|
||||
<tr style="background-color:#f9f9f9f9;line-height:1.5;">
|
||||
<tr style="background-color:#f9f9f9f9;line-height:1.6;">
|
||||
<td style="font-weight:bold; padding-left: 20px; text-align:left;"> {{ _openbridge}} </td>
|
||||
<td colspan=2 style="background-color:#f9f9f9f9; font: 9pt arial, sans-serif; font-weight: 600; color:#464646;">
|
||||
{% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS'] if _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] == 'RX' %}[<span style="color:#008000;">{{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }}</span>: <font color=#0065ff> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }}</font> >> <font color=#b5651d> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][2] }}</font>] {% endfor %}
|
||||
@ -117,12 +117,12 @@
|
||||
{% for _peer, _pdata in _table['PEERS'].items() %}
|
||||
<span class="tooltip" style="border-bottom: 1px dotted white;{{'background-color:#8ecfb4; color:#464646;' if _table['PEERS'][_peer]['STATS']['CONNECTION'] == 'YES' else 'background-color:#ff0000; color:white;'}}"><b> {{_peer}} </b>
|
||||
{% if _table['PEERS'][_peer]['STATS']['CONNECTION'] == 'YES' %}
|
||||
<span class="tooltiptext" style="top:120%;left:50%;margin-left:-70%;width:100px;">
|
||||
<center> <font color=white>Connected</font> </center>
|
||||
<span class="tooltiptext" style="top:120%;left:50%;margin-left:-70%;width:100px;padding: 2px 0;">
|
||||
<center><font color=white>Connected</font></center>
|
||||
</span>
|
||||
{% else %}
|
||||
<span class="tooltiptext" style="top:120%;left:50%;margin-left:-70%;width:100px;">
|
||||
<center> <b><font color=white>Disconnected</font> </center>
|
||||
<span class="tooltiptext" style="top:120%;left:50%;margin-left:-70%;width:100px;padding: 2px 0;">
|
||||
<center><b><font color=white>Disconnected</font></center>
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user