From patchwork Thu Oct 1 14:12:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Damien Lespiau X-Patchwork-Id: 525031 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 549BA140B0D for ; Fri, 2 Oct 2015 00:19:48 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3226F1A0318 for ; Fri, 2 Oct 2015 00:19:48 +1000 (AEST) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lists.ozlabs.org (Postfix) with ESMTP id D5BCB1A02FA for ; Fri, 2 Oct 2015 00:14:00 +1000 (AEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 01 Oct 2015 07:14:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,617,1437462000"; d="scan'208";a="817195568" Received: from unknown (HELO strange.ger.corp.intel.com) ([10.252.16.209]) by orsmga002.jf.intel.com with ESMTP; 01 Oct 2015 07:13:59 -0700 From: Damien Lespiau To: patchwork@lists.ozlabs.org Subject: [PATCH 39/49] patch: Pull the download links next to the "Patch" header Date: Thu, 1 Oct 2015 15:12:44 +0100 Message-Id: <1443708774-26996-40-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1443708774-26996-1-git-send-email-damien.lespiau@intel.com> References: <1443708774-26996-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 }}