Commit 30dcdb50 authored by dmorley's avatar dmorley

spaces - fix % on graph

parent e0d96ff7
...@@ -17,7 +17,7 @@ $sql = " ...@@ -17,7 +17,7 @@ $sql = "
SELECT SELECT
to_char(date_checked, 'yyyy MM') AS yymm, to_char(date_checked, 'yyyy MM') AS yymm,
count(*) AS total_checks, 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 round(avg(latency),2) * 1000 AS latency
FROM checks FROM checks
WHERE domain = ? WHERE domain = ?
......
...@@ -82,7 +82,7 @@ try { ...@@ -82,7 +82,7 @@ try {
} }
$feat .= sprintf( $feat .= sprintf(
'<div class="smlogo"><img src="%1$s" data-toggle="tooltip" title="%2$s" alt="%2$s"></div>', '<div class="smlogo mr-sm-1"><img src="%1$s" data-toggle="tooltip" title="%2$s" alt="%2$s"></div>',
$services_list[$service]['img'], $services_list[$service]['img'],
$services_list[$service]['title'] $services_list[$service]['title']
); );
......
...@@ -113,7 +113,7 @@ foreach ($pods as $pod) { ...@@ -113,7 +113,7 @@ foreach ($pods as $pod) {
} }
printf( printf(
'<div class="smlogo"><img src="%1$s" data-toggle="tooltip" title="%2$s" alt="%2$s"></div>', '<div class="smlogo mr-sm-1"><img src="%1$s" data-toggle="tooltip" title="%2$s" alt="%2$s"></div>',
$services_list[$service]['img'], $services_list[$service]['img'],
$services_list[$service]['title'] $services_list[$service]['title']
); );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment