{% block stylesheet %}{% endblock %} {% macro green_if_true(cond) -%} {% if cond %}
{{ cond }}
{% else %}
{{ cond }}
{% endif %} {%- endmacro %}
{% include 'layouts/header.html' %}
{% for host, node_names, node in rpc.client_instances() %} {% if node.is_online() %} {% set info = node.get_info() %} {% else %} {% endif %} {% endfor %}
Type Host Hosted nodes Status Block head Wallet open Wallet unlocked Block production enabled
{% set node_type = node.bts_type() %} {% if node_type %} {% if node.is_online() %}
{% else %}
{% endif %} {{ node.bts_type() }}
{% endif %}
{{ host }} {{ node_names|join(', ') }}
online
{% if node.is_synced() %}
{% else %}
{% endif %} {{ node.get_info()['blockchain_head_block_num'] }}
{{ green_if_true(info['wallet_open']) }} {{ green_if_true(info['wallet_unlocked']) }} {{ green_if_true(info['wallet_block_production_enabled']) }}
{{ node.status() }}
{% block content %} {% endblock %}
{% include 'layouts/footer.html' %} {% block scripts %}{% endblock %}