uptime-status/uptimestatus/templates/status.html
2021-05-15 13:55:33 +02:00

33 lines
843 B
HTML

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Uptime Status</title>
<link rel="stylesheet" href="/static/status.css">
</head>
<body>
<header class="container">
<center><h1 class="display1">Uptime Status</h1></center>
</header>
<section class="container">
{% for metric in metrics %}
<div class="service">
<div class="service-name">
{{ metric.name }}
</div>
<div class="service-status">
<div class="status-bar">
{% for value in metric.i %}
<div class="status-cell {{ value.status}}"></div>
{% endfor %}
</div>
</div>
</div>
{% endfor %}
</section>
<footer class="container">
<center>Uptime Status</center>
</footer>
</body>
</html>