- config: PULP_* env + 사내 CA(verify=) 대응 - pulp_client: Basic Auth get/post/patch, status/list_repos/get_version - BFF 라우트: GET / (대시보드), GET /repos (조각), GET /healthz - views: Pulp JSON → 표시 모델 (GPG 검증 배지 3단계, 요약 집계) - HTMX + Jinja 템플릿, vendored pico.css/htmx.js (CDN 의존 0) - 브라우저는 Pulp 직접 호출 안 함 — 모두 BFF 경유 (스펙 §2) - 테스트: pulp_client(respx), 라우트(dependency_overrides), views 순수함수 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
22 lines
598 B
HTML
22 lines
598 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<section>
|
|
<h2>상태</h2>
|
|
<!-- 로드 시 1회 + 10초마다 Pulp 연결 상태 폴링 -->
|
|
<div hx-get="/healthz" hx-trigger="load, every 10s" hx-swap="innerHTML" style="margin-top:12px;">
|
|
<span class="status-line status-loading">연결 확인 중…</span>
|
|
</div>
|
|
</section>
|
|
|
|
<section>
|
|
<div class="section-head">
|
|
<h2>저장소</h2>
|
|
<button hx-get="/repos" hx-target="#repo-list" hx-swap="outerHTML" class="secondary">
|
|
새로고침
|
|
</button>
|
|
</div>
|
|
{% include "partials/repo_list.html" %}
|
|
</section>
|
|
{% endblock %}
|