2020-10-15 19:05:07 +00:00
|
|
|
<!-- color of cases -->
|
2021-06-14 07:50:32 +00:00
|
|
|
{% if cases.new7_100k < 10 %}
|
2020-10-15 19:05:07 +00:00
|
|
|
{% set new7_class = "good" %}
|
|
|
|
{% elif cases.new7_100k > 50 %}
|
|
|
|
{% set new7_class = "bad" %}
|
2021-06-14 07:50:32 +00:00
|
|
|
{% elif cases.new7_100k > 10 %}
|
2020-10-19 05:40:47 +00:00
|
|
|
{% set new7_class = "warn" %}
|
2020-10-15 19:05:07 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2020-10-15 19:04:28 +00:00
|
|
|
<!-- color and arrow type of trends -->
|
|
|
|
{% if cases.trend == "even" %}
|
|
|
|
{% set trend_class = "none" %}
|
|
|
|
{% set trend = "→" %}
|
|
|
|
{% elif cases.trend == "good" %}
|
|
|
|
{% set trend_class = cases.trend %}
|
|
|
|
{% set trend = "↘" %}
|
|
|
|
{% elif cases.trend == "warn" %}
|
|
|
|
{% set trend_class = cases.trend %}
|
|
|
|
{% set trend = "↗" %}
|
|
|
|
{% elif cases.trend == "bad" %}
|
|
|
|
{% set trend_class = cases.trend %}
|
|
|
|
{% set trend = "↗" %}
|
|
|
|
{% endif %}
|
|
|
|
|
2020-07-27 15:26:51 +00:00
|
|
|
<div class="small covid19">
|
2021-06-10 06:05:02 +00:00
|
|
|
<span class="bright incidence">
|
|
|
|
Inzidenz: <span class={{new7_class}}>{{ cases.new7_100k }}</span>
|
2020-10-15 19:04:28 +00:00
|
|
|
</span><br/>
|
2020-07-27 15:27:07 +00:00
|
|
|
<span class="bright active">Aktiv: {{ cases.active }}</span><br/>
|
2020-07-26 16:40:10 +00:00
|
|
|
<span class="total">Gesamt: {{ cases.total }}</span><br/>
|
|
|
|
<span class="death">Tote: {{ cases.death }}</span><br/>
|
2020-07-27 14:54:53 +00:00
|
|
|
<div class="xsmall ts">
|
2020-07-26 16:40:10 +00:00
|
|
|
<span>7-Tage Trend, Stand {{ cases.ts }}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|