- web: stylesheet tweaks (from Simek)

svn path=/trunk/boinc/; revision=15807
This commit is contained in:
David Anderson 2008-08-12 17:08:14 +00:00
parent 8ef70f4ec7
commit 2b6f80af15
7 changed files with 49 additions and 44 deletions

View File

@ -6410,3 +6410,16 @@ Charlie 10 Aug 2008
client/
http_curl.C
David 12 Aug 2008
- web: stylesheet tweaks (from Simek)
html/
inc/
forum.inc
prefs.inc
util.inc
user/
forum_index.php
team_members.php
white.css

View File

@ -1092,9 +1092,9 @@ function show_thread_and_context($thread, $user, $i) {
}
echo '
</td><td>'.($thread->replies+1).'</td>
<td align="left"><div class="authorcol">'.user_links($owner).'</div></td>
<td>'.user_links($owner).'</td>
<td>'.$thread->views.'</td>
<td style="text-align:right">'.time_diff_str($thread->timestamp, time()).'</td>
<td>'.time_diff_str($thread->timestamp, time()).'</td>
</tr>
';
}

View File

@ -860,7 +860,7 @@ function print_prefs_display_project($user, $columns=false) {
if ($columns) {
row1("Combined preferences".$switch_link, 2, "heading");
echo "<tr><td colspan=2>";
start_table("width=100% border=4");
start_table();
prefs_show_privacy($user);
venue_show($user);
row_top("Project specific settings");
@ -875,7 +875,7 @@ function print_prefs_display_project($user, $columns=false) {
row1("Primary (default) preferences".$switch_link, 2, "heading");
}
echo "<tr><td colspan=2>";
start_table("width=100% border=4");
start_table();
prefs_show_resource($project_prefs, false);
if ($project_has_beta) prefs_show_beta($project_prefs, false);
prefs_show_privacy($user);
@ -916,7 +916,7 @@ function print_prefs_display_global($user, $columns=false) {
if ($columns) {
row1("Combined preferences".$switch_link, 2, "heading");
echo "<tr><td colspan=2>";
start_table("width=100% border=4");
start_table();
prefs_show_columns_global($global_prefs);
end_table();
echo "</td></tr>\n";
@ -926,7 +926,7 @@ function print_prefs_display_global($user, $columns=false) {
row1("Primary (default) preferences".$switch_link, 2, "heading");
}
echo "<tr><td colspan=2>";
start_table("width=100% border=4");
start_table();
prefs_show_global($global_prefs);
$tokens = url_tokens($user->authenticator);
row2("<br>", "<a href=prefs_edit.php?subset=global$tokens>Edit preferences</a>");

View File

@ -385,7 +385,7 @@ function print_login_form_aux($next_url, $user) {
);
$x = urlencode($next_url);
row2("",
"<input type=\"submit\" name=\"mode\" value=\"Log in\" tabindex=\"3\"><br><br>or <a href=\"create_account_form.php?next_url=$x\">create an account</a>/."
"<input type=\"submit\" name=\"mode\" value=\"Log in\" tabindex=\"3\"><br><br>or <a href=\"create_account_form.php?next_url=$x\">create an account</a>."
);
if ($user) {
row1("Log out");

View File

@ -56,13 +56,13 @@ function show_forum_summary($forum, $i) {
<tr class=\"row$j\">
<td>
<em>
<a href=\"forum_forum.php?id=$forum->id\">$t
</a></em>
<a href=\"forum_forum.php?id=$forum->id\">$t</a>
</em>
<br><span class=\"smalltext\">$d</span>
</td>
<td>$forum->threads</td>
<td>$forum->posts</td>
<td>".time_diff_str($forum->timestamp, time())."</td>
<td class=\"numbers\">$forum->threads</td>
<td class=\"numbers\">$forum->posts</td>
<td class=\"lastpost\">".time_diff_str($forum->timestamp, time())."</td>
</tr>";
}

View File

@ -19,7 +19,6 @@
require_once("../inc/util.inc");
require_once("../inc/team.inc");
require_once("../inc/cache.inc");
require_once("../inc/cache.inc");
if (isset($_GET["sort_by"])) {
$sort_by = $_GET["sort_by"];

View File

@ -27,8 +27,6 @@ h1 {
margin: 10px;
}
h2, h3, h4 { color: black; }
h3, h4 { font-weight: bold; }
hr {
@ -116,9 +114,9 @@ td.friend {
text-align: left;
}
.row_hd0 { background-color: rgb(207,250,207); }
.row_hd0 { background-color: #cffacf; }
.row_hd1 { background-color: rgb(222,250,222); }
.row_hd1 { background-color: #defade; }
tr.message { background-color: #e0e0e0; }
@ -147,7 +145,7 @@ img.userimg { border: 0px; }
#news {
background-color: #dff0ff;
border: 2px solid lightblue;
border: 2px solid #add8e6;
padding: 10px;
margin: 4px;
-moz-border-radius: 10px;
@ -221,13 +219,24 @@ td.postfooter {
tr.helpdeskseperator { height: 10pt; }
tr.postseperator {
background-color: rgb(200,200,200);
border: 1px solid rgb(170,170,170);
background-color: #c8c8c8;
border: 1px solid #aaaaaa;
margin: 4px 0px;
}
td.threadline { text-align: left; }
td.numbers {
text-align: center;
}
td.numbers {
text-align: left;
}
td.lastpost {
}
.title {
font-size: 14px;
font-weight: bold;
@ -260,16 +269,11 @@ div.authorcol {
.authorcol input { margin: 4px 10px; }
.cellwrap{
width: 100%;
overflow: auto;
}
blockquote.postbody {
border-left: 2px solid blue;
border-color: blue;
background-color: rgb(240,240,255);
padding: 2px 0px 2px 5px;
border: 1px solid #d7ffea;
border-left: 3px solid #0069a1;
background-color: #f5fffa;
padding: 4px 6px;
margin: 0px 100px 0px 15px;
font-style: italic;
}
@ -281,17 +285,6 @@ blockquote.postbody {
word-wrap: break-word;
}
td.lastpost { background-color: white; }
.sigdelim {
width: 60%;
height: 1px;
background-color: black;
color: black;
border: 0px;
margin-right: 100%;
}
span.page_title {
font-size: 24px;
margin: 20px;
@ -304,7 +297,7 @@ span.note {
}
span.news_date {
color: rgb(100,100,100);
color: #646464;
font-size: 0.9em;
}
@ -357,11 +350,11 @@ span.highlight {
/* Server Status Page */
td.running { background-color: #00ff00; }
td.running { background-color: #9aff4f; }
td.notrunning { background-color: #ff0000; }
td.notrunning { background-color: #feff6f; }
td.disabled { background-color: #ff8800; }
td.disabled { background-color: #ff4f4f; }
/* IE hack */