correctly calculate percentegates

This commit is contained in:
nora 2024-02-03 21:39:37 +01:00
parent 8b2ec568c3
commit 50d15bc4e7
3 changed files with 20 additions and 13 deletions

View file

@ -68,8 +68,7 @@
<h2>{{ check.website }}</h2>
<p>
Uptime: {{ check.ok_ratio }} ({{ check.count_ok }}/{{
check.total_requests }})
Uptime: {{ check.ok_ratio }}
</p>
{% if check.last_ok.is_some() %}
<p>