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

21 lines
553 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"] }}"></div>
<div class="col name">{{ service["name"] }}</div>
<div class="col status">{{ service["status"] }}</div>
</li>
{% endfor %}
</ul>
{% else %}
<p>{{ "No status available" | trans }}</p>
{% endif %}
{% endblock %}