2020-06-14 12:08:11 +02:00
|
|
|
{% load static %}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>/-\ infra status page</title>
|
2020-06-14 14:36:16 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2020-06-14 12:08:11 +02:00
|
|
|
<link rel="stylesheet" href="{% static "main.css" %}">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<h1>/-\ infrastructure</h1>
|
2020-06-14 14:45:00 +02:00
|
|
|
<h2>status page (internal services)</h2>
|
2020-06-14 12:08:11 +02:00
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
{% for service in services %}
|
|
|
|
<a class="service status-{{ service.get_status.value }}" href="{{ service.url }}">
|
|
|
|
<section class="service-content">
|
|
|
|
{% if service.image_or_favicon %}
|
2020-06-14 12:26:05 +02:00
|
|
|
<img src="{{ service.image_or_favicon }}" alt="image for {{ service }}"/>
|
2020-06-14 12:08:11 +02:00
|
|
|
{% endif %}
|
|
|
|
<div class="label">
|
|
|
|
<h3>{{ service.short_name }}</h3>
|
|
|
|
{% if service.description %}
|
|
|
|
<p class="description">{{ service.description }}</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section class="service-status">
|
|
|
|
STATUS: {{ service.get_status.value }}
|
|
|
|
</section>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</main>
|
2020-06-14 18:45:58 +02:00
|
|
|
<footer>
|
|
|
|
VPS STATS — {{ vps_stats }}
|
|
|
|
</footer>
|
2020-06-14 12:08:11 +02:00
|
|
|
</body>
|
|
|
|
</html>
|