#my $wikilink = 'http://twiki.indexdata.dk/cgi-bin/twiki/view/ID/';
my $wikilink = 'https://twiki.indexdata.com/twiki/bin/view/ID/';
my $restrictedpackages = "ssh -q kebab cat /home/ftp/pub/debian/dists/*/restricted/*/Packages";
+my $updlink="<i>-u</i>"; # to display after a name, liking to the upd page
#### Host comments
my %hostcomments = (
print F "<td>";
for my $HH ( sort(keys(%sechosts)) ) {
my $upd = $updlinks{$HH} || "#" ;
- print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>,</a> ";
+ print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>$updlink</a> ";
}
print F "</td>";
print F "<td>";
print F "<td>";
for my $HH ( sort(keys(%ownhosts)) ) {
my $upd = $updlinks{$HH} || "#" ;
- print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>,</a> ";
+ print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>$updlink</a> ";
#print F "<a href='#$HH'><b>$HH</b></a> ";
}
print F "</td>";
print F "<td>";
for my $HH ( sort(keys(%manhosts)) ) {
my $upd = $updlinks{$HH} || "#" ;
- print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>,</a> ";
+ print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>$updlink</a> ";
#print F "<a href='#$HH'><b>$HH</b></a> ";
}
print F "</td>";
print F "<td>";
for my $HH ( sort(keys(%normhosts)) ) {
my $upd = $updlinks{$HH} || "#" ;
- print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>,</a> ";
+ print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>$updlink</a> ";
#print F "<a href='#$HH'><b>$HH</b></a> ";
}
print F "</td>";
for my $HH ( sort(keys(%skiphosts)) ) {
my $upd = $updlinks{$HH} ||
$wikilink . ucfirst($HH) . "Updates" . $year;
- print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>,</a> ";
+ print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>$updlink</a> ";
#print F "<a href='#$HH'><b>$HH</b></a> ";
}
print F "</td></tr>\n";
}
-#if ( %okhosts ) {
if ( 1 ) {
- print F "<tr><td>Ok " . scalar(keys(%okhosts)) . "</td>\n";
+ print F "<tr><td>Ok <br/>" . scalar(keys(%okhosts)) .
+ " of " . scalar(keys(%allhosts)) . "</td>\n";
print F "<td colspan='2'>";
for my $HH ( sort(keys(%okhosts)) ) {
my $upd = $updlinks{$HH} || "#" ;
- print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>,</a> ";
+ print F "<a href='#$HH'><b>$HH</b></a><a href='$upd'>$updlink</a> ";
#print F "<a href='#$HH'><b>$HH</b></a> ";
}
if ( !%okhosts ) {