]> Cypherpunks.ru repositories - gocheese.git/blob - hr-pkg.tmpl
2f1590ddb9f6c6d2a7a805000ee1ea6a8e5d3f8b
[gocheese.git] / hr-pkg.tmpl
1 `<!DOCTYPE html>
2 <html>
3   <head>
4     <title>{{.Version}}: package {{.PkgName}}</title>
5   </head>
6   <body>
7     <dl>
8       {{with .Info.Name}}<dt>Name</dt><dd>{{.}}</dd>{{end}}
9       {{with .Info.Version}}<dt>Version</dt><dd>{{.}}</dd>{{end}}
10
11       {{with .Info.Platform}}<dt>Platform</dt><dd><ul>
12       {{range .}}<li>{{.}}</li>
13       {{end}}</ul></dd>{{end}}
14
15       {{with .Info.SupportedPlatform}}<dt>SupportedPlatform</dt><dd><ul>
16       {{range .}}<li>{{.}}</li>
17       {{end}}</ul></dd>{{end}}
18
19       <dt>Summary</dt><dd>{{.Info.Summary}}</dd>
20       <dt>Description</dt><dd><pre>
21 {{.Info.Description}}
22       </pre></dd>
23
24       {{with .Info.DescriptionContentType}}<dt>DescriptionContentType</dt><dd>{{.}}</dd>{{end}}
25       {{with .Info.Keywords}}<dt>Keywords</dt><dd>{{.}}</dd>{{end}}
26       {{with .Info.HomePage}}<dt>HomePage</dt><dd>{{.}}</dd>{{end}}
27       {{with .Info.Author}}<dt>Author</dt><dd>{{.}}</dd>{{end}}
28       {{with .Info.AuthorEmail}}<dt>AuthorEmail</dt><dd>{{.}}</dd>{{end}}
29       {{with .Info.Maintainer}}<dt>Maintainer</dt><dd>{{.}}</dd>{{end}}
30       {{with .Info.MaintainerEmail}}<dt>MaintainerEmail</dt><dd>{{.}}</dd>{{end}}
31       {{with .Info.License}}<dt>License</dt><dd>{{.}}</dd>{{end}}
32
33       {{with .Info.Classifier}}<dt>Classifier</dt><dd><ul>
34       {{range .}}<li>{{.}}</li>
35       {{end}}</ul></dd>{{end}}
36
37       {{with .Info.RequiresDist}}<dt>RequiresDist</dt><dd><ul>
38       {{range .}}<li>{{.}}</li>
39       {{end}}</ul></dd>{{end}}
40
41       {{with .Info.RequiresPython}}<dt>RequiresPython</dt><dd>{{.}}</dd>{{end}}
42
43       {{with .Info.RequiresExternal}}<dt>RequiresExternal</dt><dd><ul>
44       {{range .}}<li>{{.}}</li>
45       {{end}}</ul></dd>{{end}}
46
47       {{with .Info.ProjectURL}}<dt>ProjectURL</dt><dd><ul>
48       {{range .}}<li>{{.}}</li>
49       {{end}}</ul></dd>{{end}}
50
51       {{with .Info.ProvidesExtra}}<dt>ProvidesExtra</dt><dd><ul>
52       {{range .}}<li>{{.}}</li>
53       {{end}}</ul></dd>{{end}}
54     </dl>
55
56     <h2>Releases</h2>
57     <table border=1>
58     <tr>
59       <th>Filename</th>
60       <th>Version</th>
61       <th>Uploaded</th>
62       <th>Size</th>
63       <th>Digests</th>
64     </tr>
65     {{range .Releases}}{{if .Size}}
66     <tr>
67       <td>{{.Filename}}</th>
68       <td>{{.Version}}</th>
69       <td>{{.UploadTimeISO8601}}</th>
70       <td>{{.Size}}</th>
71       <td><ul>{{range $a, $d := .Digests}}
72         <li>{{$a}}: <tt>{{$d}}</tt></li>
73       {{end}}</ul></td>
74     </tr>{{end}}{{end}}
75     </table>
76   </body>
77 </html>