Files
pulp-console/app/templates/partials/version_list.html
Hyemin Lee 15bb0994be style: mono data font, compact actions, polish, favicon; slow status poll to 30s
- JetBrains Mono(로컬 동봉) → 저장소명/버전/패키지수/시각 등 영문·숫자 데이터에 적용
- 동기화/배포 버튼 컴팩트(btn-sm) + 액션 셀 높이 고정(row-action)으로 행 점프 제거
- 표 행 높이/hover, 요약 카드 강조(동기화중=blue, GPG통과=mint) + hover, 버튼 누름 피드백
- 연결 상태 폴링 10s → 30s
- SVG favicon (Toss blue 라운드 사각 + 스냅샷 레이어)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 13:53:49 +09:00

47 lines
1.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div id="version-list" class="table-card"{% if oob %} hx-swap-oob="true"{% endif %}>
{% if versions %}
<table>
<thead>
<tr>
<th class="num">버전</th>
<th>생성일시</th>
<th class="num">패키지</th>
<th class="num">증감</th>
<th>검증</th>
<th>배포 상태</th>
<th></th>
</tr>
</thead>
<tbody>
{% for v in versions %}
<tr>
<td class="num">v{{ v.number }}</td>
<td class="mono">{{ v.created or "—" }}</td>
<td class="num">{{ v.package_count }}</td>
<td class="num">
{%- if v.added %}<span class="delta-add">+{{ v.added }}</span>{% endif -%}
{%- if v.removed %} <span class="delta-del">{{ v.removed }}</span>{% endif -%}
{%- if not v.added and not v.removed %}—{% endif -%}
</td>
<td>{% if v.gpg %}<span class="badge badge-{{ v.gpg.level }}">{{ v.gpg.label }}</span>{% endif %}</td>
<td>{% if v.is_deployed %}<span class="badge badge-deployed">운영 배포 중</span>{% endif %}</td>
<td>
{% if v.is_deployed %}
{# 배포 상태 칸에 배지 표시 #}
{% elif v.deployable %}
<button class="secondary btn-sm"
hx-get="/repos/{{ uuid }}/deploy/confirm?version_href={{ v.href | urlencode }}"
hx-target="#modal" hx-swap="innerHTML">이 버전 배포</button>
{% else %}
<button class="secondary btn-sm" disabled title="검증을 통과하지 못해 배포할 수 없습니다">이 버전 배포</button>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p style="padding:16px;">버전이 없습니다. 먼저 동기화를 실행하세요.</p>
{% endif %}
</div>