Trackers: yggreborn affiche aussi envoyé/reçu (tuiles /account/)
Lecture des tuiles Upload/Download de /account/ (libellés Go/To gardés tels quels via up_str/down_str pour conserver les décimales). Condition io -> has_io.
This commit is contained in:
@@ -67,10 +67,10 @@ CTX = {
|
||||
"vpn_ok": True, "vpn_port": 51820,
|
||||
},
|
||||
"trackers": [
|
||||
{"ok": True, "label": "c411", "ratio_h": "1,04", "up_bytes": 1, "up_h": "378 Go", "down_h": "365 Go", "tokens": None},
|
||||
{"ok": True, "label": "torr9", "ratio_h": "1,62", "up_bytes": 1, "up_h": "226 Go", "down_h": "140 Go", "tokens": 2168, "tokens_h": "2 168", "tokens_label": "jetons"},
|
||||
{"ok": True, "label": "tr4ker", "ratio_h": "5233,52", "up_bytes": 1, "up_h": "5,62 To", "down_h": "1 Go", "tokens": 223, "tokens_h": "223", "tokens_label": "Crédit"},
|
||||
{"ok": True, "label": "yggreborn", "ratio_h": "7,63", "up_bytes": 0, "down_bytes": 0, "tokens": None},
|
||||
{"ok": True, "label": "c411", "ratio_h": "1,04", "has_io": True, "up_h": "378 Go", "down_h": "365 Go", "tokens": None},
|
||||
{"ok": True, "label": "torr9", "ratio_h": "1,62", "has_io": True, "up_h": "226 Go", "down_h": "140 Go", "tokens": 2168, "tokens_h": "2 168", "tokens_label": "jetons"},
|
||||
{"ok": True, "label": "tr4ker", "ratio_h": "5233,52", "has_io": True, "up_h": "5,62 To", "down_h": "1 Go", "tokens": 223, "tokens_h": "223", "tokens_label": "Crédit"},
|
||||
{"ok": True, "label": "yggreborn", "ratio_h": "7,63", "has_io": True, "up_h": "60,55 Go", "down_h": "7,94 Go", "tokens": None},
|
||||
],
|
||||
"ha_states": [
|
||||
{"label": "Salon", "display": "21°"},
|
||||
|
||||
Reference in New Issue
Block a user