tweaked score icons
This commit is contained in:
parent
b3296d360e
commit
1cce3aca13
|
@ -5647,10 +5647,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_score_pic($score) {
|
function get_score_pic($score) {
|
||||||
if ($score > 0) {
|
if ($score > 100) {
|
||||||
return "score_high.png";
|
return "score_high.png";
|
||||||
} else if ($score < 0) {
|
} else if ($score > 0) {
|
||||||
|
return "score_half_high.png";
|
||||||
|
} else if ($score < -100) {
|
||||||
return "score_low.png";
|
return "score_low.png";
|
||||||
|
} else if ($score < 0) {
|
||||||
|
return "score_half_low.png";
|
||||||
} else {
|
} else {
|
||||||
return "score_neutral.png";
|
return "score_neutral.png";
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 2.9 KiB |
Loading…
Reference in New Issue