From 49f1a1be8f24b11a50bf68a08c1a925f6bae21d5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 20 Feb 2006 07:55:32 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=9515 --- checkin_notes | 10 ++++++++++ doc/boinc_news.inc | 8 ++++++++ doc/contact.php | 1 + doc/links.php | 7 +++++-- html/inc/result.inc | 16 +++++++++++++--- html/user/white.css | 5 ++++- 6 files changed, 41 insertions(+), 6 deletions(-) diff --git a/checkin_notes b/checkin_notes index cfe21be6a2..d9a734d3b5 100755 --- a/checkin_notes +++ b/checkin_notes @@ -2122,3 +2122,13 @@ Charlie 18 Feb 2006 clientgui/ BOINCTaskBar.cpp MainFrame.cpp + +David 19 Feb 2006 + - user web: show error results with pink background + (from Rytis Slatkevicius) + + html/ + inc/ + result.inc + user/ + white.css diff --git a/doc/boinc_news.inc b/doc/boinc_news.inc index 584297861f..5221e085a3 100644 --- a/doc/boinc_news.inc +++ b/doc/boinc_news.inc @@ -1,6 +1,14 @@ BOINCcast + is the first German Podcast about BOINC. + Weekly episodes of 5 minutes length will explain Distributed Computing + and the Goals of BOINC to the German public, + and will present and explain the projects that use BOINC. + " +), array("February 15, 2006", "View a video clip about the BBC Climate Change Experiment. diff --git a/doc/contact.php b/doc/contact.php index d3452f695b..8676637a1d 100644 --- a/doc/contact.php +++ b/doc/contact.php @@ -176,6 +176,7 @@ show_name("Alex A. dos Santos"); show_name("Steven Schweda"); show_name("Josef W. Segur"); show_name("Jens Seidler"); +show_name("Rytis Slatkevicius"); show_name("Peter Smithson"); show_name("Christian Søttrup"); show_name("Michela Taufer"); diff --git a/doc/links.php b/doc/links.php index 5dc44f9b77..d1e49a26db 100644 --- a/doc/links.php +++ b/doc/links.php @@ -19,7 +19,7 @@ function site($url, $name) { return "$name"; } -page_head("Web sites for BOINC participants"); +page_head("Web resources for BOINC participants"); echo " - "; + if (bad_result($result)) { + echo ""; + } else { + echo ""; + } if ($show_result_link) { echo "\n"; } diff --git a/html/user/white.css b/html/user/white.css index b64324b5a0..9b580d217d 100644 --- a/html/user/white.css +++ b/html/user/white.css @@ -178,7 +178,10 @@ tr.postseperator{ background-color: rgb(200,200,200); height:4px; } -tr.postseperator td{ +tr.postseperator td { border-top: 1px solid rgb(170,170,170); border-bottom: 1px solid rgb(170,170,170); } +.invalid_result td { + background-color: #ffcccc; +}
@@ -77,6 +77,7 @@ language("Dutch", array( site("http://www.boinc.be", "www.boinc.be"), )); language("English", array( + site("http://symbion.madnezz.com/", "Symbion"), site("http://scotlandsseti.blogspot.com/", "Megacruncher's Blog"), site("http://www.bc-team.org/", "BOINC Confederation"), site("http://theclangers.net/", "The Clangers"), @@ -108,6 +109,7 @@ language("French", array( site("http://boinc-quebec.org", "boinc-quebec.org") )); language("German", array( + site("http://boinccast.podhost.de/", "BOINCcast (Podcast)"), site("http://www.boinc-team.de/", "BOINC@Heidelberg"), site("http://www.crunching-family.wins.info/", "Crunching Family"), site("http://www.boinc.at/", "www.boinc.at"), @@ -142,7 +144,8 @@ language("Portuguese", array( site( "http://portugalathome.pt.vu/", "Portugal@home") )); language("Russian", array( - site("http://www.boinc.narod.ru", "www.boinc.narod.ru") + site("http://www.boinc.ru", "BOINC.ru") + site("http://distributed.ru", "distributed.ru") )); //show_link( // "Serbian", diff --git a/html/inc/result.inc b/html/inc/result.inc index 6cf4082fae..57fb8478dc 100644 --- a/html/inc/result.inc +++ b/html/inc/result.inc @@ -146,6 +146,14 @@ function result_table_start($show_wu_link, $show_host_link, $show_result_link) { "; } +// was result invalid or timed out? +// +function bad_result($result) { + if ($result->validate_state == 2) return true; + if (!$result->received_time && ($result->report_deadline < time())) return true; + return false; +} + function show_result_row( $result, $show_wu_link, $show_host_link, $show_result_link ) { @@ -172,9 +180,11 @@ function show_result_row( $result_granted_credit = format_credit($result->granted_credit); $result_claimed_credit = result_claimed_credit_string($result, $result_claimed_credit); $result_granted_credit = result_granted_credit_string($result, $result_granted_credit); - echo " -
id\">$result->id