From: Carl Worth Date: Sat, 31 May 2014 22:20:24 +0000 (-0700) Subject: Move the generated date from the top of the page to the footer. X-Git-Tag: address-command-v2~131 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/commitdiff_plain/b70386a4cbeb1cd74ea4d54ee14f8bf22954e671?hp=b5bdf5f4a83357efd874140f21cef27ef744bea2 Move the generated date from the top of the page to the footer. 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 --- diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status index e137a90e..c92d268c 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: