check / check (push) Successful in 3m23s
Each attempt shows when it was recorded and each delivery when it was created, in the event log and on the event's page. The event log's event times read as the recent events list does: how long ago, with the full UTC time on hover. A delivery records whether Replay created it, in a new replay column added to the delivery model in place. Such a delivery is labelled a replay in the event's summary line and in both pages' delivery lists. Both pages draw a delivery's row from one shared template. Model: opus-5-5
17 lines
1.1 KiB
HTML
17 lines
1.1 KiB
HTML
{{define "delivery_row"}}
|
|
<!-- The line that heads a delivery, as handlers.DeliveryView holds it:
|
|
in the event log, inside the button that shows its attempts, and on
|
|
an event's own page. Spans only, since a button may hold no div. -->
|
|
<span class="flex flex-1 flex-wrap items-center justify-between gap-3">
|
|
<span class="flex flex-wrap items-center gap-3">
|
|
<span class="text-sm text-gray-700">{{.Target.DisplayName}}</span>
|
|
{{if .Replay}}<span class="text-xs text-gray-500">replay</span>{{end}}
|
|
<span class="text-xs {{if eq .Status "delivered"}}text-green-600{{else if eq .Status "failed"}}text-red-600{{else if eq .Status "retrying"}}text-yellow-600{{else}}text-gray-400{{end}}">{{with .Paused}}waiting: target paused after repeated failures, next try no earlier than {{.Until}} ({{.Relative}}){{else}}{{.Status}}{{end}}</span>
|
|
</span>
|
|
<span class="flex flex-wrap items-center gap-3">
|
|
<span class="text-xs text-gray-400" title="{{.CreatedUTC}}">created {{.Created}}</span>
|
|
<span class="text-xs text-gray-400">{{.AttemptCount}} attempt{{if ne .AttemptCount 1}}s{{end}}</span>
|
|
</span>
|
|
</span>
|
|
{{end}}
|