uptime-status/uptimestatus/templates/status.html

33 lines
942 B
HTML
Raw Permalink Normal View History

2021-05-12 21:50:43 +02:00
<!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">
2021-05-15 14:51:45 +02:00
<center><a href="https://git.clerie.de/clerie/uptime-status">Uptime Status</a> by <a href="https://clerie.de">clerie</a></center>
2021-05-12 21:50:43 +02:00
</footer>
</body>
</html>