From 483a5fa0ca370be47ba35691b8037a7fa289f4a5 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 4 Jan 2020 12:00:14 +0100 Subject: finished a first simple HTML version for mirror status --- mirrors.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'mirrors.php') diff --git a/mirrors.php b/mirrors.php index dc69e7a..096f89c 100644 --- a/mirrors.php +++ b/mirrors.php @@ -275,8 +275,10 @@ EOF; Mirror URL Protocol Country + Completion + Delay + Last Sync EOF; -//protocol url country country_code last_sync start delay duration_avg duration_stddev isos ipv4 ipv6 active recently_active completion_pct count score print << @@ -297,6 +299,15 @@ EOF; print " \n"; print " " . $row["country"] . "\n"; print " \n"; + print " \n"; + print " " . $row["completion_pct"] . "\n"; + print " \n"; + print " \n"; + print " " . $row["delay"] . "\n"; + print " \n"; + print " \n"; + print " " . $row["last_sync"] . "\n"; + print " \n"; print " \n"; if ($oddity == "odd") $oddity = "even"; @@ -313,6 +324,7 @@ EOF;
 EOF;
     }
+// for debugging
 //    print json_encode($content, JSON_PRETTY_PRINT);
     print <<
-- 
cgit v1.2.3