diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/templates/package.html | 3 | ||||
-rw-r--r-- | server/templates/package_c.html | 4 | ||||
-rw-r--r-- | server/templates/package_cp.html | 5 |
3 files changed, 9 insertions, 3 deletions
diff --git a/server/templates/package.html b/server/templates/package.html index 6b1f7da..76c1fdd 100644 --- a/server/templates/package.html +++ b/server/templates/package.html @@ -12,5 +12,6 @@ Top Categories:</br> <th>Hosts</th> </tr> $for p in pdata['TOP_C']: - <tr><td>$p['CAT']</td><td>$p['HOST_COUNT']</td></tr> + <tr><td><a href="package/$p['CAT']">$p['CAT']</a></td> + <td>$p['HOST_COUNT']</td></tr> </table> diff --git a/server/templates/package_c.html b/server/templates/package_c.html index 4971ca7..a5a875e 100644 --- a/server/templates/package_c.html +++ b/server/templates/package_c.html @@ -12,5 +12,7 @@ Top CPs:</br> <th>Hosts</th> </tr> $for p in pdata['TOP_CP']: - <tr><td>$p['CAT']</td><td>$p['PKG']</td><td>$p['HOST_COUNT']</td></tr> + <tr><td><a href="package/$p['CAT']">$p['CAT']</a></td> + <td><a href="$p['CAT']/$p['PKG']">$p['PKG']</a></td> + <td>$p['HOST_COUNT']</td></tr> </table> diff --git a/server/templates/package_cp.html b/server/templates/package_cp.html index ac39835..6297e0b 100644 --- a/server/templates/package_cp.html +++ b/server/templates/package_cp.html @@ -12,5 +12,8 @@ Top CPVs:</br> <th>Hosts</th> </tr> $for p in pdata['TOP_CPV']: - <tr><td>$p['CAT']</td><td>$p['PKG']</td><td>$p['VER']</td><td>$p['HOST_COUNT']</td></tr> + <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> |