From: Eevee Date: Wed, 2 Jun 2010 06:41:10 +0000 (-0700) Subject: Barebones styling. Very much so. Ugly. X-Git-Tag: veekun-promotions/2010060201^0 X-Git-Url: http://git.veekun.com/zzz-spline-forum.git/commitdiff_plain/065583a8b31f73b9e6cfdfa6e8be0bfd6077984d?hp=3be1ed06645727c8d66d23a07ead0d09a24b55c6 Barebones styling. Very much so. Ugly. --- diff --git a/splinext/forum/templates/css/forum.mako b/splinext/forum/templates/css/forum.mako index e69de29..0a26577 100644 --- a/splinext/forum/templates/css/forum.mako +++ b/splinext/forum/templates/css/forum.mako @@ -0,0 +1,5 @@ +.forum-post-container { } +.forum-post { position: relative; margin: 1em 0; padding: 1em; background: #d0d8ff; -moz-border-radius: 1em; -webkit-border-radius: 1em; } +.forum-post .author { position: absolute; top: 0; right: 0; bottom: 0; width: 16em; padding: 0.5em; background: #c0c8ff; -moz-border-radius-topright: 1em; -moz-border-radius-bottomright: 1em; -webkit-border-top-right-radius: 1em; -webkit-border-bottom-right-radius: 1em; } +.forum-post .meta { margin-right: 17em; padding-bottom: 0.5em; padding-right: 0.5em; border-bottom: 1px dotted navy; } +.forum-post .content { margin-right: 16.5em; padding-top: 0.5em; padding-right: 0.5em; } diff --git a/splinext/forum/templates/forum/posts.mako b/splinext/forum/templates/forum/posts.mako index 19aac8a..e4d3ffc 100644 --- a/splinext/forum/templates/forum/posts.mako +++ b/splinext/forum/templates/forum/posts.mako @@ -5,6 +5,12 @@
% for post in c.thread.posts:
+
+ ${post.author.name} +
+
+ +
${post.content}
% endfor diff --git a/splinext/forum/templates/forum/threads.mako b/splinext/forum/templates/forum/threads.mako index 21468ed..a6b3f73 100644 --- a/splinext/forum/templates/forum/threads.mako +++ b/splinext/forum/templates/forum/threads.mako @@ -6,6 +6,7 @@ % for thread in c.threads: ${thread.subject} + ${thread.post_count} % endfor