Skip to content

Commit 04e3274

Browse files
committed
Merge branch 'tf/gitweb-ss-tweak'
Tweak Gitweb CSS to layout some elements better. * tf/gitweb-ss-tweak: gitweb: make search help link less ugly gitweb: omit the repository owner when it is unset gitweb: vertically centre contents of page footer gitweb: ensure OPML text fits inside its box
2 parents e5229b6 + af52bd5 commit 04e3274

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

gitweb/gitweb.perl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4035,8 +4035,8 @@ sub print_search_form {
40354035
$cgi->input({-name=>"h", -value=>$search_hash, -type=>"hidden"}) . "\n" .
40364036
$cgi->popup_menu(-name => 'st', -default => 'commit',
40374037
-values => ['commit', 'grep', 'author', 'committer', 'pickaxe']) .
4038-
$cgi->sup($cgi->a({-href => href(action=>"search_help")}, "?")) .
4039-
" search:\n",
4038+
" " . $cgi->a({-href => href(action=>"search_help"),
4039+
-title => "search help" }, "?") . " search:\n",
40404040
$cgi->textfield(-name => "s", -value => $searchtext, -override => 1) . "\n" .
40414041
"<span title=\"Extended regular expression\">" .
40424042
$cgi->checkbox(-name => 'sr', -value => 1, -label => 're',
@@ -6468,7 +6468,7 @@ sub git_summary {
64686468
print "<div class=\"title\">&nbsp;</div>\n";
64696469
print "<table class=\"projects_list\">\n" .
64706470
"<tr id=\"metadata_desc\"><td>description</td><td>" . esc_html($descr) . "</td></tr>\n";
6471-
unless ($omit_owner) {
6471+
if ($owner and not $omit_owner) {
64726472
print "<tr id=\"metadata_owner\"><td>owner</td><td>" . esc_html($owner) . "</td></tr>\n";
64736473
}
64746474
if (defined $cd{'rfc2822'}) {

gitweb/static/gitweb.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,13 @@ div.page_path {
6868
}
6969

7070
div.page_footer {
71-
height: 17px;
71+
height: 22px;
7272
padding: 4px 8px;
7373
background-color: #d9d8d1;
7474
}
7575

7676
div.page_footer_text {
77+
line-height: 22px;
7778
float: left;
7879
color: #555555;
7980
font-style: italic;
@@ -548,8 +549,7 @@ a.linenr {
548549

549550
a.rss_logo {
550551
float: right;
551-
padding: 3px 0px;
552-
width: 35px;
552+
padding: 3px 5px;
553553
line-height: 10px;
554554
border: 1px solid;
555555
border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;

0 commit comments

Comments
 (0)