BirdNET-stream/www/templates/services/status.html.twig

23 lines
679 B
Twig
Raw Normal View History

2022-08-15 11:42:28 +02:00
{% extends "base.html.twig" %}
{% block content %}
<h2>
{{ "Services status" | trans }}
</h2>
{% if status is defined and status | length > 0 %}
<ul id="statuses" class="container column">
2022-08-15 11:42:28 +02:00
{% for service in status %}
<li class="grid">
2022-08-16 05:21:53 +02:00
<div class="col status bullet {{ service.status.status }}"></div>
<div class="col name">{{ service.name }}</div>
<div class="col status">{{ service.status.status }}</div>
<div class="col status">{{ service.status.enabled }}</div>
<div class="col eta">{{ service.status.eta }}</div>
2022-08-15 11:42:28 +02:00
</li>
{% endfor %}
</ul>
{% else %}
<p>{{ "No status available" | trans }}</p>
{% endif %}
{% endblock %}