1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:14:41 -07:00

dashboard: include package.html

This was omitted from the original commit.

R=rsc
CC=golang-dev
https://golang.org/cl/554043
This commit is contained in:
Andrew Gerrand 2010-03-16 09:05:09 +11:00
parent 226c2ec256
commit 6129dbbee4

View File

@ -0,0 +1,91 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Go packages</title>
<style>
h1 {
font-size: 1em;
font-weight: bold;
}
h2 {
font-size: 1em;
font-weight: bold;
}
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: #f8f8f8;
}
td.revision {
}
span.hash {
font-family: monospace;
font-size: small;
color: #aaa;
}
span.nodeseq {
}
td.user {
font-size: small;
}
td.date {
color: #aaa;
font-size: small;
}
td.result {
text-align: center;
}
span.ok {
}
td.desc {
font-size: small;
font-family: sans-serif;
}
th.builder {
font-weight: bold;
padding-right: 0.5em;
}
</style>
</head>
<body>
<h1>Go packages</h1>
<a href="/">build status</a>
<br><br>
(Packages listed on this page are written by third parties and
may or may not build or be safe to use.)
<h2>Recently Installed Packages</h2>
<table class="alternate" cellpadding="0" cellspacing="0">
<tr><th>last install</th><th>count</th><th>path</th></tr>
{% for r in by_time %}
<tr>
<td class="time">{{r.last_install}}</td>
<td class="count">{{r.count}}</td>
<td class="path"><a href="{{r.web_url}}">{{r.path}}</a></td>
</tr>
{% endfor %}
</table>
<h2>Most Installed Packages</h2>
<table class="alternate" cellpadding="0" cellspacing="0">
<tr><th>last install</th><th>count</th><th>path</th></tr>
{% for r in by_count %}
<tr>
<td class="time">{{r.last_install}}</td>
<td class="count">{{r.count}}</td>
<td class="path"><a href="{{r.web_url}}">{{r.path}}</a></td>
</tr>
{% endfor %}
</table>
</body>
</html>