Introduce a new div class 'subsection' in the CSS and use it to style split head lists. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@xxxxxxxxx> --- gitweb/gitweb.css | 10 ++++++++++ gitweb/gitweb.perl | 4 +++- 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css index a01eac8..751749f 100644 --- a/gitweb/gitweb.css +++ b/gitweb/gitweb.css @@ -8,6 +8,16 @@ body { color: #000000; } +div.subsection { + border: solid #d9d8d1; + border-width: 1px; + margin: 10px; +} + +.subsection .title { + font-size: smaller; +} + a { color: #0000cc; } diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 836b6ba..03e0b21 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -4296,9 +4296,11 @@ sub git_split_heads_body { } @$headlist; foreach $leader (sort(keys %headlists)) { - print "<b>$leader</b><br/>\n" unless $leader eq "\000"; + print "<div class=\"subsection\">\n"; + git_print_header_div(undef, $leader) unless $leader eq "\000"; $list = $headlists{$leader}; git_heads_body($list, $head, $from, $to, $extra); + print "</div>\n"; } } -- 1.5.6.5 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html