diff --git a/checkin_notes b/checkin_notes index a42236573a..c946b9d549 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6394,3 +6394,13 @@ Rom 9 Aug 2008 cudart.dll coprocs/CUDA/mswin/x64/ReleaseSigned/bin/ cudart.dll + +David 9 Aug 2008 + - web: forum tweaks (from Simek) + + html/ + inc/ + forum.inc + user/ + forum_forum.php + white.css diff --git a/html/inc/forum.inc b/html/inc/forum.inc index 0f2b2551b2..759b02b7d8 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -495,8 +495,8 @@ function show_post( } echo " - - + + id\">
"; @@ -526,7 +526,7 @@ function show_post( $url = "pm.php?action=new&userid=".$user->id; $name = $user->name; show_button($url, "Send message", "Send $name a private message"); - echo "
Joined: ", gmdate('M j y', $user->create_time), "
"; + echo "Joined: ", gmdate('M j y', $user->create_time), "
"; if (!isset($user->nposts)) { $user->nposts = BoincPost::count("user=$user->id"); @@ -566,7 +566,7 @@ function show_post( ; if ($post->parent_post) { - echo " - in response to id."&nowrap=true#".$post->parent_post."\">Message ID ".$post->parent_post."."; + echo " - in response to id."&nowrap=true#".$post->parent_post."\">Message ".$post->parent_post."."; } echo " "; if ($can_edit && $controls != NO_CONTROLS) { diff --git a/html/user/forum_forum.php b/html/user/forum_forum.php index af44caa5ae..7fd232add8 100644 --- a/html/user/forum_forum.php +++ b/html/user/forum_forum.php @@ -198,7 +198,7 @@ function show_forum($forum, $start, $sort_style, $user) { echo ' '.($thread->replies+1).' -
'.user_links($owner).'
+ '.user_links($owner).' '.$thread->views.' '.time_diff_str($thread->timestamp, time()).' diff --git a/html/user/white.css b/html/user/white.css index ebece89179..606238c86f 100644 --- a/html/user/white.css +++ b/html/user/white.css @@ -12,7 +12,7 @@ body { background-repeat: repeat-x; background-color: white; font-family: Verdana, Arial, Sans Serif; - font-size: 12px; + font-size: 13px; margin: 5px 10px; color: black; } @@ -106,19 +106,19 @@ td.friend { vertical-align: middle; } -tr.row0 { +.row0 { background-color: #d9d9d9; text-align: left; } -tr.row1 { +.row1 { background-color: #eeeeee; text-align: left; } -tr.row_hd0 { background-color: rgb(207,250,207); } +.row_hd0 { background-color: rgb(207,250,207); } -tr.row_hd1 { background-color: rgb(222,250,222); } +.row_hd1 { background-color: rgb(222,250,222); } tr.message { background-color: #e0e0e0; } @@ -131,7 +131,8 @@ input, select, textarea{ } input[type="button"], input[type="submit"], input.btn { - padding: 1px 3px; + padding: 2px 4px; + margin: 2px 0px; color: #203C66; border: 1px solid #a8a8a8; font-size: 12px; @@ -170,8 +171,8 @@ img.userimg { border: 0px; } } #uotd { - background-color: #eeeeee; - border: 2px solid lightgray; + background-color: #d3d3d3; + border: 2px solid #eeeeee; padding: 10px; margin: 4px; -moz-border-radius: 10px; @@ -194,22 +195,27 @@ th { } td.postheader { - background-color: rgb(220,210,210); - border-bottom: 1px solid rgb(190,190,200); - border-left: none; - border-right: none; - border-top: none; + background-color: #eeeeee; + height: 24px; margin-left: 4px; + padding-left: 8px; + -moz-border-radius: 0px 0px 10px 10px; + -webkit-border-radius: 0px 0px 10px 10px; } td.postbody { font-size: 9pt; margin-left: 4px; + background-color: white; } td.postfooter { - background-color: rgb(220,210,210); - margin-left: 4px; + background-color: #eeeeee; + height: 26px; + margin-left: 4px; + padding-left: 8px; + -moz-border-radius: 10px 10px 0px 0px; + -webkit-border-radius: 10px 10px 0px 0px; } tr.helpdeskseperator { height: 10pt; } @@ -220,10 +226,6 @@ tr.postseperator { margin: 4px 0px; } -tr.postseperator td { - border: 0px; -} - td.threadline { text-align: left; } .title { @@ -237,10 +239,27 @@ td.threadline { text-align: left; } } .authorcol { - width: 120px; + width: 136px; overflow: hidden; } +div.authorcol { + border: 1px solid #c8c8c8; + background-color: white; + padding: 8px 5px; + width: 120px; + margin-left: 2px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +.authorinfo img { + border: 1px solid #a8a8a8; + margin: 3px 9px; +} + +.authorcol input { margin: 4px 10px; } + .cellwrap{ width: 100%; overflow: auto; @@ -250,7 +269,7 @@ blockquote.postbody { border-left: 2px solid blue; border-color: blue; background-color: rgb(240,240,255); - padding: 0px 0px 0px 5px; + padding: 2px 0px 2px 5px; margin: 0px 100px 0px 15px; font-style: italic; } @@ -305,7 +324,6 @@ span.highlight { padding-left: 1em; white-space: nowrap; overflow: auto; - color: #000000; } .smalltext {