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