mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-09-20 01:04:15 +00:00
21 lines
812 B
HTML
21 lines
812 B
HTML
{{define "partials/scan_backfill_progress.html"}}
|
|
<div hx-get="/admin/api/scan-backfill/status"
|
|
hx-trigger="load delay:1s"
|
|
hx-swap="outerHTML"
|
|
class="alert alert-info">
|
|
<span class="loading loading-spinner loading-sm" aria-hidden="true"></span>
|
|
<div class="text-sm">
|
|
<p class="font-medium">Backfilling scan records...</p>
|
|
{{ if .Current }}
|
|
<p class="text-base-content/70 mt-1">
|
|
Scanned <span class="font-mono">{{ .Current.Scanned }}</span> records ·
|
|
rewrites: <span class="font-mono">{{ .Current.Rewritten }}</span>
|
|
({{ .Current.MarkedSkipped }} skipped, {{ .Current.MarkedFailed }} failed)
|
|
</p>
|
|
{{ else }}
|
|
<p class="text-base-content/70 mt-1">Starting...</p>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{end}}
|