Kaydet (Commit) caa79a9e authored tarafından Fred Drake's avatar Fred Drake

Minor adjustments to HTML for the module synopsis tables.

üst 4862ab7b
...@@ -52,14 +52,18 @@ sub show{ ...@@ -52,14 +52,18 @@ sub show{
sub tohtml{ sub tohtml{
my $self = shift; my $self = shift;
my $data = "<table class='synopsistable'>\n"; my $oddrow = 1;
my $data = "<table class='synopsistable' valign='baseline'>\n";
my $name; my $name;
foreach $name (split /,/, $self->{names}) { foreach $name (split /,/, $self->{names}) {
my($key,$type,$synopsis) = $self->get($name); my($key,$type,$synopsis) = $self->get($name);
my $link = "<a href='module-$key.html'>"; my $link = "<a href='module-$key.html'>";
$data .= (' <tr>' $data .= (' <tr'
. ($oddrow ? " class='oddrow'>\n " : '>')
. "<td><b><tt class='module'>$link$name</a></tt></b></td>\n" . "<td><b><tt class='module'>$link$name</a></tt></b></td>\n"
. " <td>\&nbsp;</td>\n"
. " <td class='synopsis'>$synopsis</td></tr>\n"); . " <td class='synopsis'>$synopsis</td></tr>\n");
$oddrow = !$oddrow;
} }
$data .= "</table>\n"; $data .= "</table>\n";
$data; $data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment