uptime-status/uptimestatus/templates/status.html

33 lines
843 B
HTML
Raw 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">
<center>Uptime Status</center>
</footer>
</body>
</html>