From patchwork Thu Oct 1 14:12:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Lespiau X-Patchwork-Id: 525017 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 4EB08140D16 for ; Fri, 2 Oct 2015 00:17:38 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 319711A055F for ; Fri, 2 Oct 2015 00:17:38 +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 5136C1A039D for ; Fri, 2 Oct 2015 00:13:46 +1000 (AEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 01 Oct 2015 07:13:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,617,1437462000"; d="scan'208,217";a="817195455" 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:44 -0700 From: Damien Lespiau To: patchwork@lists.ozlabs.org Subject: [PATCH 26/49] patch-list: Make the table header sticky Date: Thu, 1 Oct 2015 15:12:31 +0100 Message-Id: <1443708774-26996-27-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> 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: , MIME-Version: 1.0 Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" So, when scrolling down the list of patches, we still get what are the field displayed. This is espacially important as I plan to add a few more. Signed-off-by: Damien Lespiau Acked-by: Stephen Finucane --- htdocs/css/style.css | 3 +++ patchwork/templates/patchwork/patch-list.html | 5 +++++ templates/base.html | 1 + 3 files changed, 9 insertions(+) diff --git a/htdocs/css/style.css b/htdocs/css/style.css index 1ec7400..3d4bebd 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -120,6 +120,9 @@ a.filter-action:hover { text-decoration: none; } +table#patchlist > thead { + background-color: white; +} a.colinactive, a.colactive { color: black; diff --git a/patchwork/templates/patchwork/patch-list.html b/patchwork/templates/patchwork/patch-list.html index 628696e..707f63f 100644 --- a/patchwork/templates/patchwork/patch-list.html +++ b/patchwork/templates/patchwork/patch-list.html @@ -35,6 +35,11 @@ {% endif %} +
{% csrf_token %} diff --git a/templates/base.html b/templates/base.html index a0b6244..aa7c2b3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -10,6 +10,7 @@ +