summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9cd3d98)
raw | patch | inline | side by side (parent: 9cd3d98)
author | Kay Sievers <kay.sievers@suse.de> | |
Sun, 7 Aug 2005 18:17:50 +0000 (20:17 +0200) | ||
committer | Kay Sievers <kay.sievers@suse.de> | |
Sun, 7 Aug 2005 18:17:50 +0000 (20:17 +0200) |
gitweb.cgi | patch | blob | history |
diff --git a/gitweb.cgi b/gitweb.cgi
index 80a883d80f86e416e03c944edb1820498f30f48f..4363621f9137f3275a2cd73a47f2ee56f8debc75 100755 (executable)
--- a/gitweb.cgi
+++ b/gitweb.cgi
my $cgi = new CGI;
-my $version = "070";
+my $version = "071";
my $projectroot = "/pub/scm";
my $home_link = "/git";
my $gitbin = "/usr/bin";
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'};
}
}
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");