uptime-status/uptimestatus/templates/status.html
2021-05-15 14:51:45 +02:00

33 lines
942 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><a href="https://git.clerie.de/clerie/uptime-status">Uptime Status</a> by <a href="https://clerie.de">clerie</a></center>
</footer>
</body>
</html>