Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
v078
author
Kay Sievers
<kay.sievers@suse.de>
Sun, 7 Aug 2005 18:18:30 +0000
(20:18 +0200)
committer
Kay Sievers
<kay.sievers@suse.de>
Sun, 7 Aug 2005 18:18:30 +0000
(20:18 +0200)
gitweb.cgi
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (from parent 1:
d63577d
)
diff --git
a/gitweb.cgi
b/gitweb.cgi
index f96013fd8024cb5d69629a76168b3310d39f8917..fdc018533a27da0922f789f18dd88da9734734e0 100755
(executable)
--- a/
gitweb.cgi
+++ b/
gitweb.cgi
@@
-113,13
+113,12
@@
sub git_header_html {
}
span.log_age { position:relative; float:left; width:142px; }
div.log_link { font-size:10px; font-family:sans-serif; position:relative; float:left; width:142px; }
}
span.log_age { position:relative; float:left; width:142px; }
div.log_link { font-size:10px; font-family:sans-serif; position:relative; float:left; width:142px; }
-
div
.list {
- display:block; margin:0px 25px; padding:
2px 8px 0px; border:solid #d9d8d1; border-width:1px 1px
0px 1px;
- font-weight:bold;
text-decoration:none; color:#000000;
+
a
.list {
+ display:block; margin:0px 25px; padding:
4px; border:solid #d9d8d1; border-width:
0px 1px;
+ font-weight:bold;
background-color: #edece6; text-decoration:none; color:#000000;
}
}
- div.list a { color:#000000; text-decoration:none; }
- div.link { font-weight:normal; font-family:sans-serif; font-size:10px; border:solid #d9d8d1; border-width:1px 1px 0px 1px; }
- a.view { display:inline; font-size:24px; }
+ a.list:hover { background-color: #d9d8d1; }
+ div.link { margin:0px 25px; padding:4px 8px; border:solid #d9d8d1; border-width:0px 1px; font-family:sans-serif; font-size:10px; }
a.xml_logo { float:right; border:1px solid;
line-height:15px;
border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e; width:35px;
a.xml_logo { float:right; border:1px solid;
line-height:15px;
border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e; width:35px;
@@
-580,7
+579,7
@@
if ($action eq "blob") {
if ($op eq "+") {
print "<div>\n" .
$cgi->a({-href => "$my_uri?p=$project;a=blob;h=$id", -class => "list"},
if ($op eq "+") {
print "<div>\n" .
$cgi->a({-href => "$my_uri?p=$project;a=blob;h=$id", -class => "list"},
- escapeHTML($file) . " <span style=\"color: #
008000
;\">[new]</span>") . "\n" .
+ escapeHTML($file) . " <span style=\"color: #
33cc33
;\">[new]</span>") . "\n" .
"</div>";
print "<div class=\"link\">\n" .
"view " .
"</div>";
print "<div class=\"link\">\n" .
"view " .
@@
-589,7
+588,7
@@
if ($action eq "blob") {
} elsif ($op eq "-") {
print "<div>\n" .
$cgi->a({-href => "$my_uri?p=$project;a=blob;h=$id", -class => "list"},
} elsif ($op eq "-") {
print "<div>\n" .
$cgi->a({-href => "$my_uri?p=$project;a=blob;h=$id", -class => "list"},
- escapeHTML($file) . " <span style=\"color: #c
00000
;\">[removed]</span>") . "\n" .
+ escapeHTML($file) . " <span style=\"color: #c
c5555
;\">[removed]</span>") . "\n" .
"</div>";
print "<div class=\"link\">\n" .
"view " .
"</div>";
print "<div class=\"link\">\n" .
"view " .
@@
-714,14
+713,14
@@
if ($action eq "blob") {
}
}
if ($found) {
}
}
if ($found) {
- print "<div
class=\"list\"
>\n" .
- $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev"},
+ print "<div>\n" .
+ $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev"
, -class => "list"
},
"<span class=\"log_age\">" . $co{'age_string'} . "</span>" . escapeHTML($co{'title'})) . "\n" .
"<span class=\"log_age\">" . $co{'age_string'} . "</span>" . escapeHTML($co{'title'})) . "\n" .
- "<div class=\"link\">\n" .
+ "</div>\n";
+ print "<div class=\"link\">\n" .
"view " .
$cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev"}, "commit") . " | " .
"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" .
+ $cgi->a({-href => "$my_uri?p=$project;a=tree;h=$rev"}, "tree") . "<br/><br/>\n" .
"</div>\n";
}
}
"</div>\n";
}
}