blob: 1e70bef422ee699ce58692456919afddf206a152 [file] [log] [blame]
Copyright 2019 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
{{define "versionTable"}}
{{if .}}
<th>Module Version</th>
<th>Index Timestamp</th>
{{range .}}
<td>{{.IndexTimestamp | timefmt}}</td>
<td>{{.LastProcessedAt | timefmt}}</td>
<td>{{.NextProcessedAfter | timefmt}}</td>
<p>No versions.</p>
{{end -}}
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<link href="/static/worker/worker.min.css" rel="stylesheet">
<title>{{.Env}} Worker</title>
<h1>{{.Env}} Worker</h1>
<p>All times in America/New_York.</p>
<p><a href="/">Home</a></p>
<p>Latest timestamp from the module index: {{.LatestTimestamp | timefmt}}</p>
<p>Results by status:</p>
{{range .Counts}}
<h3>Recent versions:</h3>
{{template "versionTable" .Recent}}
<h3>Next versions to process:</h3>
{{template "versionTable" .Next}}
<h3>Recent failed attempts:</h3>
{{template "versionTable" .RecentFailures}}