diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-08-07 20:17:50 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-08-07 20:17:50 +0200 |
commit | 820e4f6b6b4141b779c140d08e46fde0aa30117c (patch) | |
tree | 51dccfb89931c9b9756438c1ba5bceb4aba14dff /gitweb.cgi | |
parent | 9cd3d988730949f7d1cc6f6c96417bf5aa845110 (diff) | |
download | git-820e4f6b6b4141b779c140d08e46fde0aa30117c.tar.gz git-820e4f6b6b4141b779c140d08e46fde0aa30117c.tar.xz |
v071
Diffstat (limited to 'gitweb.cgi')
-rwxr-xr-x | gitweb.cgi | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/gitweb.cgi b/gitweb.cgi index 80a883d80..4363621f9 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -14,7 +14,7 @@ use CGI::Carp qw(fatalsToBrowser); my $cgi = new CGI; -my $version = "070"; +my $version = "071"; my $projectroot = "/pub/scm"; my $home_link = "/git"; my $gitbin = "/usr/bin"; @@ -657,7 +657,8 @@ if ($action eq "blob") { print "<br/><br/></div>\n"; print "<div class=\"title\">". escapeHTML($file_name) . "</div>\n"; print "<div class=\"page_body\">\n" . - "<pre>\n"; + "<br/>\n" . + "</div>\n"; foreach my $rev (@revlist) { my %co = git_commit($rev); my $parents = $co{'parents'}; @@ -677,12 +678,16 @@ if ($action eq "blob") { } } if ($found) { - print $co{'age_string'} . "\t " . $co{'author_name'} . " - " . $co{'title'} . " " . - $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev", -class => "link"}, "view") ."\n"; + print "<div class=\"list\">\n" . + $co{'age_string'} . "" . $co{'title'} . "\n" . + "</div>"; + print "<div class=\"link\">\n" . + "view " . + $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev"}, "commit") . " | " . + $cgi->a({-href => "$my_uri?p=$project;a=tree;h=$rev"}, "tree") . "<br/><br/>\n" . + "</div>\n"; } } - print "<br/></pre>\n"; - print "</div>"; git_footer_html(); } else { die_error("", "unknown action"); |