{% macro card(a) %}
{% if a.icon and a.icon.startswith('http') %}{% else %}{{ (a.name or '?')[0]|upper }}{% endif %} {{ a.name }}
{{ a.desc if a.desc else a.host }}
Åbn →
{% endmacro %} {% if error %}
{{ error }}
{% endif %} {% if groups %}
⌕
{% if mc_servers %}

⛏️ Minecraft-servere

{% for s in mc_servers %}
⛏️{{ s.name }}
{{ s.status }} {%- if s.online %} · {{ s.players }}/{{ s.max_players }} spillere{% endif %} {%- if s.version %} · {{ s.version }}{% endif %}
Åbn DiscoPanel →
{% endfor %}
{% endif %}
{% for g in groups %}

{{ g.name }}

{% for a in g.apps %}{{ card(a) }}{% endfor %}
{% endfor %}

Alle tjenester

{% for a in apps_sorted %}{{ card(a) }}{% endfor %}
{% elif not error %}

Ingen apps fundet for din konto endnu.

{% endif %}