From patchwork Mon Aug 24 18:23:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Damien Lespiau X-Patchwork-Id: 510252 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B632714032C for ; Tue, 25 Aug 2015 04:31:04 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 8864C1A1D6C for ; Tue, 25 Aug 2015 04:31:04 +1000 (AEST) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lists.ozlabs.org (Postfix) with ESMTP id 74C081A1D8D for ; Tue, 25 Aug 2015 04:24:37 +1000 (AEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 24 Aug 2015 11:24:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,739,1432623600"; d="scan'208";a="789969400" Received: from smarupud-mobl2.amr.corp.intel.com (HELO strange.amr.corp.intel.com) ([10.254.186.249]) by fmsmga002.fm.intel.com with ESMTP; 24 Aug 2015 11:24:34 -0700 From: Damien Lespiau To: patchwork@lists.ozlabs.org Subject: [PATCH 40/51] patch: Pull the download links next to the "Patch" header Date: Mon, 24 Aug 2015 19:23:29 +0100 Message-Id: <1440440620-25937-41-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1440440620-25937-1-git-send-email-damien.lespiau@intel.com> References: <1440440620-25937-1-git-send-email-damien.lespiau@intel.com> MIME-Version: 1.0 X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Bel=C3=A9n=20Barros=20Pe=C3=B1a?= Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" From: Belén Barros Peña Signed-off-by: Belén Barros Peña Signed-off-by: Damien Lespiau Acked-by: Stephen Finucane --- htdocs/css/style.css | 6 ++++++ patchwork/templates/patchwork/patch.html | 26 +++++++++++++------------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/htdocs/css/style.css b/htdocs/css/style.css index 3fe42b4..18b9b54 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -11,6 +11,12 @@ h2 { margin: 18px 0 18px 0; } +h2 a, h2 span { + font-size: 14px; + padding-left: 5px; + font-weight: normal; +} + pre { line-height: 110%; background-color: white; diff --git a/patchwork/templates/patchwork/patch.html b/patchwork/templates/patchwork/patch.html index eb09990..593281a 100644 --- a/patchwork/templates/patchwork/patch.html +++ b/patchwork/templates/patchwork/patch.html @@ -45,17 +45,6 @@ function toggle_headers(link_id, headers_id) Message ID {{ patch.msgid }} - - Download - - mbox -{% if patch.content %}| - patch -{% endif %} - - State {{ patch.state.name }}{% if patch.archived %}, archived{% endif %} @@ -188,8 +177,19 @@ function toggle_headers(link_id, headers_id) {% endfor %} {% if patch.content %} -

Patch

-
+

+ Patch + hide +{% if patch.content %} + | + dowload patch +{% endif %} + | + dowload mbox +

+
 {{ patch|patchsyntax }}