# HG changeset patch # User Goffi # Date 1310058186 -7200 # Node ID 054b7b3424a3769348db82f028c1dd990aae1278 # Parent a8d11fdea090849402cc40331ea404a595d576d8 browser side: microblog's entry header with pseudo and timestamp diff -r a8d11fdea090 -r 054b7b3424a3 browser_side/panels.py --- a/browser_side/panels.py Wed Jul 06 03:03:07 2011 +0200 +++ b/browser_side/panels.py Thu Jul 07 19:03:06 2011 +0200 @@ -481,11 +481,11 @@ _datetime = datetime.fromtimestamp(mblog_entry.timestamp) self.panel = HTMLPanel(""" +
on

%(body)s

-
%(timestamp)s
""" % {"author": html_sanitize(self.author), "timestamp": _datetime, "body": html_sanitize(mblog_entry.content) diff -r a8d11fdea090 -r 054b7b3424a3 public/libervia.css --- a/public/libervia.css Wed Jul 06 03:03:07 2011 +0200 +++ b/public/libervia.css Thu Jul 07 19:03:06 2011 +0200 @@ -700,12 +700,22 @@ .microblogPanel { /* margin: auto; width: 95% !important;*/ + width: 100%; } .mb_entry { min-height: 64px; } +.mb_entry_header +{ + background: #AFAFAF; +} + +.mb_entry_author { + font-weight: bold; +} + .mb_entry_avatar { float: left; }