diff --git a/templates/sn.html b/templates/sn.html index 8a9b6e9..aeeb734 100644 --- a/templates/sn.html +++ b/templates/sn.html @@ -70,6 +70,15 @@ {%endif%} + + + {%if sn.last_uptime_proof == 0%} + Not received + {%else%} + {{sn.service_node_version[0]}}.{{sn.service_node_version[1]}}.{{sn.service_node_version[2]}} + {%endif%} + + {%if sn.last_uptime_proof == 0%} @@ -79,13 +88,30 @@ {%endif%} - - - {%if sn.last_uptime_proof == 0%} - Not received - {%else%} - {{sn.service_node_version[0]}}.{{sn.service_node_version[1]}}.{{sn.service_node_version[2]}} - {%endif%} + {%if info.service_node%}{# SN tests are only conducted by SNs #} + + Storage server: + {%if sn.storage_server_reachable_timestamp == 0%} + Not yet tested + {%else%} + {%if sn.storage_server_reachable%}Reachable{%else%}Not reachable{%endif%} + (as of {{sn.last_uptime_proof | from_timestamp | ago}} ago) + {%endif%} + + {%endif%} + + {%set pulse_voted = sn.pulse_participation | selectattr("voted") | list | length%} + {%set pulse_total = sn.pulse_participation | length%} + + = 8 and pulse_voted < 4%} class="omg warning"{%endif%}>Pulse votes: + {{pulse_voted}} / {{pulse_total}} + + + {%set cp_voted = sn.checkpoint_participation | selectattr("voted") | list | length%} + {%set cp_total = sn.checkpoint_participation | length%} + + = 8 and cp_voted < 4%} class="omg warning"{%endif%}>Checkpoint votes: + {{cp_voted}} / {{cp_total}}