{$t('proxies.title')} - {$t('app.name')}
{#if loading}
{#each Array(3) as _} {/each}
{:else if routes.length === 0} {:else}
{#each [ { value: 'all' as const, label: $t('proxies.filterAll'), count: counts.all }, { value: 'instance' as const, label: $t('proxies.filterContainers'), count: counts.instance }, { value: 'static_site' as const, label: $t('proxies.filterSites'), count: counts.static_site }, ] as opt} {/each}
{#each filtered as route (route.source + ':' + route.instance_id)} {/each}
{$t('proxies.domain')} {$t('proxies.source')} {$t('proxies.project')} {$t('proxies.stage')} {$t('proxies.tag')} {$t('proxies.port')} {$t('proxies.status')} {$t('proxies.actions')}
{#if route.domain} {route.domain} {:else} {route.subdomain || '—'} {/if} {sourceLabel(route)} {route.project_name} {route.stage_name || '—'} {#if route.image_tag} {route.image_tag} {:else} {/if} {route.port > 0 ? route.port : '—'} {#if route.project_id} {$t('proxies.viewTriggers')} {:else} {/if}
{#if filtered.length === 0}

{$t('proxies.noMatch')}

{/if}

{filtered.length} {filtered.length === 1 ? $t('proxies.route') : $t('proxies.routes')}

{/if}