Rearrange module files
This commit is contained in:
32
uptimestatus/templates/status.html
Normal file
32
uptimestatus/templates/status.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!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>
|
Reference in New Issue
Block a user