{# Read-only settings pages: panels of label/value rows. #} {% macro panel(title, subtitle=None) %}

{{ title }}

{% if subtitle %}

{{ subtitle }}

{% endif %}
{{ caller() }}
{% endmacro %} {% macro row(label, value) %}
{{ label }}
{{ value }}
{% endmacro %} {% macro yes_no(value) %}{{ "Yes" if value else "No" }}{% endmacro %} {% macro is_set(value) %}{{ "Set" if value else "Not set" }}{% endmacro %} {% macro text(body) %}

{{ body }}

{% endmacro %} {# Where the applications' settings below come from. #} {% macro file_source(file) %} {% if file.error %}
The configuration file could not be read: {{ file.error }}
{% elif file.path %}

From {{ file.path }}, as the applications read it with NeoZenFactory. Edit the file to change them.

{% else %}

No neozen.toml found from the console's working directory, so there is nothing to show. Applications configured in code don't appear here.

{% endif %} {% endmacro %}