From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 332CE431E64 for ; Sat, 31 May 2014 15:21:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kv8uRElO0x57 for ; Sat, 31 May 2014 15:21:07 -0700 (PDT) Received: from qmta01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by olra.theworths.org (Postfix) with ESMTP id 2B2AF431FD5 for ; Sat, 31 May 2014 15:21:03 -0700 (PDT) Received: from omta20.westchester.pa.mail.comcast.net ([76.96.62.71]) by qmta01.westchester.pa.mail.comcast.net with comcast id 8mK31o0071YDfWL51mM1tt; Sat, 31 May 2014 22:21:01 +0000 Received: from odin.tremily.us ([24.18.63.50]) by omta20.westchester.pa.mail.comcast.net with comcast id 8mM01o004152l3L3gmM0X3; Sat, 31 May 2014 22:21:01 +0000 Received: from mjolnir.tremily.us (unknown [192.168.0.140]) by odin.tremily.us (Postfix) with ESMTPS id C09DB11F0657; Sat, 31 May 2014 15:20:59 -0700 (PDT) Received: (nullmailer pid 13192 invoked by uid 1000); Sat, 31 May 2014 22:20:38 -0000 From: "W. Trevor King" To: notmuch@notmuchmail.org Subject: [PATCH v2 3/6] Move the generated date from the top of the page to the footer. Date: Sat, 31 May 2014 15:20:24 -0700 Message-Id: <0f0c291b3719e9ff627a456cb6de0cb94d7b1951.1401574293.git.wking@tremily.us> X-Mailer: git-send-email 1.9.1.353.gc66d89d In-Reply-To: References: In-Reply-To: References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1401574861; bh=PgZnUbGYjcGLKzPw1sbakplci5TILcM51EoASmiIIyU=; h=Received:Received:Received:Received:From:To:Subject:Date: Message-Id; b=H/Sa6JHExhKwdalx+E73LpZCvDsv0rFJwy4Sa2Bf46QXYmW6s/C5QV09+XztDEDJ8 iGy3zW2fWs3XPu9DItozFTxFVgMhTON06ZdYHoR53hM7r+wXU12lZWu0qaKML59Hmt 1KRfAk7wXhtY5Avwbf6zxyPaSAlaxfL4Za19c9B6IqSbnvE1BAM0czTZmw43d9szTn zdx4cC3/S3BWLw3OTf3qGdPg4dqIj7+8xA2Xix6DTvMAV2oybXPFMT1uyR73Eelgwr 5incrL79i0jwpO6xvDL+Sej2wvukpWjL2CgRHl5MeiNONQqvz9XjI2cjgtOLtDoC8J igE3rcvieP0/w== Cc: Tomi Ollila X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2014 22:21:11 -0000 From: Carl Worth It's useful reference information, but anyone who wants it will look for and find it. We don't need this front-and-center. Follow the pattern set by our header template with a triple-quoted string. The gray
styling is less agressive. IE uses 'color' for drawing the rule, while Gecko and Opera use the border or 'background-color' [1]. [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=239386 --- devel/nmbug/nmbug-status | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status index e137a90..c92d268 100755 --- a/devel/nmbug/nmbug-status +++ b/devel/nmbug/nmbug-status @@ -315,22 +315,30 @@ _PAGES['html'] = HtmlPage( tbody:nth-child(4n+3) tr td {{ background-color: #bce; }} + hr {{ + border: 0; + height: 1px; + color: #ccc; + background-color: #ccc; + }}

{title}

-

-Generated: {date}
{blurb}

Views

-'''.format(date=datetime.datetime.utcnow().date(), - title=config['meta']['title'], +'''.format(title=config['meta']['title'], blurb=config['meta']['blurb'], encoding=_ENCODING, inter_message_padding='0.25em', border_radius='0.5em'), - footer='\n\n', + footer=''' +
+

Generated: {date} + + +'''.format(date=datetime.datetime.utcnow().date()) ) if args.list_views: -- 1.9.1.353.gc66d89d