[PATCH v2 3/6] Move the generated date from the top of the page to the footer.
authorW. Trevor King <wking@tremily.us>
Sat, 31 May 2014 22:20:24 +0000 (15:20 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:03:05 +0000 (10:03 -0800)
11/79760bf1e571e83b7309234729c53ac67382a1 [new file with mode: 0644]

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