{% extends "base.html" %} {% block head %}{% endblock %} {% block content %} {% macro setting_row(s) %}
{% if s.help %}

{{ s.help }}

{% endif %} {% if s.forced %}

Set by {{ s.env_name }}, not editable here.

{% endif %}
{% if s.is_bool %} {% elif s.supports_inf %}
{% elif s.slider_max is not none %}
{% else %} {% endif %}
{% endmacro %} {% set groups = [ ("Building and display", "Whether this node builds blocks, when it holds back, and what the odds page shows.", ["mining_enabled", "draw_window_seconds", "min_odds_pct", "show_hardware_details"]), ("Privacy and publishing", "What this node shows publicly and writes into the chain.", ["hide_address_publicly", "publish_machine"]), ] %} {% set grouped = groups|map(attribute=2)|sum(start=[]) %}

Settings

{% if alert_ok %}
{{ alert_ok }}
{% endif %} {% if alert_err %}
{{ alert_err }}
{% endif %}
{% for title, blurb, keys in groups %}

{{ title }}

{{ blurb }}

{% for s in settings if s.key in keys %}{{ setting_row(s) }}{% endfor %}
{% endfor %} {% set rest = settings|rejectattr("key", "in", grouped)|list %} {% if rest %}

Other

{% for s in rest %}{{ setting_row(s) }}{% endfor %}
{% endif %}
Changes apply on the next read, no restart needed.
{% endblock %}