mirror of https://github.com/BOINC/boinc.git
web: tweak badge images
This commit is contained in:
parent
72e1464b81
commit
387c04c365
|
@ -936,7 +936,7 @@ function show_badges($is_user, $item) {
|
||||||
$x = "";
|
$x = "";
|
||||||
foreach ($bus as $bu) {
|
foreach ($bus as $bu) {
|
||||||
$badge = BoincBadge::lookup_id($bu->badge_id);
|
$badge = BoincBadge::lookup_id($bu->badge_id);
|
||||||
$x .= "<img title=\"$badge->title\" height=40 src=$badge->image_url> ";
|
$x .= "<img title=\"$badge->title\" height=48 src=$badge->image_url> ";
|
||||||
}
|
}
|
||||||
row2("Badges", $x);
|
row2("Badges", $x);
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ require_once("../inc/util_ops.inc");
|
||||||
// (i.e. gold badge is for top 1% of active users/teams)
|
// (i.e. gold badge is for top 1% of active users/teams)
|
||||||
//
|
//
|
||||||
$badge_pctiles = array(1, 5, 25);
|
$badge_pctiles = array(1, 5, 25);
|
||||||
$badge_images = array("gold.png", "silver.png", "bronze.png");
|
$badge_images = array("pct_1.png", "pct_5.png", "pct_25.png");
|
||||||
|
|
||||||
// get the records for percentile badges; create them if needed
|
// get the records for percentile badges; create them if needed
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue