From c3ea696662b1120f8870328356c1318150d9351d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 25 Apr 2008 23:56:39 +0000 Subject: [PATCH] - web: restore OS/CPU details to host list; add Tasks link fixes #630 svn path=/trunk/boinc/; revision=15097 --- checkin_notes | 6 ++++++ html/inc/host.inc | 13 ++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/checkin_notes b/checkin_notes index 2469c612c5..cf0655cadc 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3389,3 +3389,9 @@ David April 25 2008 client/ cpu_sched.C + +David April 25 2008 + - web: restore OS/CPU details to host list; add Tasks link + + html/inc/ + host.inc diff --git a/html/inc/host.inc b/html/inc/host.inc index e06cfbeced..a8cf056ec7 100644 --- a/html/inc/host.inc +++ b/html/inc/host.inc @@ -195,15 +195,18 @@ function host_nresults($host) { // If private is false, show the owner's name only if they've given permission // function show_host_row($host, $i, $private, $show_owner) { - $user = BoincUser::lookup_id($host->userid); - - echo "", host_link($host->id), "\n"; + echo " + $host->id + [id>tasks] + + "; if ($private) { echo "$host->domain_name\n"; echo "$host->venue\n"; } else { echo "$i\n"; if ($show_owner) { + $user = BoincUser::lookup_id($host->userid); if ($user && $user->show_hosts) { echo "", user_links($user), "\n"; } else { @@ -228,8 +231,8 @@ function show_host_row($host, $i, $private, $show_owner) { // echo "", format_credit($host->expavg_credit), "\n"; echo "", format_credit_large($host->total_credit), "\n"; - echo "$host->p_vendor\n"; - echo "$host->os_name\n"; + echo "$host->p_vendor
$host->p_model\n"; + echo "$host->os_name
$host->os_version\n"; echo "".sched_log_link($host->rpc_time)."\n"; }