mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2025-05-28 20:22:28 -04:00
updated display peers
This commit is contained in:
parent
8caaf1b991
commit
9c2c41d2da
@ -116,6 +116,15 @@
|
|||||||
<div style="text-align:left;font:9.5pt arial, sans-serif;font-weight:bold;margin-left:25px; margin-right:25px;line-height:1.6;white-space:normal;">
|
<div style="text-align:left;font:9.5pt arial, sans-serif;font-weight:bold;margin-left:25px; margin-right:25px;line-height:1.6;white-space:normal;">
|
||||||
{% for _peer, _pdata in _table['PEERS'].items() %}
|
{% for _peer, _pdata in _table['PEERS'].items() %}
|
||||||
<span class="tooltip" style="border-bottom: 1px dotted white;{{'background-color:#98FB98; color:#464646;' if _table['PEERS'][_peer]['STATS']['CONNECTION'] == 'YES' else 'background-color:#ff0000; color:white;'}}"><b> {{_peer}} </b>
|
<span class="tooltip" style="border-bottom: 1px dotted white;{{'background-color:#98FB98; 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>
|
||||||
|
{% else %}
|
||||||
|
<span class="tooltiptext" style="top:120%;left:50%;margin-left:-70%;width:100px;">
|
||||||
|
<center> <b><font color=white>Disconnected</font> </center>
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user