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

23 lines
679 B
Twig

{% 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">
{% for service in status %}
<li class="grid">
<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>
</li>
{% endfor %}
</ul>
{% else %}
<p>{{ "No status available" | trans }}</p>
{% endif %}
{% endblock %}