{{/* Copyright 2024 The Chromium Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */}} {{define "content"}} {{$outdirRel:=.outdirRel}} {{$outdirRevBaseURL:=.outdirRevBaseURL}} {{$currentURL:=.currentURL}} {{$currentRev:=.currentRev}} {{$buildDuration:=.buildDuration}}
|
Output
Rule
|
Remote | {{if .sortSupported}} {{$sortReadyAsc := or (urlParamEq $currentURL "sort" "readyAsc") (not (urlParamIsSet $currentURL "sort"))}} {{$sortReadyDsc := urlParamEq $currentURL "sort" "readyDsc"}} {{$sortDurationAsc := urlParamEq $currentURL "sort" "durationAsc"}} {{$sortDurationDsc := urlParamEq $currentURL "sort" "durationDsc"}} {{$sortCompletionAsc := urlParamEq $currentURL "sort" "completionAsc"}} {{$sortCompletionDsc := urlParamEq $currentURL "sort" "completionDsc"}}
|
|
|
{{else}}
Ready | Duration | Completion | {{end}}Timeline |
|---|---|---|---|---|---|---|---|---|
|
{{trimPrefix .Output (printf "%s/" $outdirRel)}}
{{.Rule}}
{{.Action}}
|
{{if .IsLocal}}
{{/* Keep this empty branch. It's easier to read than multiple AND conditions. */}}
{{else if and (not .Cached) (not .NoExec)}}
|
{{formatIntervalMetricTimestamp .Ready}} | {{formatIntervalMetricHuman .Duration}} | {{formatIntervalMetricTimestamp (addIntervals .Ready .Duration)}} |