mirror of https://github.com/BOINC/boinc.git
- manager: when filtering messages by project,
show messages not tagged with a project (fixes #852) - web: show X-project stats links as icons svn path=/trunk/boinc/; revision=17456
This commit is contained in:
parent
20c1b0a306
commit
4cca81bedf
|
@ -2563,3 +2563,21 @@ David 3 Mar 2009
|
|||
|
||||
client/
|
||||
work_fetch.cpp
|
||||
|
||||
David 3 Mar 2009
|
||||
- manager: when filtering messages by project,
|
||||
show messages not tagged with a project (fixes #852)
|
||||
- web: show X-project stats links as icons
|
||||
|
||||
clientgui/
|
||||
ViewMessages.cpp
|
||||
html/
|
||||
inc/
|
||||
host.inc
|
||||
team.inc
|
||||
stats_sites.inc
|
||||
user/
|
||||
img/
|
||||
freedc_icon.png
|
||||
boincstats_icon.png
|
||||
white.css
|
||||
|
|
|
@ -332,7 +332,7 @@ wxInt32 CViewMessages::GetDocCount() {
|
|||
if (m_bIsFiltered) {
|
||||
for (i = m_iPreviousTotalDocCount; i < m_iTotalDocCount; i++) {
|
||||
MESSAGE* message = wxGetApp().GetDocument()->message(i);
|
||||
if (message->project == m_strFilteredProjectName) {
|
||||
if (message->project.empty() || (message->project == m_strFilteredProjectName)) {
|
||||
m_iFilteredIndexes.Add(i);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
<?
|
||||
|
||||
$project_news = array(
|
||||
array("March 3, 2009",
|
||||
"We have released BOINC 6.4.7 for Windows. This release contains a
|
||||
screensaver fix as well as updates to LibCurl(7.19.4) and
|
||||
OpenSSL(0.9.8j) for some recently published security advisories.
|
||||
"
|
||||
),
|
||||
array("March 1, 2009",
|
||||
"<a href=http://www.unitedboinc.com/>United BOINC</a>
|
||||
now offers <a href=http://www.unitedboinc.com/news-sig/>signature images</a>
|
||||
|
|
|
@ -139,7 +139,7 @@ $astro_phys_chem = array(
|
|||
"http://lhcathome.cern.ch/lhcathome/",
|
||||
"CERN (European Organization for Nuclear Research)",
|
||||
"Physics",
|
||||
"The Large Hadron Collider (LHC) is a particle accelerator which is being built at CERN, the European Organization for Nuclear Research, the world's largest particle physics laboratory. When it switches on in 2007, it will be the most powerful instrument ever built to investigate on particles proprieties. LHC@home simulates particles traveling around the LHC to study the stability of their orbits.",
|
||||
"The Large Hadron Collider (LHC) is a particle accelerator at CERN, the European Organization for Nuclear Research, the world's largest particle physics laboratory. It is the most powerful instrument ever built to investigate on particles proprieties. LHC@home runs simulations to improve the design of LHC and its detectors.",
|
||||
"lhc.jpg"
|
||||
),
|
||||
array(
|
||||
|
|
|
@ -62,17 +62,14 @@ function location_form($host) {
|
|||
return $x;
|
||||
}
|
||||
|
||||
function cross_project_links($host, $indent) {
|
||||
function cross_project_links($host) {
|
||||
global $host_sites;
|
||||
$x = "";
|
||||
shuffle($host_sites);
|
||||
foreach ($host_sites as $h) {
|
||||
$url = $h[0];
|
||||
$name = $h[1];
|
||||
if ($indent) {
|
||||
$x .= " ";
|
||||
}
|
||||
$x .= "<a href=$url".$host->host_cpid.">$name</a><br>\n";
|
||||
$img = $h[2];
|
||||
$x .= "<a href=$url".$host->host_cpid."><img border=2 src=img/$img alt=\"$name\"></a>\n";
|
||||
}
|
||||
return $x;
|
||||
}
|
||||
|
@ -112,7 +109,7 @@ function show_host($host, $user, $ipprivate) {
|
|||
row2("Total credit", format_credit_large($host->total_credit));
|
||||
row2("Average credit", format_credit($host->expavg_credit));
|
||||
if (!$anonymous) {
|
||||
row2("Cross project credit", cross_project_links($x, false));
|
||||
row2("Cross project credit", cross_project_links($x));
|
||||
}
|
||||
row2("CPU type", "$host->p_vendor <br> $host->p_model");
|
||||
row2("Number of processors", $host->p_ncpus);
|
||||
|
@ -203,6 +200,8 @@ function show_host($host, $user, $ipprivate) {
|
|||
// the following is used for list of top hosts
|
||||
//
|
||||
function top_host_table_start($sort_by) {
|
||||
global $host_sites;
|
||||
shuffle($host_sites);
|
||||
start_table();
|
||||
echo "<tr>";
|
||||
echo "<th>Computer info</th>\n";
|
||||
|
@ -276,7 +275,7 @@ function show_host_row($host, $i, $private, $show_owner) {
|
|||
";
|
||||
if (!$anonymous) {
|
||||
echo "
|
||||
<br><nobr>Cross-project credit:</nobr><br>".cross_project_links($host, true);
|
||||
<br><nobr><span class=note>Cross-project stats:</span></nobr><br>".cross_project_links($host);
|
||||
}
|
||||
echo "
|
||||
</td>
|
||||
|
|
|
@ -177,11 +177,15 @@ $team_name_sites = array(
|
|||
);
|
||||
|
||||
$host_sites = array(
|
||||
array("http://boincstats.com/stats/boinc_host_graph.php?pr=bo&id=",
|
||||
"BOINCstats.com"
|
||||
array(
|
||||
"http://boincstats.com/stats/boinc_host_graph.php?pr=bo&id=",
|
||||
"BOINCstats.com",
|
||||
"boincstats_icon.png"
|
||||
),
|
||||
array("http://stats.free-dc.org/stats.php?page=hostbycpid&cpid=",
|
||||
"Free-DC"
|
||||
array(
|
||||
"http://stats.free-dc.org/stats.php?page=hostbycpid&cpid=",
|
||||
"Free-DC",
|
||||
"freedc_icon.png"
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ function display_team_page($team, $user) {
|
|||
}
|
||||
$x .= "<a href=$url".$key.">$site_name</a><br>\n";
|
||||
}
|
||||
row2(tra('Cross-project credit'), $x);
|
||||
row2(tra('Cross-project stats'), $x);
|
||||
}
|
||||
row2(tra('Country'), $team->country);
|
||||
row2(tra('Type'), team_type_name($team->type));
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
|
@ -357,7 +357,6 @@ span.page_title {
|
|||
span.note {
|
||||
font-weight: normal;
|
||||
font-size: 0.9em;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
span.news_date {
|
||||
|
|
Loading…
Reference in New Issue