2020-06-26 00:26:36 +02:00
|
|
|
{%- for service in services %}
|
|
|
|
<div class="col-12 col-md-6 col-lg-4 p-3">
|
2020-12-05 02:25:37 +01:00
|
|
|
<div class="card service">
|
2020-11-28 01:55:09 +01:00
|
|
|
<a class="link" {% if service.beta !=true %} href="/{{locale}}/services/{{service.id}}" {% endif %}></a>
|
2020-07-03 19:38:24 +02:00
|
|
|
{% if service.beta == true %}
|
2020-11-28 01:55:09 +01:00
|
|
|
<div class="beta">TEST-PHASE</div>
|
2020-07-03 19:38:24 +02:00
|
|
|
{% endif %}
|
2020-06-26 00:26:36 +02:00
|
|
|
<div class="inner">
|
2021-06-14 17:41:33 +02:00
|
|
|
<i class="{{service.icon}} i-4x i-fw"></i>
|
2020-11-28 01:55:09 +01:00
|
|
|
<h2 class="mt-2 mb-1">{{service.name}}{% if service.url %} <a href="{{service.url}}" target="_blank"><i
|
2021-06-14 12:10:57 +02:00
|
|
|
class="i-external-link"></i></a>{% endif %}</h2>
|
2020-11-28 01:55:09 +01:00
|
|
|
{% if service.status %}
|
|
|
|
<div class="mb-2">
|
|
|
|
<a href="https://status.sp-codes.de" target="_blank">
|
2024-03-31 00:09:47 +01:00
|
|
|
<img alt="{{strings.state.title}}" src="https://status.sp-codes.de/api/badge/{{service.status}}/status?label={{strings.state.title}}&upLabel={{strings.state.operational}}&downLabel={{strings.state.outage}}&maintenanceLabel={{strings.state.maintenance}}">
|
2020-11-28 01:55:09 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-06-26 00:26:36 +02:00
|
|
|
<div>{{service.summary[locale]}}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{%- endfor %}
|