border: 1px solid #bedce7;
padding: 5px;
}
+.log {
+ width: 99%;
+ margin: 0 auto 15px auto;
+ background: #eaf2f5;
+ border: 1px solid #bedce7;
+ padding: 5px;
+}
.header .age {
float: left;
}
.patch > .header {
- width: 98.5%;
+ width: 99.3%;
+ padding: 5px;
+ margin: 0px;
}
/* Refs
div.diff.from_file {
color: #000000;
}
-div.diff.extended_header {
- white-space: normal;
+div.diff.header {
+ margin-top: 4px;
+ border: solid #d9d8d1;
+ border-width: 1px 0px 1px 0px;
}
div.diff.extended_header,
div.diff.extended_header a.path,
-div.diff.extended_header a.hash {
- color: #777777;
-}
-
+div.diff.extended_header a.hash ,
div.diff.extended_header .info {
+ white-space: normal;
color: #b0b0b0;
-}
-
-div.diff.extended_header {
background-color: #f6f5ee;
- padding: 2px 0px 2px 0px;
}
/* Age
---------------------------------------------------------------------------- */
/* noage: "No commits" */
-.project_list td.noage {
+.noage {
color: #cdcdcd;
}
/* age2: 60*60*24*2 <= age */
-.project_list td.age2, .blame td.age2 {
+.age2 {
color: #545454;
}
/* age1: 60*60*2 <= age < 60*60*24*2 */
-.project_list td.age1 {
+.age1 {
color: #009900;
}
/* age0: age < 60*60*2 */
-.project_list td.age0 {
+.age0 {
color: #009900;
font-weight: bold;
}
$signoff = 1;
$empty = 0;
if (! $opts{'-remove_signoff'}) {
+ print "<div class=\"log\">\n";
print "<span class=\"signoff\">" . esc_html($line) . "</span><br/>\n";
+ print "</div>\n";
next;
} else {
# remove signoff lines
print format_log_line_html($line) . "<br/>\n";
}
-
if ($opts{'-final_empty_line'}) {
# end with single empty line
print "<br/>\n" unless $empty;
my ($difftree, $hash, @parents) = @_;
my ($parent) = $parents[0];
my $have_blame = gitweb_check_feature('blame');
- print "<div class=\"list_head\">\n";
if ($#{$difftree} > 10) {
+ print "<div class=\"list_head\">\n";
print(($#{$difftree} + 1) . " files changed:\n");
+ print "</div>\n";
}
- print "</div>\n";
print "<table class=\"" .
(@parents > 1 ? "combined " : "") .
print "<td><img class=\"graph\" src=\"git_graph.php?r=".$graph_rand.";p=".$project.";h=".$graph_hash.";from=".($from + (100 * $page)).";to=".($to + (100 * $page)).";c=".$commit."\" /></td>";
# git_summary() used print "<td><i>$co{'age_string'}</i></td>\n" .
- print "<td title=\"$co{'age_string_age'}\"><i>$co{'age_string_date'}</i></td>\n" .
+ print "<td class=\"". age_class($co{'age'}) . "\" title=\"$co{'age_string_age'}\"><i>$co{'age_string_date'}</i></td>\n" .
format_author_html('td', \%co, 10) . "<td>";
print format_subject_html($co{'title'}, $co{'title_short'},
href(action=>"commit", hash=>$commit), $ref);