From: Damien Lespiau Date: Mon, 1 Dec 2014 15:07:28 +0000 (+0000) Subject: ui: Move the background color of the table headers to a class X-Git-Tag: v1.1.0~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fac4b8cfddc025041e96c0e1682f6551bacd1a0;p=thirdparty%2Fpatchwork.git ui: Move the background color of the table headers to a class As we are using "sticky headers", the column headers stay apparent when scrolling down, we need to specify a white background to hide what's underneath. With the addition of Seres, the patchlist table is not the only table we want this behaviour on, so let's make it a CSS class rather then a selector on the patchlist id. Signed-off-by: Damien Lespiau Acked-by: Stephen Finucane --- diff --git a/htdocs/css/style.css b/htdocs/css/style.css index a5eac2e5..96ae8096 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -132,7 +132,7 @@ a.filter-action:hover { text-decoration: none; } -table#patchlist > thead { +table.pw-list > thead { background-color: white; } diff --git a/patchwork/templates/patchwork/patch-list.html b/patchwork/templates/patchwork/patch-list.html index 00cbb52e..84006627 100644 --- a/patchwork/templates/patchwork/patch-list.html +++ b/patchwork/templates/patchwork/patch-list.html @@ -44,7 +44,7 @@ $(document).ready(function() { {% csrf_token %} - +
{% if user.is_authenticated %}