go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/milo/frontend/templates/widgets/related_builds_table.html (about)

     1  {{ define "base" }}
     2    {{ $now := .RelatedBuildsTable.Now }}
     3    <table class="info">
     4      <tr>
     5        <th>Project</th>
     6        <th>Bucket</th>
     7        <th>Builder</th>
     8        <th>Build</th>
     9        <th>Status</th>
    10        <th>Create Time</th>
    11        <th>Pending</th>
    12        <th>Duration</th>
    13        <th>Summary</th>
    14      </tr>
    15  
    16      {{ range .RelatedBuildsTable.RelatedBuilds }}
    17      <tr>
    18        <td>{{ .Builder.Project }}</td>
    19        <td>{{ .Builder.Bucket }}</td>
    20        <td>{{ .BuilderLink.HTML }}</td>
    21        <td>{{ .Link.HTML }}</td>
    22        <td class="status {{ .Status }}">{{ .HumanStatus }}</td>
    23        <td>{{ .CreateTime | toTime | localTime "N/A" }}</td>
    24        <td>{{ duration .CreateTime .StartTime $now }}</td>
    25        <td>{{ duration .StartTime .EndTime $now }}</td>
    26        <td>{{ .SummaryMarkdown | renderMarkdown }}</td>
    27      </tr>
    28      {{ end }}
    29    </table>
    30  {{end}}