From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SnEiG-0002eF-OU for garchives@archives.gentoo.org; Fri, 06 Jul 2012 20:01:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39CD4E0369; Fri, 6 Jul 2012 20:01:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E78AEE0369 for ; Fri, 6 Jul 2012 20:01:04 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2D7DD1B4012 for ; Fri, 6 Jul 2012 20:01:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by flycatcher.gentoo.org (Postfix) with ESMTP id D43292004B for ; Fri, 6 Jul 2012 20:01:02 +0000 (UTC) From: "Alec Warner" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alec Warner" Message-ID: <1341604818.b80ee9c7ed5026b8d544d006ba14892ab43f476e.antarus@gentoo> Subject: [gentoo-commits] packages:master commit in: web/templates/ X-VCS-Repository: packages X-VCS-Files: web/templates/layout.html X-VCS-Directories: web/templates/ X-VCS-Committer: antarus X-VCS-Committer-Name: Alec Warner X-VCS-Revision: b80ee9c7ed5026b8d544d006ba14892ab43f476e X-VCS-Branch: master Date: Fri, 6 Jul 2012 20:01:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: c5b12c52-edd0-4f70-965d-d7a60e2c14a0 X-Archives-Hash: 74e15359f55ab8c53f6a3eea08e72617 commit: b80ee9c7ed5026b8d544d006ba14892ab43f476e Author: Alec Warner gentoo org> AuthorDate: Fri Jul 6 20:00:18 2012 +0000 Commit: Alec Warner gentoo org> CommitDate: Fri Jul 6 20:00:18 2012 +0000 URL: http://sources.gentoo.org/gitweb/?p=3Dpackages.git;a=3Dcommit= ;h=3Db80ee9c7 Do not render an HTML search box (google will render one for us.) Render search results in the center column. We do this via a div that is = normally empty but gets populated when users click search. --- web/templates/layout.html | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/web/templates/layout.html b/web/templates/layout.html index 6b7a38c..0872ba1 100644 --- a/web/templates/layout.html +++ b/web/templates/layout.html @@ -87,16 +87,12 @@ def alpha_url(baseurl): customSearchControl.setResultSetSize(google.search.S= earch.FILTERED_CSE_RESULTSET); var options =3D new google.search.DrawOptions(); options.setAutoComplete(true); - options.enableSearchResultsOnly(); =20 - //options.enableSearchResultsOnly("http://google.com= /cse?cx=3D"+cse_api_key, null, true); =20 - //options.enableSearchboxOnly("http://google.com/cse= ?cx=3D"+cse_api_key, null, true); =20 - customSearchControl.draw('cse'); + options.setSearchFormRoot('cse'); + customSearchControl.draw('searchresults', options); }, true);
Loading
- - - +

${day}

    @@ -213,6 +209,7 @@ def alpha_url(baseurl): =20 +

    ${pkg.atom.cpvstr}

    ${pkg.meta.description}