diff options
author | wiz <wiz> | 2014-04-24 10:05:13 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-04-24 10:05:13 +0000 |
commit | 595efd266fd6b5c661897abb2e7498f09c6abb71 (patch) | |
tree | d8df57af3a5b60d8e6c66b5b720e91f0d155fd74 /pkgtools/pkg_p5up2date/files | |
parent | b9ef6dd140a7cc807ad074ee5b1fdd1b2227dc76 (diff) | |
download | pkgsrc-595efd266fd6b5c661897abb2e7498f09c6abb71.tar.gz |
Mark up table header. From abs.
Bump version.
Diffstat (limited to 'pkgtools/pkg_p5up2date/files')
-rwxr-xr-x | pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl b/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl index 3250f17e768..4e75943b345 100755 --- a/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl +++ b/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl @@ -69,8 +69,17 @@ sub init <body> <h1>Outdated Perl5 modules in pkgsrc</h1> - <table> - <tr><th>Package location</th><th>Maintainer</th><th>Comment</th><th>Operation</th><th>Installed</th></tr> + <table class="table-datatable"> + <thead> + <tr> + <th>Package location</th> + <th class="filter">Maintainer</th> + <th class="filter">Comment</th> + <th>Operation</th> + <th class="filter">Installed</th> + </tr> + </thead> + <tbody> EOH say {$self->{fh}} $intro; return; @@ -90,7 +99,7 @@ sub write_entry sub finish { my ($self, $pkg2update, $pkgok, $pkgcrank) = @_; - say {$self->{fh}} " </table>"; + say {$self->{fh}} " <tbody>\n</table>\n"; scalar(@_) > 1 and say {$self->{fh}} "$pkg2update p5-packages needing updates, $pkgok p5-packages are up-to-date, $pkgcrank p5-packages needs review"; my $extro = <<EOE; |