blob: ebc4de56fec85469d852d476b862945b7ced5057 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<meta name=viewport content="width=device-width,minimum-scale=1,maximum-scale=1">
<title>Open Go Code Reviews</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font: 13px monospace;
padding: 1rem;
}
h3 {
padding: 10px 0 0;
}
h3:first-of-type {
padding: 0
}
a:link,
a:visited {
color: #00c;
}
header {
border-bottom: 1px solid #666;
margin-bottom: 10px;
padding-bottom: 10px;
}
.header-subtitle {
color: #666;
font-size: .9em;
}
.row {
display: flex;
white-space: nowrap;
}
.date {
min-width: 6rem;
}
.owner {
min-width: 10rem;
max-width: 10rem;
overflow: hidden;
text-overflow: ellipsis;
padding-right: 1em;
}
.change {
overflow: hidden;
text-overflow: ellipsis;
}
</style>
<body>
<header>
<strong>{{.TotalChanges}} open changes</strong>
<div class="header-subtitle">
Excluding those with “DO NOT REVIEW” and “DO NOT SUBMIT” in the change description
</div>
<div class="header-subtitle">
<a href="https://go.googlesource.com/build/+/master/devapp/reviews.go">Source code</a>
</div>
</header>
{{range $p := .Projects}}
{{if .Changes}}
<h3>{{.Project}}</h3>
{{range .Changes}}
<div class="row">
<div class="date">{{.FormattedLastUpdate}}</div>
<a class="owner" href="?owner={{.OwnerName}}">{{.OwnerName}}</a>
<span class="change">
<a href="https://{{$p.ReviewServer}}/{{.Number}}" target="_blank">{{.Number}}</a>
{{.Subject}}
</span>
</div>
{{end}}
{{end}}
{{end}}