Also group compiler stats

This commit is contained in:
Jakob Borg
2016-06-07 08:12:32 +02:00
parent 82621f250c
commit f5b7e8addd
3 changed files with 20 additions and 6 deletions

View File

@@ -216,11 +216,18 @@ found in the LICENSE file.
</thead>
<tbody>
{{range .compilers}}
<tr>
<td>{{.Key}}</td>
<td class="text-right">{{.Count}}</td>
<td class="text-right">{{.Percentage | printf "%.01f"}}%</td>
</tr>
<tr class="main">
<td>{{.Key}}</td>
<td class="text-right">{{.Count}}</td>
<td class="text-right">{{.Percentage | printf "%.01f"}}%</td>
</tr>
{{range .Items}}
<tr class="child">
<td class="first">{{.Key}}</td>
<td class="text-right">{{.Count}}</td>
<td class="text-right">{{.Percentage | printf "%.01f"}}%</td>
</tr>
{{end}}
{{end}}
</tbody>
</table>