{%- if dirty_count -%}
{{ dirty_count }} unsaved change{{ 's' if dirty_count != 1 else '' }}
{%- endif -%}
{# Stale banner #}
{% if stale %}
Config changed externally since you started editing. Unsaved changes may be lost.
Reload
{% endif %}
{# Server Settings #}
Server Settings
{# Execution card #}
Execution
{% for f in schema %}
{% if f.path in ['execution.max_concurrent', 'execution.shutdown_timeout', 'execution.conversation_max_age_days', 'execution.image_prune'] %}
{% include "components/config/field.html" %}
{% endif %}
{% endfor %}
{# Dashboard card #}
Dashboard
{% for f in schema %}
{% if f.path in ['dashboard.enabled', 'dashboard.host', 'dashboard.port', 'dashboard.base_url'] %}
{% include "components/config/field.html" %}
{% endif %}
{% endfor %}
{# Network card #}
Network
{% for f in schema %}
{% if f.path in ['network.upstream_dns'] %}
{% include "components/config/field.html" %}
{% endif %}
{% endfor %}
{# Variables section #}
Variables
Shared values referenced as variables in field values.
{% include "components/config/vars.html" %}
{# Repositories section #}
Repositories
{% if repos %}
{% for repo in repos %}
{{ repo.id }}
{% for ch in repo.channels %}
{{ ch }}
{% endfor %}
· model: {{ repo.model }}