blob: 6297e0b0faa2ccefdbb77921750031c9d813999a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$def with (cat, pkg, pdata)
$var title: $cat/$pkg
No. of hosts: $pdata['HOST_COUNT']</br>
No. of category-package-versions: $pdata['CPV_COUNT']</br>
Top CPVs:</br>
<table border="1">
<tr>
<th>Category</th>
<th>Package</th>
<th>Version</th>
<th>Hosts</th>
</tr>
$for p in pdata['TOP_CPV']:
<tr><td><a href="package/$p['CAT']">$p['CAT']</a>
</td><td><a href="$p['CAT']/$p['PKG']">$p['PKG']<a>
</td><td><a href="$p['PKG']-$p['VER']">$p['VER']</a>
</td><td>$p['HOST_COUNT']</td></tr>
</table>
|