LEFT | RIGHT |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Go Build Dashboard</title> | 4 <title>Go Build Dashboard</title> |
5 <style> | 5 <style> |
6 body { | 6 body { |
7 font-family: sans-serif; | 7 font-family: sans-serif; |
8 padding: 0; margin: 0; | 8 padding: 0; margin: 0; |
9 } | 9 } |
10 h1, h2 { | 10 h1, h2 { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 <th> </th> | 65 <th> </th> |
66 {{range $.Builders}} | 66 {{range $.Builders}} |
67 <th class="result">{{builderTitle .}}</th> | 67 <th class="result">{{builderTitle .}}</th> |
68 {{end}} | 68 {{end}} |
69 </tr> | 69 </tr> |
70 {{range $c := $.Commits}} | 70 {{range $c := $.Commits}} |
71 <tr> | 71 <tr> |
72 <td class="hash"><a href="{{repoURL .Hash ""}}">{{shortHash .Hash}}</a></t
d> | 72 <td class="hash"><a href="{{repoURL .Hash ""}}">{{shortHash .Hash}}</a></t
d> |
73 {{range $.Builders}} | 73 {{range $.Builders}} |
74 <td class="result"> | 74 <td class="result"> |
75 {{with $c.GetResult . ""}} | 75 {{with $c.Result . ""}} |
76 {{if .OK}} | 76 {{if .OK}} |
77 <span class="ok">ok</span> | 77 <span class="ok">ok</span> |
78 {{else}} | 78 {{else}} |
79 <a href="/log/{{.LogHash}}" class="fail">fail</a> | 79 <a href="/log/{{.LogHash}}" class="fail">fail</a> |
80 {{end}} | 80 {{end}} |
81 {{else}} | 81 {{else}} |
82 | 82 |
83 {{end}} | 83 {{end}} |
84 </td> | 84 </td> |
85 {{end}} | 85 {{end}} |
86 <td class="user">{{.User}}</td> | 86 <td class="user">{{.User}}</td> |
87 <td class="time">{{timeString .Time}}</td> | 87 <td class="time">{{.Time.Time}}</td> |
88 <td class="desc">{{.Desc}}</td> | 88 <td class="desc">{{.Desc}}</td> |
89 </tr> | 89 </tr> |
90 {{end}} | 90 {{end}} |
91 </table> | 91 </table> |
92 | 92 |
93 {{with $.Pagination}} | 93 {{with $.Pagination}} |
94 <div class="paginate"> | 94 <div class="paginate"> |
95 <a {{if .HasPrev}}href="?page={{.Prev}}"{{else}}class="inactive"{{end}}>pr
ev</a> | 95 <a {{if .HasPrev}}href="?page={{.Prev}}"{{else}}class="inactive"{{end}}>pr
ev</a> |
96 <a {{if .Next}}href="?page={{.Next}}"{{else}}class="inactive"{{end}}>next<
/a> | 96 <a {{if .Next}}href="?page={{.Next}}"{{else}}class="inactive"{{end}}>next<
/a> |
97 <a {{if .HasPrev}}href="?page=0}"{{else}}class="inactive"{{end}}>top</a> | 97 <a {{if .HasPrev}}href="?page=0}"{{else}}class="inactive"{{end}}>top</a> |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 on {{.Builder}}/<a href="{{repoURL .GoHash ""}}">{{shortHash .GoHash}}
</a> | 129 on {{.Builder}}/<a href="{{repoURL .GoHash ""}}">{{shortHash .GoHash}}
</a> |
130 </a></div> | 130 </a></div> |
131 {{end}} | 131 {{end}} |
132 </td> | 132 </td> |
133 </tr> | 133 </tr> |
134 {{end}} | 134 {{end}} |
135 </table> | 135 </table> |
136 | 136 |
137 </body> | 137 </body> |
138 </html> | 138 </html> |
LEFT | RIGHT |