From: Eevee Date: Sat, 5 Jun 2010 20:46:59 +0000 (-0700) Subject: Wrap forum and thread lists in standard tables. X-Git-Tag: veekun-promotions/2010070701~2 X-Git-Url: http://git.veekun.com/zzz-spline-forum.git/commitdiff_plain/9ce0aa1ffc82b28b9b1c7cb44d19d8054e446144 Wrap forum and thread lists in standard tables. --- diff --git a/splinext/forum/templates/css/forum.mako b/splinext/forum/templates/css/forum.mako index 0a26577..be6ace9 100644 --- a/splinext/forum/templates/css/forum.mako +++ b/splinext/forum/templates/css/forum.mako @@ -1,3 +1,8 @@ +table.forum-list { width: 100%; } +table.forum-list .name { text-align: left; } +table.forum-list td.name a { display: block; font-size: 1.5em; padding: 0.33em; } +table.forum-list .stats { width: 10em; text-align: center; } + .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; } diff --git a/splinext/forum/templates/forum/forums.mako b/splinext/forum/templates/forum/forums.mako index 24d59a8..d925e5b 100644 --- a/splinext/forum/templates/forum/forums.mako +++ b/splinext/forum/templates/forum/forums.mako @@ -2,10 +2,21 @@ <%def name="title()">Forums - +
+ + + + + + + + % for forum in c.forums: - + + + % endfor +
ForumVolumeActivity
${forum.name}${forum.name}xxxxxx
diff --git a/splinext/forum/templates/forum/threads.mako b/splinext/forum/templates/forum/threads.mako index a27d4f1..3add2ad 100644 --- a/splinext/forum/templates/forum/threads.mako +++ b/splinext/forum/templates/forum/threads.mako @@ -9,11 +9,19 @@ - +
+ + + + + + + % for thread in c.threads: - - + + % endfor +
ThreadPosts
${thread.subject}${thread.post_count}${thread.subject}${thread.post_count}