{% extends "base.html" %} {% block title %}Replicas — pngx-controller{% endblock %} {% block content %}

Replicas

{% if replicas %}
{% for r in replicas %} {% endfor %}
Name URL Enabled Interval Last Sync Actions
{{ r.name }} {{ r.url }} {% if r.enabled %}✅{% else %}⛔{% endif %} {% if r.sync_interval_seconds %}{{ r.sync_interval_seconds }}s{% else %}global{% endif %} {% if r.last_sync_ts %}{{ r.last_sync_ts.strftime('%Y-%m-%d %H:%M') }}{% else %}never{% endif %} {% if r.suspended_at %}
suspended · {{ r.consecutive_failures }} failures {% endif %}
Detail {% if r.suspended_at %} {% endif %}
{% else %}

No replicas yet.

{% endif %}

Add Replica

{% if env_replicas %}
From pngx.env — {{ env_replicas|length }} not yet added
{% for er in env_replicas %} {% set er_name = er.safe | lower | replace('_', '-') %} {% endfor %}
{% endif %}

Edit Replica

{% endblock %}