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

21 lines
553 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">
<div class="col status bullet {{ service["status"] }}"></div>
<div class="col name">{{ service["name"] }}</div>
<div class="col status">{{ service["status"] }}</div>
2022-08-15 11:42:28 +02:00
</li>
{% endfor %}
</ul>
{% else %}
<p>{{ "No status available" | trans }}</p>
{% endif %}
{% endblock %}