620c0f6f7951ebe04d3599ed66ac6a46e36edbaf hiram Wed Mar 15 21:48:36 2023 -0700 extra table header can center its text no redmine diff --git src/hg/makeDb/doc/asmHubs/hubIndex.pl src/hg/makeDb/doc/asmHubs/hubIndex.pl index 97f0e19..e2c86df 100755 --- src/hg/makeDb/doc/asmHubs/hubIndex.pl +++ src/hg/makeDb/doc/asmHubs/hubIndex.pl @@ -166,31 +166,31 @@ } my $hubCount = 0; printf "<table class='sortable' border='1'>\n"; printf "<thead><tr>\n"; printf " <th>hub gateway</th>\n"; printf " <th>description</th>\n"; printf "</tr></thead><tbody>\n"; # construct table foreach my $orderUp (@orderOutHubs) { printf "<tr>\n"; ++$hubCount; if ($orderUp eq "VGP") { - printf " <th colspan=2>collections below are subsets of the assemblies above</th>\n"; + printf " <th style='text-align:center;' colspan=2>collections below are subsets of the assemblies above</th>\n"; printf "</tr>\n"; printf "<tr>\n"; } if ($orderUp eq "fish") { printf " <td><a href='%s/%s' target=_blank>fishes</a></td>\n", $orderUp, $indexPage{$orderUp}; } else { printf " <td><a href='%s/%s' target=_blank>%s</a></td>\n", $orderUp, $indexPage{$orderUp}, $orderUp; } if (defined($genomeCounts{$orderUp})) { printf " <td>%s (%d assemblies)</td>\n", $titles{$orderUp}, $genomeCounts{$orderUp}; } else { printf " <td>%s</td>\n", $titles{$orderUp}; } printf "</tr>\n"; }