1
0
mirror of https://github.com/golang/go synced 2024-11-22 22:20:03 -07:00
go/misc/dashboard/godashboard/main.html
Adam Langley d635d846f4 Add builder scripts.
These are the scripts behind godashboard.appspot.com. Nothing is
particularly beautiful about it, but it does run.

I still need to add support for per-builder keys and for running the
benchmarks.

R=rsc
CC=golang-dev
https://golang.org/cl/183153
2010-01-07 18:45:45 -08:00

85 lines
1.8 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Go build</title>
<style>
td.revision {
font-family: monospace;
}
table.alternate {
white-space: nowrap;
}
table.alternate tr td {
padding-right: 10px;
}
table.alternate tr td:last-child {
padding-right: 0;
}
table.alternate tr:nth-child(2n) {
background-color: #eef;
}
td.user {
font-family: monospace;
}
td.date {
font-size: 0.8em;
}
td.result {
text-align: center;
}
td.desc {
font-size: 0.9em;
font-family: sans-serif;
}
th.builder {
font-variant: small-caps;
font-size: 1.2em;
color: #966;
padding-right: 1em;
}
span.ok {
color: green;
}
</style>
</head>
<body>
<table class="alternate" cellpadding="0" cellspacing="0">
<tr>
{% for b in builders %}
<th class="builder">{{b}}</th>
{% endfor %}
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
{% for r in revs %}
<tr>
{% for b in r.builds %}
<td class="result">
{% if b.ok %}
<span class="ok"></span>
{% else %}
{% if b.log %}
<a href="/log/{{b.log}}">failed</a>
{% else %}
<span/>
{% endif %}
{% endif %}
</td>
{% endfor %}
<td class="revision"><a href="https://code.google.com/p/go/source/detail?r={{r.node}}">{{r.node|slice:":12"}}</a></td>
<td class="user">{{r.user|escape}}</td>
<td class="date">{{r.date|escape}}</td>
<td class="desc">{{r.desc|escape}}</td>
</tr>
{% endfor %}
</table>
</body>
</html>