From 30dcdb502bea0d91f73508a0b20c7cf3c1954953 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 15 Aug 2018 18:31:11 -0700 Subject: [PATCH] spaces - fix % on graph --- podstat-uptime.php | 2 +- showmap.php | 2 +- tabledata.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/podstat-uptime.php b/podstat-uptime.php index 1ec1e6c..049651b 100644 --- a/podstat-uptime.php +++ b/podstat-uptime.php @@ -17,7 +17,7 @@ $sql = " SELECT to_char(date_checked, 'yyyy MM') AS yymm, count(*) AS total_checks, - round(avg(online::INT),2)*100 AS uptime, + round(avg(online::INT),4)*100 AS uptime, round(avg(latency),2) * 1000 AS latency FROM checks WHERE domain = ? diff --git a/showmap.php b/showmap.php index ecfea84..f1f8dbc 100644 --- a/showmap.php +++ b/showmap.php @@ -82,7 +82,7 @@ try { } $feat .= sprintf( - '', + '', $services_list[$service]['img'], $services_list[$service]['title'] ); diff --git a/tabledata.php b/tabledata.php index c7c5560..f8716fb 100644 --- a/tabledata.php +++ b/tabledata.php @@ -113,7 +113,7 @@ foreach ($pods as $pod) { } printf( - '', + '', $services_list[$service]['img'], $services_list[$service]['title'] ); -- GitLab