mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
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
This commit is contained in:
commit
04e3274d6a
|
@ -4035,8 +4035,8 @@ sub print_search_form {
|
|||
$cgi->input({-name=>"h", -value=>$search_hash, -type=>"hidden"}) . "\n" .
|
||||
$cgi->popup_menu(-name => 'st', -default => 'commit',
|
||||
-values => ['commit', 'grep', 'author', 'committer', 'pickaxe']) .
|
||||
$cgi->sup($cgi->a({-href => href(action=>"search_help")}, "?")) .
|
||||
" search:\n",
|
||||
" " . $cgi->a({-href => href(action=>"search_help"),
|
||||
-title => "search help" }, "?") . " search:\n",
|
||||
$cgi->textfield(-name => "s", -value => $searchtext, -override => 1) . "\n" .
|
||||
"<span title=\"Extended regular expression\">" .
|
||||
$cgi->checkbox(-name => 'sr', -value => 1, -label => 're',
|
||||
|
@ -6468,7 +6468,7 @@ sub git_summary {
|
|||
print "<div class=\"title\"> </div>\n";
|
||||
print "<table class=\"projects_list\">\n" .
|
||||
"<tr id=\"metadata_desc\"><td>description</td><td>" . esc_html($descr) . "</td></tr>\n";
|
||||
unless ($omit_owner) {
|
||||
if ($owner and not $omit_owner) {
|
||||
print "<tr id=\"metadata_owner\"><td>owner</td><td>" . esc_html($owner) . "</td></tr>\n";
|
||||
}
|
||||
if (defined $cd{'rfc2822'}) {
|
||||
|
|
|
@ -68,12 +68,13 @@ div.page_path {
|
|||
}
|
||||
|
||||
div.page_footer {
|
||||
height: 17px;
|
||||
height: 22px;
|
||||
padding: 4px 8px;
|
||||
background-color: #d9d8d1;
|
||||
}
|
||||
|
||||
div.page_footer_text {
|
||||
line-height: 22px;
|
||||
float: left;
|
||||
color: #555555;
|
||||
font-style: italic;
|
||||
|
@ -548,8 +549,7 @@ a.linenr {
|
|||
|
||||
a.rss_logo {
|
||||
float: right;
|
||||
padding: 3px 0px;
|
||||
width: 35px;
|
||||
padding: 3px 5px;
|
||||
line-height: 10px;
|
||||
border: 1px solid;
|
||||
border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
|
||||
|
|
Loading…
Reference in a new issue