Update doalles.js - continued color coding
Added consistent color coding for best-tle -field as well. Now it is very clear which tle-fit -estimates are not correct.pull/66/head
parent
ef8cc9538d
commit
6a80a7d46e
|
@ -118,6 +118,12 @@ function maketable(str, arr)
|
|||
}
|
||||
else if(column == "best-tle") {
|
||||
ret.value = "<small>"+row[column]+"</small>";
|
||||
if(row["best-tle-dist"] != null) {
|
||||
if (Math.abs(row["best-tle-dist"]) > 10000)
|
||||
ret.color="red";
|
||||
else if (Math.abs(row["best-tle-dist"]) > 1000)
|
||||
ret.color="#ffaaaa";
|
||||
}
|
||||
}
|
||||
else if(column == "gpshealth" && row[column] != null) {
|
||||
if(row[column]==0)
|
||||
|
|
Loading…
Reference in New Issue