# HG changeset patch # User neko259 # Date 2013-04-15 20:32:38 # Node ID 0f09185f06911579e72ac9a4e4b4472dc98e5da5 # Parent e544cbe231999ee3919d1912bef2f6246aa49219 Fixed post display in admin page. Fixed css in Mystic Dark. diff --git a/boards/models.py b/boards/models.py --- a/boards/models.py +++ b/boards/models.py @@ -163,7 +163,7 @@ class Post(models.Model): last_edit_time = models.DateTimeField() def __unicode__(self): - return self.title + ' (' + self.text + ')' + return self.title + ' (' + self.text.raw + ')' def _get_replies(self): return Post.objects.filter(parent=self.id) diff --git a/boards/static/css/md/base_page.css b/boards/static/css/md/base_page.css --- a/boards/static/css/md/base_page.css +++ b/boards/static/css/md/base_page.css @@ -25,6 +25,11 @@ html { color: #ffffff; } +.block { + display: inline-block; + vertical-align: top; +} + .tag { color: #b4cfec; } @@ -146,4 +151,12 @@ blockquote { padding-left: 5px; color: #B1FB17; margin: 0; +} + +.post > .image { + float: left; margin: 0 1ex .5ex 0; +} + +.post > .metadata { + clear: left; } \ No newline at end of file